Interface UpdateModelResponse.Builder
-
- All Superinterfaces:
ApiGatewayResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<UpdateModelResponse.Builder,UpdateModelResponse>,SdkBuilder<UpdateModelResponse.Builder,UpdateModelResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- UpdateModelResponse
public static interface UpdateModelResponse.Builder extends ApiGatewayResponse.Builder, SdkPojo, CopyableBuilder<UpdateModelResponse.Builder,UpdateModelResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateModelResponse.BuildercontentType(String contentType)The content-type for the model.UpdateModelResponse.Builderdescription(String description)The description of the model.UpdateModelResponse.Builderid(String id)The identifier for the model resource.UpdateModelResponse.Buildername(String name)The name of the model.UpdateModelResponse.Builderschema(String schema)The schema for the model.-
Methods inherited from interface software.amazon.awssdk.services.apigateway.model.ApiGatewayResponse.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
-
id
UpdateModelResponse.Builder id(String id)
The identifier for the model resource.
- Parameters:
id- The identifier for the model resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
UpdateModelResponse.Builder name(String name)
The name of the model. Must be an alphanumeric string.
- Parameters:
name- The name of the model. Must be an alphanumeric string.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
UpdateModelResponse.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.
-
schema
UpdateModelResponse.Builder schema(String schema)
The schema for the model. For
application/jsonmodels, this should be JSON schema draft 4 model. Do not include "\*/" characters in the description of any properties because such "\*/" characters may be interpreted as the closing marker for comments in some languages, such as Java or JavaScript, causing the installation of your API's SDK generated by API Gateway to fail.- Parameters:
schema- The schema for the model. Forapplication/jsonmodels, this should be JSON schema draft 4 model. Do not include "\*/" characters in the description of any properties because such "\*/" characters may be interpreted as the closing marker for comments in some languages, such as Java or JavaScript, causing the installation of your API's SDK generated by API Gateway to fail.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contentType
UpdateModelResponse.Builder contentType(String contentType)
The content-type for the model.
- Parameters:
contentType- The content-type for the model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-