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 StageKey
clone()
boolean
equals(Object obj)
String
getRestApiId()
String
getStageName()
The stage name in the RestApi that the stage key references.int
hashCode()
void
setRestApiId(String restApiId)
void
setStageName(String stageName)
The stage name in the RestApi that the stage key references.String
toString()
Returns a string representation of this object; useful for testing and debugging.StageKey
withRestApiId(String restApiId)
StageKey
withStageName(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
-