Class CreateModelRequest
java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.apigateway.model.CreateModelRequest
- All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable
- See Also:
-
Field Summary
Fields inherited from class AmazonWebServiceRequest
NOOP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a shallow clone of this request.booleanThe content-type for the model.The description of the model.getName()The name of the model.The schema for the model.inthashCode()voidsetContentType(String contentType) The content-type for the model.voidsetDescription(String description) The description of the model.voidThe name of the model.voidsetRestApiId(String restApiId) voidThe schema for the model.toString()Returns a string representation of this object; useful for testing and debugging.withContentType(String contentType) The content-type for the model.withDescription(String description) The description of the model.The name of the model.withRestApiId(String restApiId) withSchema(String schema) The schema for the model.Methods inherited from class AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
Constructor Details
-
CreateModelRequest
public CreateModelRequest()
-
-
Method Details
-
setRestApiId
-
getRestApiId
-
withRestApiId
-
setName
-
getName
-
withName
The name of the model.
- Parameters:
name- The name of the model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDescription
The description of the model.
- Parameters:
description- The description of the model.
-
getDescription
-
withDescription
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.
-
setSchema
The schema for the model. For
application/jsonmodels, this should be JSON-schema draft v4 model.- Parameters:
schema- The schema for the model. Forapplication/jsonmodels, this should be JSON-schema draft v4 model.
-
getSchema
The schema for the model. For
application/jsonmodels, this should be JSON-schema draft v4 model.- Returns:
- The schema for the model. For
application/jsonmodels, this should be JSON-schema draft v4 model.
-
withSchema
The schema for the model. For
application/jsonmodels, this should be JSON-schema draft v4 model.- Parameters:
schema- The schema for the model. Forapplication/jsonmodels, this should be JSON-schema draft v4 model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setContentType
The content-type for the model.
- Parameters:
contentType- The content-type for the model.
-
getContentType
The content-type for the model.
- Returns:
- The content-type for the model.
-
withContentType
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.
-
toString
-
equals
-
hashCode
-
clone
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
-