@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 is false. | 
String | 
getModelName()
 [Required] 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 is false. | 
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. | 
void | 
setModelName(String modelName)
 [Required] The name of the model as an identifier. 
 | 
void | 
setRestApiId(String restApiId)
 | 
String | 
toString()
Returns a string representation of this object. 
 | 
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. | 
GetModelRequest | 
withModelName(String modelName)
 [Required] 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)
[Required] The name of the model as an identifier.
modelName - [Required] The name of the model as an identifier.public String getModelName()
[Required] The name of the model as an identifier.
public GetModelRequest withModelName(String modelName)
[Required] The name of the model as an identifier.
modelName - [Required] 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 © 2020. All rights reserved.