@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StageKey extends Object implements Serializable, Cloneable, StructuredPojo
A reference to a unique stage identified in the format {restApiId}/{stage}
.
Constructor and Description |
---|
StageKey() |
Modifier and Type | Method and Description |
---|---|
StageKey |
clone() |
boolean |
equals(Object obj) |
String |
getRestApiId()
The string identifier of the associated RestApi.
|
String |
getStageName()
The stage name associated with the stage key.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setRestApiId(String restApiId)
The string identifier of the associated RestApi.
|
void |
setStageName(String stageName)
The stage name associated with the stage key.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
StageKey |
withRestApiId(String restApiId)
The string identifier of the associated RestApi.
|
StageKey |
withStageName(String stageName)
The stage name associated with the stage key.
|
public void setRestApiId(String restApiId)
The string identifier of the associated RestApi.
restApiId
- The string identifier of the associated RestApi.public String getRestApiId()
The string identifier of the associated RestApi.
public StageKey withRestApiId(String restApiId)
The string identifier of the associated RestApi.
restApiId
- The string identifier of the associated RestApi.public void setStageName(String stageName)
The stage name associated with the stage key.
stageName
- The stage name associated with the stage key.public String getStageName()
The stage name associated with the stage key.
public StageKey withStageName(String stageName)
The stage name associated with the stage key.
stageName
- The stage name associated with the stage key.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.