Interface CreateModelRequest.Builder
-
- All Superinterfaces:
ApiGatewayV2Request.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<CreateModelRequest.Builder,CreateModelRequest>,SdkBuilder<CreateModelRequest.Builder,CreateModelRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateModelRequest
public static interface CreateModelRequest.Builder extends ApiGatewayV2Request.Builder, SdkPojo, CopyableBuilder<CreateModelRequest.Builder,CreateModelRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateModelRequest.BuilderapiId(String apiId)The API identifier.CreateModelRequest.BuildercontentType(String contentType)The content-type for the model, for example, "application/json".CreateModelRequest.Builderdescription(String description)The description of the model.CreateModelRequest.Buildername(String name)The name of the model.CreateModelRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateModelRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateModelRequest.Builderschema(String schema)The schema for the model.-
Methods inherited from interface software.amazon.awssdk.services.apigatewayv2.model.ApiGatewayV2Request.Builder
build
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
apiId
CreateModelRequest.Builder apiId(String 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
CreateModelRequest.Builder contentType(String 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
CreateModelRequest.Builder description(String 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
CreateModelRequest.Builder name(String 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
CreateModelRequest.Builder schema(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateModelRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-