Interface TrunkInterfaceAssociation.Builder

All Superinterfaces:
Buildable, CopyableBuilder<TrunkInterfaceAssociation.Builder,TrunkInterfaceAssociation>, SdkBuilder<TrunkInterfaceAssociation.Builder,TrunkInterfaceAssociation>, SdkPojo
Enclosing class:
TrunkInterfaceAssociation

public static interface TrunkInterfaceAssociation.Builder extends SdkPojo, CopyableBuilder<TrunkInterfaceAssociation.Builder,TrunkInterfaceAssociation>
  • Method Details

    • 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.
    • interfaceProtocol

      TrunkInterfaceAssociation.Builder interfaceProtocol(String interfaceProtocol)

      The interface protocol. Valid values are VLAN and GRE.

      Parameters:
      interfaceProtocol - The interface protocol. Valid values are VLAN and GRE.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • interfaceProtocol

      TrunkInterfaceAssociation.Builder interfaceProtocol(InterfaceProtocolType interfaceProtocol)

      The interface protocol. Valid values are VLAN and GRE.

      Parameters:
      interfaceProtocol - The interface protocol. Valid values are VLAN and GRE.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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

      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

      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

      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<Tag>).

      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: