@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()
The RestApi identifier under which the Model exists.
|
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)
The RestApi identifier under which the Model exists.
|
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)
The name of the model as an identifier.
|
GetModelRequest |
withRestApiId(String restApiId)
The RestApi identifier under which the Model exists.
|
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)
The RestApi identifier under which the Model exists.
restApiId
- The RestApi identifier under which the Model exists.public String getRestApiId()
The RestApi identifier under which the Model exists.
public GetModelRequest withRestApiId(String restApiId)
The RestApi identifier under which the Model exists.
restApiId
- The RestApi identifier under which the Model exists.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()