public static interface CreateModelRequest.Builder extends ApiGatewayRequest.Builder, SdkPojo, CopyableBuilder<CreateModelRequest.Builder,CreateModelRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateModelRequest.Builder |
contentType(String contentType)
[Required] The content-type for the model.
|
CreateModelRequest.Builder |
description(String description)
The description of the model.
|
CreateModelRequest.Builder |
name(String name)
[Required] The name of the model.
|
CreateModelRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateModelRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateModelRequest.Builder |
restApiId(String restApiId)
|
CreateModelRequest.Builder |
schema(String schema)
The schema for the model.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateModelRequest.Builder restApiId(String restApiId)
CreateModelRequest.Builder name(String name)
[Required] The name of the model. Must be alphanumeric.
name - [Required] The name of the model. Must be alphanumeric.CreateModelRequest.Builder description(String description)
The description of the model.
description - The description of the model.CreateModelRequest.Builder schema(String schema)
The schema for the model. For application/json models, this should be JSON schema draft 4 model.
schema - The schema for the model. For application/json models, this should be JSON schema draft 4
model.CreateModelRequest.Builder contentType(String contentType)
[Required] The content-type for the model.
contentType - [Required] The content-type for the model.CreateModelRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateModelRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2021. All rights reserved.