Interface LocalGatewayVirtualInterface.Builder

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

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

    • localGatewayVirtualInterfaceId

      LocalGatewayVirtualInterface.Builder localGatewayVirtualInterfaceId(String localGatewayVirtualInterfaceId)

      The ID of the virtual interface.

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

      LocalGatewayVirtualInterface.Builder localGatewayId(String localGatewayId)

      The ID of the local gateway.

      Parameters:
      localGatewayId - The ID of the local gateway.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • vlan

      The ID of the VLAN.

      Parameters:
      vlan - The ID of the VLAN.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • localAddress

      LocalGatewayVirtualInterface.Builder localAddress(String localAddress)

      The local address.

      Parameters:
      localAddress - The local address.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • peerAddress

      LocalGatewayVirtualInterface.Builder peerAddress(String peerAddress)

      The peer address.

      Parameters:
      peerAddress - The peer address.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • localBgpAsn

      The Border Gateway Protocol (BGP) Autonomous System Number (ASN) of the local gateway.

      Parameters:
      localBgpAsn - The Border Gateway Protocol (BGP) Autonomous System Number (ASN) of the local gateway.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • peerBgpAsn

      The peer BGP ASN.

      Parameters:
      peerBgpAsn - The peer BGP ASN.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ownerId

      The ID of the Amazon Web Services account that owns the local gateway virtual interface.

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

      The tags assigned to the virtual interface.

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

      The tags assigned to the virtual interface.

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

      The tags assigned to the virtual 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<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: