public static interface NewPublicVirtualInterfaceAllocation.Builder extends SdkPojo, CopyableBuilder<NewPublicVirtualInterfaceAllocation.Builder,NewPublicVirtualInterfaceAllocation>
Modifier and Type | Method and Description |
---|---|
NewPublicVirtualInterfaceAllocation.Builder |
addressFamily(AddressFamily addressFamily)
The address family for the BGP peer.
|
NewPublicVirtualInterfaceAllocation.Builder |
addressFamily(String addressFamily)
The address family for the BGP peer.
|
NewPublicVirtualInterfaceAllocation.Builder |
amazonAddress(String amazonAddress)
The IP address assigned to the Amazon interface.
|
NewPublicVirtualInterfaceAllocation.Builder |
asn(Integer asn)
The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
|
NewPublicVirtualInterfaceAllocation.Builder |
authKey(String authKey)
The authentication key for BGP configuration.
|
NewPublicVirtualInterfaceAllocation.Builder |
customerAddress(String customerAddress)
The IP address assigned to the customer interface.
|
NewPublicVirtualInterfaceAllocation.Builder |
routeFilterPrefixes(Collection<RouteFilterPrefix> routeFilterPrefixes)
The routes to be advertised to the AWS network in this Region.
|
NewPublicVirtualInterfaceAllocation.Builder |
routeFilterPrefixes(Consumer<RouteFilterPrefix.Builder>... routeFilterPrefixes)
The routes to be advertised to the AWS network in this Region.
|
NewPublicVirtualInterfaceAllocation.Builder |
routeFilterPrefixes(RouteFilterPrefix... routeFilterPrefixes)
The routes to be advertised to the AWS network in this Region.
|
NewPublicVirtualInterfaceAllocation.Builder |
virtualInterfaceName(String virtualInterfaceName)
The name of the virtual interface assigned by the customer network.
|
NewPublicVirtualInterfaceAllocation.Builder |
vlan(Integer vlan)
The ID of the VLAN.
|
copy
applyMutation, build
NewPublicVirtualInterfaceAllocation.Builder virtualInterfaceName(String virtualInterfaceName)
The name of the virtual interface assigned by the customer network.
virtualInterfaceName
- The name of the virtual interface assigned by the customer network.NewPublicVirtualInterfaceAllocation.Builder vlan(Integer vlan)
The ID of the VLAN.
vlan
- The ID of the VLAN.NewPublicVirtualInterfaceAllocation.Builder asn(Integer asn)
The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
asn
- The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.NewPublicVirtualInterfaceAllocation.Builder authKey(String authKey)
The authentication key for BGP configuration.
authKey
- The authentication key for BGP configuration.NewPublicVirtualInterfaceAllocation.Builder amazonAddress(String amazonAddress)
The IP address assigned to the Amazon interface.
amazonAddress
- The IP address assigned to the Amazon interface.NewPublicVirtualInterfaceAllocation.Builder customerAddress(String customerAddress)
The IP address assigned to the customer interface.
customerAddress
- The IP address assigned to the customer interface.NewPublicVirtualInterfaceAllocation.Builder addressFamily(String addressFamily)
The address family for the BGP peer.
addressFamily
- The address family for the BGP peer.AddressFamily
,
AddressFamily
NewPublicVirtualInterfaceAllocation.Builder addressFamily(AddressFamily addressFamily)
The address family for the BGP peer.
addressFamily
- The address family for the BGP peer.AddressFamily
,
AddressFamily
NewPublicVirtualInterfaceAllocation.Builder routeFilterPrefixes(Collection<RouteFilterPrefix> routeFilterPrefixes)
The routes to be advertised to the AWS network in this Region. Applies to public virtual interfaces.
routeFilterPrefixes
- The routes to be advertised to the AWS network in this Region. Applies to public virtual interfaces.NewPublicVirtualInterfaceAllocation.Builder routeFilterPrefixes(RouteFilterPrefix... routeFilterPrefixes)
The routes to be advertised to the AWS network in this Region. Applies to public virtual interfaces.
routeFilterPrefixes
- The routes to be advertised to the AWS network in this Region. Applies to public virtual interfaces.NewPublicVirtualInterfaceAllocation.Builder routeFilterPrefixes(Consumer<RouteFilterPrefix.Builder>... routeFilterPrefixes)
The routes to be advertised to the AWS network in this Region. Applies to public virtual interfaces.
This is a convenience that creates an instance of theList.Builder
avoiding the
need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately
and its result is passed to #routeFilterPrefixes(List)
.routeFilterPrefixes
- a consumer that will call methods on List.Builder
#routeFilterPrefixes(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.