Interface CreateModelResponse.Builder
- All Superinterfaces:
ApiGatewayV2Response.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<CreateModelResponse.Builder,,CreateModelResponse> SdkBuilder<CreateModelResponse.Builder,,CreateModelResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateModelResponse
public static interface CreateModelResponse.Builder
extends ApiGatewayV2Response.Builder, SdkPojo, CopyableBuilder<CreateModelResponse.Builder,CreateModelResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncontentType(String contentType) The content-type for the model, for example, "application/json".description(String description) The description of the model.The model identifier.The name of the model.The schema for the model.Methods inherited from interface software.amazon.awssdk.services.apigatewayv2.model.ApiGatewayV2Response.Builder
build, responseMetadata, responseMetadataMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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.
-
modelId
The model identifier.
- Parameters:
modelId- The model identifier.- 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.
-