@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()
Creates a shallow clone of this object for all fields except the handler context.
|
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()
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)
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 is false . |
GetModelRequest |
withModelName(String modelName)
The name of the model as an identifier.
|
GetModelRequest |
withRestApiId(String restApiId)
|
addHandlerContext, 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, withSdkRequestTimeout
public 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 Object
Object.toString()
public GetModelRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.