public class CreateNatGatewayResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains the output of CreateNatGateway.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
clientToken
Unique, case-sensitive identifier to ensure the idempotency of the
request.
|
private NatGateway |
natGateway
Information about the NAT gateway.
|
Constructor and Description |
---|
CreateNatGatewayResult() |
Modifier and Type | Method and Description |
---|---|
CreateNatGatewayResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getClientToken()
Unique, case-sensitive identifier to ensure the idempotency of the
request.
|
NatGateway |
getNatGateway()
Information about the NAT gateway.
|
int |
hashCode() |
void |
setClientToken(java.lang.String clientToken)
Unique, case-sensitive identifier to ensure the idempotency of the
request.
|
void |
setNatGateway(NatGateway natGateway)
Information about the NAT gateway.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateNatGatewayResult |
withClientToken(java.lang.String clientToken)
Unique, case-sensitive identifier to ensure the idempotency of the
request.
|
CreateNatGatewayResult |
withNatGateway(NatGateway natGateway)
Information about the NAT gateway.
|
private NatGateway natGateway
Information about the NAT gateway.
private java.lang.String 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 void setClientToken(java.lang.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 java.lang.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(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public CreateNatGatewayResult clone()
clone
in class java.lang.Object