Interface TrunkInterfaceAssociation.Builder

    • Method Detail

      • associationId

        TrunkInterfaceAssociation.Builder associationId​(String associationId)

        The ID of the association.

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

        TrunkInterfaceAssociation.Builder branchInterfaceId​(String branchInterfaceId)

        The ID of the branch network interface.

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

        TrunkInterfaceAssociation.Builder trunkInterfaceId​(String trunkInterfaceId)

        The ID of the trunk network interface.

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

        TrunkInterfaceAssociation.Builder vlanId​(Integer vlanId)

        The ID of the VLAN when you use the VLAN protocol.

        Parameters:
        vlanId - The ID of the VLAN when you use the VLAN protocol.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • greKey

        TrunkInterfaceAssociation.Builder greKey​(Integer greKey)

        The application key when you use the GRE protocol.

        Parameters:
        greKey - The application key when you use the GRE protocol.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

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

        The tags for the trunk interface association.

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

        TrunkInterfaceAssociation.Builder tags​(Tag... tags)

        The tags for the trunk interface association.

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

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

        The tags for the trunk interface association.

        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)