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 FlushStageCacheRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getRestApiId()
The API identifier of the stage to flush its cache.String
getStageName()
The name of the stage to flush its cache.int
hashCode()
void
setRestApiId(String restApiId)
The API identifier of the stage to flush its cache.void
setStageName(String stageName)
The name of the stage to flush its cache.String
toString()
Returns a string representation of this object; useful for testing and debugging.FlushStageCacheRequest
withRestApiId(String restApiId)
The API identifier of the stage to flush its cache.FlushStageCacheRequest
withStageName(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public FlushStageCacheRequest 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()
-
-