Class StageKey

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

public class StageKey extends Object implements Serializable, Cloneable

A reference to a unique stage identified in the format {restApiId}/{stage}.

See Also:
  • Constructor Details

    • StageKey

      public StageKey()
  • Method Details

    • setRestApiId

      public void setRestApiId(String restApiId)

      A list of Stage resources that are associated with the ApiKey resource.

      Parameters:
      restApiId - A list of Stage resources that are associated with the ApiKey resource.
    • getRestApiId

      public String getRestApiId()

      A list of Stage resources that are associated with the ApiKey resource.

      Returns:
      A list of Stage resources that are associated with the ApiKey resource.
    • withRestApiId

      public StageKey withRestApiId(String restApiId)

      A list of Stage resources that are associated with the ApiKey resource.

      Parameters:
      restApiId - A list of Stage resources that are associated with the ApiKey resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setStageName

      public void setStageName(String stageName)

      The stage name in the RestApi that the stage key references.

      Parameters:
      stageName - The stage name in the RestApi that the stage key references.
    • getStageName

      public String getStageName()

      The stage name in the RestApi that the stage key references.

      Returns:
      The stage name in the RestApi that the stage key references.
    • withStageName

      public StageKey withStageName(String stageName)

      The stage name in the RestApi that the stage key references.

      Parameters:
      stageName - The stage name in the RestApi that the stage key references.
      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 StageKey clone()
      Overrides:
      clone in class Object