@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ApiStage extends Object implements Serializable, Cloneable, StructuredPojo
API stage name of the associated API stage in a usage plan.
| Constructor and Description |
|---|
ApiStage() |
| Modifier and Type | Method and Description |
|---|---|
ApiStage |
clone() |
boolean |
equals(Object obj) |
String |
getApiId()
API Id of the associated API stage in a usage plan.
|
String |
getStage()
API stage name of the associated API stage in a usage plan.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setApiId(String apiId)
API Id of the associated API stage in a usage plan.
|
void |
setStage(String stage)
API stage name of the associated API stage in a usage plan.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ApiStage |
withApiId(String apiId)
API Id of the associated API stage in a usage plan.
|
ApiStage |
withStage(String stage)
API stage name of the associated API stage in a usage plan.
|
public void setApiId(String apiId)
API Id of the associated API stage in a usage plan.
apiId - API Id of the associated API stage in a usage plan.public String getApiId()
API Id of the associated API stage in a usage plan.
public ApiStage withApiId(String apiId)
API Id of the associated API stage in a usage plan.
apiId - API Id of the associated API stage in a usage plan.public void setStage(String stage)
API stage name of the associated API stage in a usage plan.
stage - API stage name of the associated API stage in a usage plan.public String getStage()
API stage name of the associated API stage in a usage plan.
public ApiStage withStage(String stage)
API stage name of the associated API stage in a usage plan.
stage - API stage name of the associated API stage in a usage plan.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.