Interface NewTransitVirtualInterface.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<NewTransitVirtualInterface.Builder,NewTransitVirtualInterface>,SdkBuilder<NewTransitVirtualInterface.Builder,NewTransitVirtualInterface>,SdkPojo
- Enclosing class:
- NewTransitVirtualInterface
public static interface NewTransitVirtualInterface.Builder extends SdkPojo, CopyableBuilder<NewTransitVirtualInterface.Builder,NewTransitVirtualInterface>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NewTransitVirtualInterface.BuilderaddressFamily(String addressFamily)The address family for the BGP peer.NewTransitVirtualInterface.BuilderaddressFamily(AddressFamily addressFamily)The address family for the BGP peer.NewTransitVirtualInterface.BuilderamazonAddress(String amazonAddress)The IP address assigned to the Amazon interface.NewTransitVirtualInterface.Builderasn(Integer asn)The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.NewTransitVirtualInterface.BuilderauthKey(String authKey)The authentication key for BGP configuration.NewTransitVirtualInterface.BuildercustomerAddress(String customerAddress)The IP address assigned to the customer interface.NewTransitVirtualInterface.BuilderdirectConnectGatewayId(String directConnectGatewayId)The ID of the Direct Connect gateway.NewTransitVirtualInterface.BuilderenableSiteLink(Boolean enableSiteLink)Indicates whether to enable or disable SiteLink.NewTransitVirtualInterface.Buildermtu(Integer mtu)The maximum transmission unit (MTU), in bytes.NewTransitVirtualInterface.Buildertags(Collection<Tag> tags)The tags associated with the transitive virtual interface.NewTransitVirtualInterface.Buildertags(Consumer<Tag.Builder>... tags)The tags associated with the transitive virtual interface.NewTransitVirtualInterface.Buildertags(Tag... tags)The tags associated with the transitive virtual interface.NewTransitVirtualInterface.BuildervirtualInterfaceName(String virtualInterfaceName)The name of the virtual interface assigned by the customer network.NewTransitVirtualInterface.Buildervlan(Integer vlan)The ID of the VLAN.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
virtualInterfaceName
NewTransitVirtualInterface.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
NewTransitVirtualInterface.Builder vlan(Integer 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
NewTransitVirtualInterface.Builder asn(Integer 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
NewTransitVirtualInterface.Builder mtu(Integer mtu)
The maximum transmission unit (MTU), in bytes. The supported values are 1500 and 8500. The default value is 1500.
- Parameters:
mtu- The maximum transmission unit (MTU), in bytes. The supported values are 1500 and 8500. The default value is 1500.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authKey
NewTransitVirtualInterface.Builder authKey(String 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
NewTransitVirtualInterface.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
NewTransitVirtualInterface.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
NewTransitVirtualInterface.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,AddressFamily
-
addressFamily
NewTransitVirtualInterface.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:
AddressFamily,AddressFamily
-
directConnectGatewayId
NewTransitVirtualInterface.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
NewTransitVirtualInterface.Builder tags(Collection<Tag> tags)
The tags associated with the transitive virtual interface.
- Parameters:
tags- The tags associated with the transitive virtual interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
NewTransitVirtualInterface.Builder tags(Tag... tags)
The tags associated with the transitive virtual interface.
- Parameters:
tags- The tags associated with the transitive virtual interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
NewTransitVirtualInterface.Builder tags(Consumer<Tag.Builder>... tags)
The tags associated with the transitive virtual interface.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
enableSiteLink
NewTransitVirtualInterface.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.
-
-