Interface NewPublicVirtualInterface.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<NewPublicVirtualInterface.Builder,NewPublicVirtualInterface>,SdkBuilder<NewPublicVirtualInterface.Builder,NewPublicVirtualInterface>,SdkPojo
- Enclosing class:
- NewPublicVirtualInterface
public static interface NewPublicVirtualInterface.Builder extends SdkPojo, CopyableBuilder<NewPublicVirtualInterface.Builder,NewPublicVirtualInterface>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NewPublicVirtualInterface.BuilderaddressFamily(String addressFamily)The address family for the BGP peer.NewPublicVirtualInterface.BuilderaddressFamily(AddressFamily addressFamily)The address family for the BGP peer.NewPublicVirtualInterface.BuilderamazonAddress(String amazonAddress)The IP address assigned to the Amazon interface.NewPublicVirtualInterface.Builderasn(Integer asn)The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.NewPublicVirtualInterface.BuilderauthKey(String authKey)The authentication key for BGP configuration.NewPublicVirtualInterface.BuildercustomerAddress(String customerAddress)The IP address assigned to the customer interface.NewPublicVirtualInterface.BuilderrouteFilterPrefixes(Collection<RouteFilterPrefix> routeFilterPrefixes)The routes to be advertised to the Amazon Web Services network in this Region.NewPublicVirtualInterface.BuilderrouteFilterPrefixes(Consumer<RouteFilterPrefix.Builder>... routeFilterPrefixes)The routes to be advertised to the Amazon Web Services network in this Region.NewPublicVirtualInterface.BuilderrouteFilterPrefixes(RouteFilterPrefix... routeFilterPrefixes)The routes to be advertised to the Amazon Web Services network in this Region.NewPublicVirtualInterface.Buildertags(Collection<Tag> tags)The tags associated with the public virtual interface.NewPublicVirtualInterface.Buildertags(Consumer<Tag.Builder>... tags)The tags associated with the public virtual interface.NewPublicVirtualInterface.Buildertags(Tag... tags)The tags associated with the public virtual interface.NewPublicVirtualInterface.BuildervirtualInterfaceName(String virtualInterfaceName)The name of the virtual interface assigned by the customer network.NewPublicVirtualInterface.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
NewPublicVirtualInterface.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
NewPublicVirtualInterface.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
NewPublicVirtualInterface.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.
-
authKey
NewPublicVirtualInterface.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
NewPublicVirtualInterface.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
NewPublicVirtualInterface.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
NewPublicVirtualInterface.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
NewPublicVirtualInterface.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
-
routeFilterPrefixes
NewPublicVirtualInterface.Builder routeFilterPrefixes(Collection<RouteFilterPrefix> routeFilterPrefixes)
The routes to be advertised to the Amazon Web Services network in this Region. Applies to public virtual interfaces.
- Parameters:
routeFilterPrefixes- The routes to be advertised to the Amazon Web Services network in this Region. Applies to public virtual interfaces.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routeFilterPrefixes
NewPublicVirtualInterface.Builder routeFilterPrefixes(RouteFilterPrefix... routeFilterPrefixes)
The routes to be advertised to the Amazon Web Services network in this Region. Applies to public virtual interfaces.
- Parameters:
routeFilterPrefixes- The routes to be advertised to the Amazon Web Services network in this Region. Applies to public virtual interfaces.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routeFilterPrefixes
NewPublicVirtualInterface.Builder routeFilterPrefixes(Consumer<RouteFilterPrefix.Builder>... routeFilterPrefixes)
The routes to be advertised to the Amazon Web Services network in this Region. Applies to public virtual interfaces.
This is a convenience method that creates an instance of theRouteFilterPrefix.Builderavoiding the need to create one manually viaRouteFilterPrefix.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#routeFilterPrefixes(List.) - Parameters:
routeFilterPrefixes- a consumer that will call methods onRouteFilterPrefix.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#routeFilterPrefixes(java.util.Collection)
-
tags
NewPublicVirtualInterface.Builder tags(Collection<Tag> tags)
The tags associated with the public virtual interface.
- Parameters:
tags- The tags associated with the public virtual interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
NewPublicVirtualInterface.Builder tags(Tag... tags)
The tags associated with the public virtual interface.
- Parameters:
tags- The tags associated with the public virtual interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
NewPublicVirtualInterface.Builder tags(Consumer<Tag.Builder>... tags)
The tags associated with the public 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)
-
-