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 GetModelRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)BooleangetFlatten()Resolves all external model references and returns a flattened model schema.StringgetModelName()The name of the model as an identifier.StringgetRestApiId()inthashCode()BooleanisFlatten()Resolves all external model references and returns a flattened model schema.voidsetFlatten(Boolean flatten)Resolves all external model references and returns a flattened model schema.voidsetModelName(String modelName)The name of the model as an identifier.voidsetRestApiId(String restApiId)StringtoString()Returns a string representation of this object; useful for testing and debugging.GetModelRequestwithFlatten(Boolean flatten)Resolves all external model references and returns a flattened model schema.GetModelRequestwithModelName(String modelName)The name of the model as an identifier.GetModelRequestwithRestApiId(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public GetModelRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-