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:
  • Constructor Details

    • CreateNatGatewayResult

      public CreateNatGatewayResult()
  • Method Details

    • 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public CreateNatGatewayResult clone()
      Overrides:
      clone in class Object