Interface SecondaryInterface.Builder

    • Method Detail

      • availabilityZone

        SecondaryInterface.Builder availabilityZone​(String availabilityZone)

        The Availability Zone of the secondary interface.

        Parameters:
        availabilityZone - The Availability Zone of the secondary interface.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • availabilityZoneId

        SecondaryInterface.Builder availabilityZoneId​(String availabilityZoneId)

        The ID of the Availability Zone of the secondary interface.

        Parameters:
        availabilityZoneId - The ID of the Availability Zone of the secondary interface.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • attachment

        SecondaryInterface.Builder attachment​(SecondaryInterfaceAttachment attachment)

        The attachment information for the secondary interface.

        Parameters:
        attachment - The attachment information for the secondary interface.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • macAddress

        SecondaryInterface.Builder macAddress​(String macAddress)

        The MAC address of the secondary interface.

        Parameters:
        macAddress - The MAC address of the secondary interface.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ownerId

        SecondaryInterface.Builder ownerId​(String ownerId)

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

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

        SecondaryInterface.Builder privateIpv4Addresses​(Collection<SecondaryInterfaceIpv4Address> privateIpv4Addresses)

        The private IPv4 addresses associated with the secondary interface.

        Parameters:
        privateIpv4Addresses - The private IPv4 addresses associated with the secondary interface.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • privateIpv4Addresses

        SecondaryInterface.Builder privateIpv4Addresses​(SecondaryInterfaceIpv4Address... privateIpv4Addresses)

        The private IPv4 addresses associated with the secondary interface.

        Parameters:
        privateIpv4Addresses - The private IPv4 addresses associated with the secondary interface.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • secondaryInterfaceId

        SecondaryInterface.Builder secondaryInterfaceId​(String secondaryInterfaceId)

        The ID of the secondary interface.

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

        SecondaryInterface.Builder secondaryInterfaceArn​(String secondaryInterfaceArn)

        The Amazon Resource Name (ARN) of the secondary interface.

        Parameters:
        secondaryInterfaceArn - The Amazon Resource Name (ARN) of the secondary interface.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • secondarySubnetId

        SecondaryInterface.Builder secondarySubnetId​(String secondarySubnetId)

        The ID of the secondary subnet.

        Parameters:
        secondarySubnetId - The ID of the secondary subnet.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • secondaryNetworkId

        SecondaryInterface.Builder secondaryNetworkId​(String secondaryNetworkId)

        The ID of the secondary network.

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

        SecondaryInterface.Builder sourceDestCheck​(Boolean sourceDestCheck)

        Indicates whether source/destination checking is enabled.

        Parameters:
        sourceDestCheck - Indicates whether source/destination checking is enabled.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

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

        The tags assigned to the secondary interface.

        Parameters:
        tags - The tags assigned to the secondary interface.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        SecondaryInterface.Builder tags​(Tag... tags)

        The tags assigned to the secondary interface.

        Parameters:
        tags - The tags assigned to the secondary interface.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

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

        The tags assigned to the secondary interface.

        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)