public class CreateNatGatewayResult
extends java.lang.Object
implements java.io.Serializable
Contains the output of CreateNatGateway.
Constructor and Description |
---|
CreateNatGatewayResult() |
Modifier and Type | Method and Description |
---|---|
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.
|
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 java.lang.String getClientToken()
public void setClientToken(java.lang.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(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.