Class GetModelRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.apigateway.model.GetModelRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class GetModelRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Request to list information about a model in an existing RestApi resource.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description GetModelRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetModelRequest
clone()
Creates a shallow clone of this request.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)
-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
-
-
-
Method Detail
-
setRestApiId
public void setRestApiId(String restApiId)
-
getRestApiId
public String getRestApiId()
-
withRestApiId
public GetModelRequest withRestApiId(String restApiId)
-
setModelName
public void setModelName(String modelName)
The name of the model as an identifier.
- Parameters:
modelName
- The name of the model as an identifier.
-
getModelName
public String getModelName()
The name of the model as an identifier.
- Returns:
- The name of the model as an identifier.
-
withModelName
public GetModelRequest withModelName(String modelName)
The name of the model as an identifier.
- Parameters:
modelName
- The name of the model as an identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setFlatten
public void setFlatten(Boolean flatten)
Resolves all external model references and returns a flattened model schema.
- Parameters:
flatten
- Resolves all external model references and returns a flattened model schema.
-
getFlatten
public Boolean getFlatten()
Resolves all external model references and returns a flattened model schema.
- Returns:
- Resolves all external model references and returns a flattened model schema.
-
withFlatten
public GetModelRequest withFlatten(Boolean flatten)
Resolves all external model references and returns a flattened model schema.
- Parameters:
flatten
- Resolves all external model references and returns a flattened model schema.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isFlatten
public Boolean isFlatten()
Resolves all external model references and returns a flattened model schema.
- Returns:
- Resolves all external model references and returns a flattened model schema.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public GetModelRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-