Class CreateNatGatewayRequest

    • Constructor Detail

      • CreateNatGatewayRequest

        public CreateNatGatewayRequest()
    • Method Detail

      • setSubnetId

        public void setSubnetId​(String subnetId)

        The subnet in which to create the NAT gateway.

        Parameters:
        subnetId - The subnet in which to create the NAT gateway.
      • getSubnetId

        public String getSubnetId()

        The subnet in which to create the NAT gateway.

        Returns:
        The subnet in which to create the NAT gateway.
      • withSubnetId

        public CreateNatGatewayRequest withSubnetId​(String subnetId)

        The subnet in which to create the NAT gateway.

        Parameters:
        subnetId - The subnet in which to create the NAT gateway.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setAllocationId

        public void setAllocationId​(String allocationId)

        The allocation ID of an Elastic IP address to associate with the NAT gateway. If the Elastic IP address is associated with another resource, you must first disassociate it.

        Parameters:
        allocationId - The allocation ID of an Elastic IP address to associate with the NAT gateway. If the Elastic IP address is associated with another resource, you must first disassociate it.
      • getAllocationId

        public String getAllocationId()

        The allocation ID of an Elastic IP address to associate with the NAT gateway. If the Elastic IP address is associated with another resource, you must first disassociate it.

        Returns:
        The allocation ID of an Elastic IP address to associate with the NAT gateway. If the Elastic IP address is associated with another resource, you must first disassociate it.
      • withAllocationId

        public CreateNatGatewayRequest withAllocationId​(String allocationId)

        The allocation ID of an Elastic IP address to associate with the NAT gateway. If the Elastic IP address is associated with another resource, you must first disassociate it.

        Parameters:
        allocationId - The allocation ID of an Elastic IP address to associate with the NAT gateway. If the Elastic IP address is associated with another resource, you must first disassociate it.
        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 you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.

        Constraint: Maximum 64 ASCII characters.

        Parameters:
        clientToken - Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.

        Constraint: Maximum 64 ASCII characters.

      • getClientToken

        public String getClientToken()

        Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.

        Constraint: Maximum 64 ASCII characters.

        Returns:
        Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.

        Constraint: Maximum 64 ASCII characters.

      • withClientToken

        public CreateNatGatewayRequest withClientToken​(String clientToken)

        Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.

        Constraint: Maximum 64 ASCII characters.

        Parameters:
        clientToken - Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.

        Constraint: Maximum 64 ASCII characters.

        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:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object