Class GetModelRequest
java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.apigateway.model.GetModelRequest
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
Request to list information about a model in an existing RestApi resource.
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a shallow clone of this request.booleanResolves all external model references and returns a flattened model schema.The name of the model as an identifier.inthashCode()Resolves all external model references and returns a flattened model schema.voidsetFlatten(Boolean flatten) Resolves all external model references and returns a flattened model schema.voidsetModelName(String modelName) The name of the model as an identifier.voidsetRestApiId(String restApiId) toString()Returns a string representation of this object; useful for testing and debugging.withFlatten(Boolean flatten) Resolves all external model references and returns a flattened model schema.withModelName(String modelName) The name of the model as an identifier.withRestApiId(String restApiId) Methods inherited from class com.amazonaws.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
-
GetModelRequest
public GetModelRequest()
-
-
Method Details
-
setRestApiId
-
getRestApiId
-
withRestApiId
-
setModelName
The name of the model as an identifier.
- Parameters:
modelName- The name of the model as an identifier.
-
getModelName
The name of the model as an identifier.
- Returns:
- The name of the model as an identifier.
-
withModelName
The name of the model as an identifier.
- Parameters:
modelName- The name of the model as an identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setFlatten
Resolves all external model references and returns a flattened model schema.
- Parameters:
flatten- Resolves all external model references and returns a flattened model schema.
-
getFlatten
Resolves all external model references and returns a flattened model schema.
- Returns:
- Resolves all external model references and returns a flattened model schema.
-
withFlatten
Resolves all external model references and returns a flattened model schema.
- Parameters:
flatten- Resolves all external model references and returns a flattened model schema.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isFlatten
Resolves all external model references and returns a flattened model schema.
- Returns:
- Resolves all external model references and returns a flattened model schema.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int 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:
-