Class FlushStageCacheRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.apigateway.model.FlushStageCacheRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class FlushStageCacheRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Requests Amazon API Gateway to flush a stage's cache.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description FlushStageCacheRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FlushStageCacheRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetRestApiId()The API identifier of the stage to flush its cache.StringgetStageName()The name of the stage to flush its cache.inthashCode()voidsetRestApiId(String restApiId)The API identifier of the stage to flush its cache.voidsetStageName(String stageName)The name of the stage to flush its cache.StringtoString()Returns a string representation of this object; useful for testing and debugging.FlushStageCacheRequestwithRestApiId(String restApiId)The API identifier of the stage to flush its cache.FlushStageCacheRequestwithStageName(String stageName)The name of the stage to flush its cache.-
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)
The API identifier of the stage to flush its cache.
- Parameters:
restApiId- The API identifier of the stage to flush its cache.
-
getRestApiId
public String getRestApiId()
The API identifier of the stage to flush its cache.
- Returns:
- The API identifier of the stage to flush its cache.
-
withRestApiId
public FlushStageCacheRequest withRestApiId(String restApiId)
The API identifier of the stage to flush its cache.
- Parameters:
restApiId- The API identifier of the stage to flush its cache.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStageName
public void setStageName(String stageName)
The name of the stage to flush its cache.
- Parameters:
stageName- The name of the stage to flush its cache.
-
getStageName
public String getStageName()
The name of the stage to flush its cache.
- Returns:
- The name of the stage to flush its cache.
-
withStageName
public FlushStageCacheRequest withStageName(String stageName)
The name of the stage to flush its cache.
- Parameters:
stageName- The name of the stage to flush its cache.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 FlushStageCacheRequest 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()
-
-