Interface GetModelResponse.Builder
-
- All Superinterfaces:
ApiGatewayV2Response.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<GetModelResponse.Builder,GetModelResponse>,SdkBuilder<GetModelResponse.Builder,GetModelResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetModelResponse
public static interface GetModelResponse.Builder extends ApiGatewayV2Response.Builder, SdkPojo, CopyableBuilder<GetModelResponse.Builder,GetModelResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetModelResponse.BuildercontentType(String contentType)The content-type for the model, for example, "application/json".GetModelResponse.Builderdescription(String description)The description of the model.GetModelResponse.BuildermodelId(String modelId)The model identifier.GetModelResponse.Buildername(String name)The name of the model.GetModelResponse.Builderschema(String schema)The schema for the model.-
Methods inherited from interface software.amazon.awssdk.services.apigatewayv2.model.ApiGatewayV2Response.Builder
build, responseMetadata, responseMetadata
-
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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
contentType
GetModelResponse.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
GetModelResponse.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.
-
modelId
GetModelResponse.Builder modelId(String 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
GetModelResponse.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
GetModelResponse.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.
-
-