@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ApiMapping extends Object implements Serializable, Cloneable, StructuredPojo
Represents an API mapping.
Constructor and Description |
---|
ApiMapping() |
Modifier and Type | Method and Description |
---|---|
ApiMapping |
clone() |
boolean |
equals(Object obj) |
String |
getApiId()
The API identifier.
|
String |
getApiMappingId()
The API mapping identifier.
|
String |
getApiMappingKey()
The API mapping key.
|
String |
getStage()
The API stage.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setApiId(String apiId)
The API identifier.
|
void |
setApiMappingId(String apiMappingId)
The API mapping identifier.
|
void |
setApiMappingKey(String apiMappingKey)
The API mapping key.
|
void |
setStage(String stage)
The API stage.
|
String |
toString()
Returns a string representation of this object.
|
ApiMapping |
withApiId(String apiId)
The API identifier.
|
ApiMapping |
withApiMappingId(String apiMappingId)
The API mapping identifier.
|
ApiMapping |
withApiMappingKey(String apiMappingKey)
The API mapping key.
|
ApiMapping |
withStage(String stage)
The API stage.
|
public void setApiId(String apiId)
The API identifier.
apiId
- The API identifier.public String getApiId()
The API identifier.
public ApiMapping withApiId(String apiId)
The API identifier.
apiId
- The API identifier.public void setApiMappingId(String apiMappingId)
The API mapping identifier.
apiMappingId
- The API mapping identifier.public String getApiMappingId()
The API mapping identifier.
public ApiMapping withApiMappingId(String apiMappingId)
The API mapping identifier.
apiMappingId
- The API mapping identifier.public void setApiMappingKey(String apiMappingKey)
The API mapping key.
apiMappingKey
- The API mapping key.public String getApiMappingKey()
The API mapping key.
public ApiMapping withApiMappingKey(String apiMappingKey)
The API mapping key.
apiMappingKey
- The API mapping key.public void setStage(String stage)
The API stage.
stage
- The API stage.public String getStage()
The API stage.
public ApiMapping withStage(String stage)
The API stage.
stage
- The API stage.public String toString()
toString
in class Object
Object.toString()
public ApiMapping clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.