Class DeleteStageRequest

java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.apigateway.model.DeleteStageRequest
All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable

public class DeleteStageRequest extends AmazonWebServiceRequest implements Serializable, Cloneable

Requests Amazon API Gateway to delete a Stage resource.

See Also:
  • Constructor Details

    • DeleteStageRequest

      public DeleteStageRequest()
  • Method Details

    • setRestApiId

      public void setRestApiId(String restApiId)

      The identifier of the RestApi resource for the Stage resource to delete.

      Parameters:
      restApiId - The identifier of the RestApi resource for the Stage resource to delete.
    • getRestApiId

      public String getRestApiId()

      The identifier of the RestApi resource for the Stage resource to delete.

      Returns:
      The identifier of the RestApi resource for the Stage resource to delete.
    • withRestApiId

      public DeleteStageRequest withRestApiId(String restApiId)

      The identifier of the RestApi resource for the Stage resource to delete.

      Parameters:
      restApiId - The identifier of the RestApi resource for the Stage resource to delete.
      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 resource to delete.

      Parameters:
      stageName - The name of the Stage resource to delete.
    • getStageName

      public String getStageName()

      The name of the Stage resource to delete.

      Returns:
      The name of the Stage resource to delete.
    • withStageName

      public DeleteStageRequest withStageName(String stageName)

      The name of the Stage resource to delete.

      Parameters:
      stageName - The name of the Stage resource to delete.
      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 DeleteStageRequest 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: