public class CreateNatGatewayResult extends Object implements Serializable, Cloneable
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.
|
public NatGateway getNatGateway()
public void setNatGateway(NatGateway natGateway)
natGateway
- Information about the NAT gateway.public CreateNatGatewayResult withNatGateway(NatGateway natGateway)
Returns a reference to this object so that method calls can be chained together.
natGateway
- Information about the NAT gateway.public String getClientToken()
public void setClientToken(String clientToken)
clientToken
- 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)
Returns a reference to this object so that method calls can be chained together.
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 toString()
toString
in class Object
Object.toString()
public CreateNatGatewayResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.