Interface Address.Builder

    • Method Detail

      • instanceId

        Address.Builder instanceId​(String instanceId)

        The ID of the instance that the address is associated with (if any).

        Parameters:
        instanceId - The ID of the instance that the address is associated with (if any).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • publicIp

        Address.Builder publicIp​(String publicIp)

        The Elastic IP address.

        Parameters:
        publicIp - The Elastic IP address.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • allocationId

        Address.Builder allocationId​(String allocationId)

        The ID representing the allocation of the address.

        Parameters:
        allocationId - The ID representing the allocation of the address.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • associationId

        Address.Builder associationId​(String associationId)

        The ID representing the association of the address with an instance.

        Parameters:
        associationId - The ID representing the association of the address with an instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • domain

        Address.Builder domain​(String domain)

        The network (vpc).

        Parameters:
        domain - The network (vpc).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        DomainType, DomainType
      • domain

        Address.Builder domain​(DomainType domain)

        The network (vpc).

        Parameters:
        domain - The network (vpc).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        DomainType, DomainType
      • networkInterfaceId

        Address.Builder networkInterfaceId​(String networkInterfaceId)

        The ID of the network interface.

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

        Address.Builder networkInterfaceOwnerId​(String networkInterfaceOwnerId)

        The ID of the Amazon Web Services account that owns the network interface.

        Parameters:
        networkInterfaceOwnerId - The ID of the Amazon Web Services account that owns the network interface.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • privateIpAddress

        Address.Builder privateIpAddress​(String privateIpAddress)

        The private IP address associated with the Elastic IP address.

        Parameters:
        privateIpAddress - The private IP address associated with the Elastic IP address.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        Address.Builder tags​(Collection<Tag> tags)

        Any tags assigned to the Elastic IP address.

        Parameters:
        tags - Any tags assigned to the Elastic IP address.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        Address.Builder tags​(Tag... tags)

        Any tags assigned to the Elastic IP address.

        Parameters:
        tags - Any tags assigned to the Elastic IP address.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        Address.Builder tags​(Consumer<Tag.Builder>... tags)

        Any tags assigned to the Elastic IP address.

        This is a convenience method that creates an instance of the Tag.Builder avoiding the need to create one manually via Tag.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #tags(List).

        Parameters:
        tags - a consumer that will call methods on Tag.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #tags(java.util.Collection)
      • publicIpv4Pool

        Address.Builder publicIpv4Pool​(String publicIpv4Pool)

        The ID of an address pool.

        Parameters:
        publicIpv4Pool - The ID of an address pool.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • networkBorderGroup

        Address.Builder networkBorderGroup​(String networkBorderGroup)

        The name of the unique set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses.

        Parameters:
        networkBorderGroup - The name of the unique set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • customerOwnedIp

        Address.Builder customerOwnedIp​(String customerOwnedIp)

        The customer-owned IP address.

        Parameters:
        customerOwnedIp - The customer-owned IP address.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • customerOwnedIpv4Pool

        Address.Builder customerOwnedIpv4Pool​(String customerOwnedIpv4Pool)

        The ID of the customer-owned address pool.

        Parameters:
        customerOwnedIpv4Pool - The ID of the customer-owned address pool.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • carrierIp

        Address.Builder carrierIp​(String carrierIp)

        The carrier IP address associated. This option is only available for network interfaces which reside in a subnet in a Wavelength Zone (for example an EC2 instance).

        Parameters:
        carrierIp - The carrier IP address associated. This option is only available for network interfaces which reside in a subnet in a Wavelength Zone (for example an EC2 instance).
        Returns:
        Returns a reference to this object so that method calls can be chained together.