Interface NatGatewayAddress.Builder

    • Method Detail

      • allocationId

        NatGatewayAddress.Builder allocationId​(String allocationId)

        [Public NAT gateway only] The allocation ID of the Elastic IP address that's associated with the NAT gateway.

        Parameters:
        allocationId - [Public NAT gateway only] The allocation ID of the Elastic IP address that's associated with the NAT gateway.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • networkInterfaceId

        NatGatewayAddress.Builder networkInterfaceId​(String networkInterfaceId)

        The ID of the network interface associated with the NAT gateway.

        Parameters:
        networkInterfaceId - The ID of the network interface associated with the NAT gateway.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • privateIp

        NatGatewayAddress.Builder privateIp​(String privateIp)

        The private IP address associated with the NAT gateway.

        Parameters:
        privateIp - The private IP address associated with the NAT gateway.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • publicIp

        NatGatewayAddress.Builder publicIp​(String publicIp)

        [Public NAT gateway only] The Elastic IP address associated with the NAT gateway.

        Parameters:
        publicIp - [Public NAT gateway only] The Elastic IP address associated with the NAT gateway.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • associationId

        NatGatewayAddress.Builder associationId​(String associationId)

        [Public NAT gateway only] The association ID of the Elastic IP address that's associated with the NAT gateway.

        Parameters:
        associationId - [Public NAT gateway only] The association ID of the Elastic IP address that's associated with the NAT gateway.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isPrimary

        NatGatewayAddress.Builder isPrimary​(Boolean isPrimary)

        Defines if the IP address is the primary address.

        Parameters:
        isPrimary - Defines if the IP address is the primary address.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • failureMessage

        NatGatewayAddress.Builder failureMessage​(String failureMessage)

        The address failure message.

        Parameters:
        failureMessage - The address failure message.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • availabilityZone

        NatGatewayAddress.Builder availabilityZone​(String availabilityZone)

        The Availability Zone where this Elastic IP address (EIP) is being used to handle outbound NAT traffic.

        Parameters:
        availabilityZone - The Availability Zone where this Elastic IP address (EIP) is being used to handle outbound NAT traffic.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • availabilityZoneId

        NatGatewayAddress.Builder availabilityZoneId​(String availabilityZoneId)

        The ID of the Availability Zone where this Elastic IP address (EIP) is being used to handle outbound NAT traffic. Use this instead of AvailabilityZone for consistent identification of AZs across Amazon Web Services Regions.

        Parameters:
        availabilityZoneId - The ID of the Availability Zone where this Elastic IP address (EIP) is being used to handle outbound NAT traffic. Use this instead of AvailabilityZone for consistent identification of AZs across Amazon Web Services Regions.
        Returns:
        Returns a reference to this object so that method calls can be chained together.