Package com.amazonaws.services.ec2.model
Class CreateNatGatewayResult
- java.lang.Object
-
- com.amazonaws.services.ec2.model.CreateNatGatewayResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class CreateNatGatewayResult extends Object implements Serializable, Cloneable
Contains the output of CreateNatGateway.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CreateNatGatewayResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
setNatGateway
public void setNatGateway(NatGateway natGateway)
Information about the NAT gateway.
- Parameters:
natGateway
- Information about the NAT gateway.
-
getNatGateway
public NatGateway getNatGateway()
Information about the NAT gateway.
- Returns:
- Information about the NAT gateway.
-
withNatGateway
public CreateNatGatewayResult withNatGateway(NatGateway natGateway)
Information about the NAT gateway.
- Parameters:
natGateway
- Information about the NAT gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setClientToken
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.
- Parameters:
clientToken
- Unique, case-sensitive identifier to ensure the idempotency of the request. Only returned if a client token was provided in the request.
-
getClientToken
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.
- Returns:
- Unique, case-sensitive identifier to ensure the idempotency of the request. Only returned if a client token was provided in the request.
-
withClientToken
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.
- Parameters:
clientToken
- Unique, case-sensitive identifier to ensure the idempotency of the request. Only returned if a client token was provided in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CreateNatGatewayResult clone()
-
-