public class GetModelRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Request to list information about a model in an existing RestApi resource.
Modifier and Type | Field and Description |
---|---|
private java.lang.Boolean |
flatten
Resolves all external model references and returns a flattened model
schema.
|
private java.lang.String |
modelName
The name of the model as an identifier.
|
private java.lang.String |
restApiId
|
NOOP
Constructor and Description |
---|
GetModelRequest() |
Modifier and Type | Method and Description |
---|---|
GetModelRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.Boolean |
getFlatten()
Resolves all external model references and returns a flattened model
schema.
|
java.lang.String |
getModelName()
The name of the model as an identifier.
|
java.lang.String |
getRestApiId()
|
int |
hashCode() |
java.lang.Boolean |
isFlatten()
Resolves all external model references and returns a flattened model
schema.
|
void |
setFlatten(java.lang.Boolean flatten)
Resolves all external model references and returns a flattened model
schema.
|
void |
setModelName(java.lang.String modelName)
The name of the model as an identifier.
|
void |
setRestApiId(java.lang.String restApiId)
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetModelRequest |
withFlatten(java.lang.Boolean flatten)
Resolves all external model references and returns a flattened model
schema.
|
GetModelRequest |
withModelName(java.lang.String modelName)
The name of the model as an identifier.
|
GetModelRequest |
withRestApiId(java.lang.String restApiId)
|
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
private java.lang.String restApiId
private java.lang.String modelName
The name of the model as an identifier.
private java.lang.Boolean flatten
Resolves all external model references and returns a flattened model schema.
public void setRestApiId(java.lang.String restApiId)
public java.lang.String getRestApiId()
public GetModelRequest withRestApiId(java.lang.String restApiId)
public void setModelName(java.lang.String modelName)
The name of the model as an identifier.
modelName
- The name of the model as an identifier.public java.lang.String getModelName()
The name of the model as an identifier.
public GetModelRequest withModelName(java.lang.String modelName)
The name of the model as an identifier.
modelName
- The name of the model as an identifier.public void setFlatten(java.lang.Boolean flatten)
Resolves all external model references and returns a flattened model schema.
flatten
- Resolves all external model references and returns a flattened
model schema.public java.lang.Boolean getFlatten()
Resolves all external model references and returns a flattened model schema.
public GetModelRequest withFlatten(java.lang.Boolean flatten)
Resolves all external model references and returns a flattened model schema.
flatten
- Resolves all external model references and returns a flattened
model schema.public java.lang.Boolean isFlatten()
Resolves all external model references and returns a flattened model schema.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public GetModelRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()