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()
Resolves all external model references and returns a flattened model
schema.
|
String |
getModelName()
The name of the model as an identifier.
|
String |
getRestApiId()
|
int |
hashCode() |
Boolean |
isFlatten()
Resolves all external model references and returns a flattened model
schema.
|
void |
setFlatten(Boolean flatten)
Resolves all external model references and returns a flattened model
schema.
|
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)
Resolves all external model references and returns a flattened model
schema.
|
GetModelRequest |
withModelName(String modelName)
The name of the model as an identifier.
|
GetModelRequest |
withRestApiId(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
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)
Resolves all external model references and returns a flattened model schema.
flatten
- Resolves all external model references and returns a flattened
model schema.public Boolean getFlatten()
Resolves all external model references and returns a flattened model schema.
public GetModelRequest withFlatten(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 Boolean isFlatten()
Resolves all external model references and returns a flattened model schema.
public String toString()
toString
in class Object
Object.toString()
public GetModelRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2016. All rights reserved.