@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateNatGatewayResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Contains the output of CreateNatGateway.
Constructor and Description |
---|
CreateNatGatewayResult() |
Modifier and Type | Method and Description |
---|---|
CreateNatGatewayResult |
clone() |
boolean |
equals(Object obj) |
String |
getClientToken()
Unique, case-sensitive identifier to ensure the idempotency of the request.
|
NatGateway |
getNatGateway()
Information about the NAT gateway.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
Unique, case-sensitive identifier to ensure the idempotency of the request.
|
void |
setNatGateway(NatGateway natGateway)
Information about the NAT gateway.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateNatGatewayResult |
withClientToken(String clientToken)
Unique, case-sensitive identifier to ensure the idempotency of the request.
|
CreateNatGatewayResult |
withNatGateway(NatGateway natGateway)
Information about the NAT gateway.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setClientToken(String clientToken)
Unique, case-sensitive identifier to ensure the idempotency of the request. Only returned if a client token was provided in the request.
clientToken
- Unique, case-sensitive identifier to ensure the idempotency of the request. Only returned if a client
token was provided in the request.public String getClientToken()
Unique, case-sensitive identifier to ensure the idempotency of the request. Only returned if a client token was provided in the request.
public CreateNatGatewayResult withClientToken(String clientToken)
Unique, case-sensitive identifier to ensure the idempotency of the request. Only returned if a client token was provided in the request.
clientToken
- Unique, case-sensitive identifier to ensure the idempotency of the request. Only returned if a client
token was provided in the request.public void setNatGateway(NatGateway natGateway)
Information about the NAT gateway.
natGateway
- Information about the NAT gateway.public NatGateway getNatGateway()
Information about the NAT gateway.
public CreateNatGatewayResult withNatGateway(NatGateway natGateway)
Information about the NAT gateway.
natGateway
- Information about the NAT gateway.public String toString()
toString
in class Object
Object.toString()
public CreateNatGatewayResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.