Interface NewPrivateVirtualInterface.Builder

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

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

    • virtualInterfaceName

      NewPrivateVirtualInterface.Builder virtualInterfaceName(String virtualInterfaceName)

      The name of the virtual interface assigned by the customer network. The name has a maximum of 100 characters. The following are valid characters: a-z, 0-9 and a hyphen (-).

      Parameters:
      virtualInterfaceName - The name of the virtual interface assigned by the customer network. The name has a maximum of 100 characters. The following are valid characters: a-z, 0-9 and a hyphen (-).
      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.
    • asn

      The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.

      The valid values are 1-2147483647.

      Parameters:
      asn - The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.

      The valid values are 1-2147483647.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • mtu

      The maximum transmission unit (MTU), in bytes. The supported values are 1500 and 9001. The default value is 1500.

      Parameters:
      mtu - The maximum transmission unit (MTU), in bytes. The supported values are 1500 and 9001. The default value is 1500.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • authKey

      The authentication key for BGP configuration. This string has a minimum length of 6 characters and and a maximun lenth of 80 characters.

      Parameters:
      authKey - The authentication key for BGP configuration. This string has a minimum length of 6 characters and and a maximun lenth of 80 characters.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • amazonAddress

      NewPrivateVirtualInterface.Builder amazonAddress(String amazonAddress)

      The IP address assigned to the Amazon interface.

      Parameters:
      amazonAddress - The IP address assigned to the Amazon interface.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • customerAddress

      NewPrivateVirtualInterface.Builder customerAddress(String customerAddress)

      The IP address assigned to the customer interface.

      Parameters:
      customerAddress - The IP address assigned to the customer interface.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • addressFamily

      NewPrivateVirtualInterface.Builder addressFamily(String addressFamily)

      The address family for the BGP peer.

      Parameters:
      addressFamily - The address family for the BGP peer.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • addressFamily

      NewPrivateVirtualInterface.Builder addressFamily(AddressFamily addressFamily)

      The address family for the BGP peer.

      Parameters:
      addressFamily - The address family for the BGP peer.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • virtualGatewayId

      NewPrivateVirtualInterface.Builder virtualGatewayId(String virtualGatewayId)

      The ID of the virtual private gateway.

      Parameters:
      virtualGatewayId - The ID of the virtual private gateway.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • directConnectGatewayId

      NewPrivateVirtualInterface.Builder directConnectGatewayId(String directConnectGatewayId)

      The ID of the Direct Connect gateway.

      Parameters:
      directConnectGatewayId - The ID of the Direct Connect gateway.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The tags associated with the private virtual interface.

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

      The tags associated with the private virtual interface.

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

      The tags associated with the private 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:
    • enableSiteLink

      NewPrivateVirtualInterface.Builder enableSiteLink(Boolean enableSiteLink)

      Indicates whether to enable or disable SiteLink.

      Parameters:
      enableSiteLink - Indicates whether to enable or disable SiteLink.
      Returns:
      Returns a reference to this object so that method calls can be chained together.