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:
  • Constructor Details

    • FlushStageCacheRequest

      public FlushStageCacheRequest()
  • Method Details

    • 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • 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 class AmazonWebServiceRequest
      See Also: