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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StageKey()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StageKeyclone()booleanequals(Object obj)StringgetRestApiId()StringgetStageName()The stage name in the RestApi that the stage key references.inthashCode()voidsetRestApiId(String restApiId)voidsetStageName(String stageName)The stage name in the RestApi that the stage key references.StringtoString()Returns a string representation of this object; useful for testing and debugging.StageKeywithRestApiId(String restApiId)StageKeywithStageName(String stageName)The stage name in the RestApi that the stage key references.
-
-
-
Method Detail
-
setRestApiId
public void setRestApiId(String restApiId)
-
getRestApiId
public String getRestApiId()
-
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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
-