public class StageKey
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
A reference to a unique stage identified in the format
{restApiId}/{stage}
.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
restApiId
|
private java.lang.String |
stageName
The stage name in the RestApi that the stage key references.
|
Constructor and Description |
---|
StageKey() |
Modifier and Type | Method and Description |
---|---|
StageKey |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getRestApiId()
|
java.lang.String |
getStageName()
The stage name in the RestApi that the stage key references.
|
int |
hashCode() |
void |
setRestApiId(java.lang.String restApiId)
|
void |
setStageName(java.lang.String stageName)
The stage name in the RestApi that the stage key references.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
StageKey |
withRestApiId(java.lang.String restApiId)
|
StageKey |
withStageName(java.lang.String stageName)
The stage name in the RestApi that the stage key references.
|
private java.lang.String restApiId
private java.lang.String stageName
The stage name in the RestApi that the stage key references.
public void setRestApiId(java.lang.String restApiId)
public java.lang.String getRestApiId()
public StageKey withRestApiId(java.lang.String restApiId)
public void setStageName(java.lang.String stageName)
The stage name in the RestApi that the stage key references.
stageName
- The stage name in the RestApi that the stage key
references.public java.lang.String getStageName()
The stage name in the RestApi that the stage key references.
public StageKey withStageName(java.lang.String stageName)
The stage name in the RestApi that the stage key references.
stageName
- The stage name in the RestApi that the stage key
references.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public StageKey clone()
clone
in class java.lang.Object