public static interface NewPublicVirtualInterface.Builder extends SdkPojo, CopyableBuilder<NewPublicVirtualInterface.Builder,NewPublicVirtualInterface>
Modifier and Type | Method and Description |
---|---|
NewPublicVirtualInterface.Builder |
addressFamily(AddressFamily addressFamily)
The address family for the BGP peer.
|
NewPublicVirtualInterface.Builder |
addressFamily(String addressFamily)
The address family for the BGP peer.
|
NewPublicVirtualInterface.Builder |
amazonAddress(String amazonAddress)
The IP address assigned to the Amazon interface.
|
NewPublicVirtualInterface.Builder |
asn(Integer asn)
The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
|
NewPublicVirtualInterface.Builder |
authKey(String authKey)
The authentication key for BGP configuration.
|
NewPublicVirtualInterface.Builder |
customerAddress(String customerAddress)
The IP address assigned to the customer interface.
|
NewPublicVirtualInterface.Builder |
routeFilterPrefixes(Collection<RouteFilterPrefix> routeFilterPrefixes)
The routes to be advertised to the AWS network in this Region.
|
NewPublicVirtualInterface.Builder |
routeFilterPrefixes(Consumer<RouteFilterPrefix.Builder>... routeFilterPrefixes)
The routes to be advertised to the AWS network in this Region.
|
NewPublicVirtualInterface.Builder |
routeFilterPrefixes(RouteFilterPrefix... routeFilterPrefixes)
The routes to be advertised to the AWS network in this Region.
|
NewPublicVirtualInterface.Builder |
virtualInterfaceName(String virtualInterfaceName)
The name of the virtual interface assigned by the customer network.
|
NewPublicVirtualInterface.Builder |
vlan(Integer vlan)
The ID of the VLAN.
|
copy
applyMutation, build
NewPublicVirtualInterface.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.NewPublicVirtualInterface.Builder vlan(Integer vlan)
The ID of the VLAN.
vlan
- The ID of the VLAN.NewPublicVirtualInterface.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.NewPublicVirtualInterface.Builder authKey(String authKey)
The authentication key for BGP configuration.
authKey
- The authentication key for BGP configuration.NewPublicVirtualInterface.Builder amazonAddress(String amazonAddress)
The IP address assigned to the Amazon interface.
amazonAddress
- The IP address assigned to the Amazon interface.NewPublicVirtualInterface.Builder customerAddress(String customerAddress)
The IP address assigned to the customer interface.
customerAddress
- The IP address assigned to the customer interface.NewPublicVirtualInterface.Builder addressFamily(String addressFamily)
The address family for the BGP peer.
addressFamily
- The address family for the BGP peer.AddressFamily
,
AddressFamily
NewPublicVirtualInterface.Builder addressFamily(AddressFamily addressFamily)
The address family for the BGP peer.
addressFamily
- The address family for the BGP peer.AddressFamily
,
AddressFamily
NewPublicVirtualInterface.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.NewPublicVirtualInterface.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.NewPublicVirtualInterface.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.