Interface CreateModelRequest.Builder
- All Superinterfaces:
ApiGatewayV2Request.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<CreateModelRequest.Builder,,CreateModelRequest> SdkBuilder<CreateModelRequest.Builder,,CreateModelRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateModelRequest
@Mutable
@NotThreadSafe
public static interface CreateModelRequest.Builder
extends ApiGatewayV2Request.Builder, SdkPojo, CopyableBuilder<CreateModelRequest.Builder,CreateModelRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe API identifier.contentType(String contentType) The content-type for the model, for example, "application/json".description(String description) The description of the model.The name of the model.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The schema for the model.Methods inherited from interface software.amazon.awssdk.services.apigatewayv2.model.ApiGatewayV2Request.Builder
buildMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
apiId
The API identifier.
- Parameters:
apiId- The API identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contentType
The content-type for the model, for example, "application/json".
- Parameters:
contentType- The content-type for the model, for example, "application/json".- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the model.
- Parameters:
description- The description of the model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the model. Must be alphanumeric.
- Parameters:
name- The name of the model. Must be alphanumeric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schema
The schema for the model. For application/json models, this should be JSON schema draft 4 model.
- Parameters:
schema- The schema for the model. For application/json models, this should be JSON schema draft 4 model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateModelRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateModelRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-