@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetModelRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Request to list information about a model in an existing RestApi resource.
NOOP| Constructor and Description | 
|---|
| GetModelRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| GetModelRequest | clone() | 
| boolean | equals(Object obj) | 
| Boolean | getFlatten()
 A query parameter of a Boolean value to resolve ( true) all external model references and returns a
 flattened model schema or not (false) The default isfalse. | 
| String | getModelName()
 The name of the model as an identifier. | 
| String | getRestApiId() | 
| int | hashCode() | 
| Boolean | isFlatten()
 A query parameter of a Boolean value to resolve ( true) all external model references and returns a
 flattened model schema or not (false) The default isfalse. | 
| void | setFlatten(Boolean flatten)
 A query parameter of a Boolean value to resolve ( true) all external model references and returns a
 flattened model schema or not (false) The default isfalse. | 
| void | setModelName(String modelName)
 The name of the model as an identifier. | 
| void | setRestApiId(String restApiId) | 
| String | toString()Returns a string representation of this object; useful for testing and debugging. | 
| GetModelRequest | withFlatten(Boolean flatten)
 A query parameter of a Boolean value to resolve ( true) all external model references and returns a
 flattened model schema or not (false) The default isfalse. | 
| GetModelRequest | withModelName(String modelName)
 The name of the model as an identifier. | 
| GetModelRequest | withRestApiId(String restApiId) | 
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setRestApiId(String restApiId)
public String getRestApiId()
public GetModelRequest withRestApiId(String restApiId)
public void setModelName(String modelName)
The name of the model as an identifier.
modelName - The name of the model as an identifier.public String getModelName()
The name of the model as an identifier.
public GetModelRequest withModelName(String modelName)
The name of the model as an identifier.
modelName - The name of the model as an identifier.public void setFlatten(Boolean flatten)
 A query parameter of a Boolean value to resolve (true) all external model references and returns a
 flattened model schema or not (false) The default is false.
 
flatten - A query parameter of a Boolean value to resolve (true) all external model references and
        returns a flattened model schema or not (false) The default is false.public Boolean getFlatten()
 A query parameter of a Boolean value to resolve (true) all external model references and returns a
 flattened model schema or not (false) The default is false.
 
true) all external model references and
         returns a flattened model schema or not (false) The default is false.public GetModelRequest withFlatten(Boolean flatten)
 A query parameter of a Boolean value to resolve (true) all external model references and returns a
 flattened model schema or not (false) The default is false.
 
flatten - A query parameter of a Boolean value to resolve (true) all external model references and
        returns a flattened model schema or not (false) The default is false.public Boolean isFlatten()
 A query parameter of a Boolean value to resolve (true) all external model references and returns a
 flattened model schema or not (false) The default is false.
 
true) all external model references and
         returns a flattened model schema or not (false) The default is false.public String toString()
toString in class ObjectObject.toString()public GetModelRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2017. All rights reserved.