public class FlushStageCacheRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Requests Amazon API Gateway to flush a stage's cache.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
restApiId
The API identifier of the stage to flush its cache.
|
private java.lang.String |
stageName
The name of the stage to flush its cache.
|
NOOP
Constructor and Description |
---|
FlushStageCacheRequest() |
Modifier and Type | Method and Description |
---|---|
FlushStageCacheRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getRestApiId()
The API identifier of the stage to flush its cache.
|
java.lang.String |
getStageName()
The name of the stage to flush its cache.
|
int |
hashCode() |
void |
setRestApiId(java.lang.String restApiId)
The API identifier of the stage to flush its cache.
|
void |
setStageName(java.lang.String stageName)
The name of the stage to flush its cache.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
FlushStageCacheRequest |
withRestApiId(java.lang.String restApiId)
The API identifier of the stage to flush its cache.
|
FlushStageCacheRequest |
withStageName(java.lang.String stageName)
The name of the stage to flush its cache.
|
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
private java.lang.String restApiId
The API identifier of the stage to flush its cache.
private java.lang.String stageName
The name of the stage to flush its cache.
public void setRestApiId(java.lang.String restApiId)
The API identifier of the stage to flush its cache.
restApiId
- The API identifier of the stage to flush its cache.public java.lang.String getRestApiId()
The API identifier of the stage to flush its cache.
public FlushStageCacheRequest withRestApiId(java.lang.String restApiId)
The API identifier of the stage to flush its cache.
restApiId
- The API identifier of the stage to flush its cache.public void setStageName(java.lang.String stageName)
The name of the stage to flush its cache.
stageName
- The name of the stage to flush its cache.public java.lang.String getStageName()
The name of the stage to flush its cache.
public FlushStageCacheRequest withStageName(java.lang.String stageName)
The name of the stage to flush its cache.
stageName
- The name of the stage to flush its cache.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public FlushStageCacheRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()