public static interface AssociateVirtualInterfaceResponse.Builder extends DirectConnectResponse.Builder, CopyableBuilder<AssociateVirtualInterfaceResponse.Builder,AssociateVirtualInterfaceResponse>
Modifier and Type | Method and Description |
---|---|
AssociateVirtualInterfaceResponse.Builder |
addressFamily(AddressFamily addressFamily)
Sets the value of the AddressFamily property for this object.
|
AssociateVirtualInterfaceResponse.Builder |
addressFamily(String addressFamily)
Sets the value of the AddressFamily property for this object.
|
AssociateVirtualInterfaceResponse.Builder |
amazonAddress(String amazonAddress)
Sets the value of the AmazonAddress property for this object.
|
AssociateVirtualInterfaceResponse.Builder |
amazonSideAsn(Long amazonSideAsn)
The autonomous system number (ASN) for the Amazon side of the connection.
|
AssociateVirtualInterfaceResponse.Builder |
asn(Integer asn)
Sets the value of the Asn property for this object.
|
AssociateVirtualInterfaceResponse.Builder |
authKey(String authKey)
Sets the value of the AuthKey property for this object.
|
AssociateVirtualInterfaceResponse.Builder |
bgpPeers(BGPPeer... bgpPeers)
Sets the value of the BgpPeers property for this object.
|
AssociateVirtualInterfaceResponse.Builder |
bgpPeers(Collection<BGPPeer> bgpPeers)
Sets the value of the BgpPeers property for this object.
|
AssociateVirtualInterfaceResponse.Builder |
bgpPeers(Consumer<BGPPeer.Builder>... bgpPeers)
Sets the value of the BgpPeers property for this object.
|
AssociateVirtualInterfaceResponse.Builder |
connectionId(String connectionId)
Sets the value of the ConnectionId property for this object.
|
AssociateVirtualInterfaceResponse.Builder |
customerAddress(String customerAddress)
Sets the value of the CustomerAddress property for this object.
|
AssociateVirtualInterfaceResponse.Builder |
customerRouterConfig(String customerRouterConfig)
Information for generating the customer router configuration.
|
AssociateVirtualInterfaceResponse.Builder |
directConnectGatewayId(String directConnectGatewayId)
Sets the value of the DirectConnectGatewayId property for this object.
|
AssociateVirtualInterfaceResponse.Builder |
location(String location)
Sets the value of the Location property for this object.
|
AssociateVirtualInterfaceResponse.Builder |
ownerAccount(String ownerAccount)
The AWS account that will own the new virtual interface.
|
AssociateVirtualInterfaceResponse.Builder |
routeFilterPrefixes(Collection<RouteFilterPrefix> routeFilterPrefixes)
Sets the value of the RouteFilterPrefixes property for this object.
|
AssociateVirtualInterfaceResponse.Builder |
routeFilterPrefixes(Consumer<RouteFilterPrefix.Builder>... routeFilterPrefixes)
Sets the value of the RouteFilterPrefixes property for this object.
|
AssociateVirtualInterfaceResponse.Builder |
routeFilterPrefixes(RouteFilterPrefix... routeFilterPrefixes)
Sets the value of the RouteFilterPrefixes property for this object.
|
AssociateVirtualInterfaceResponse.Builder |
virtualGatewayId(String virtualGatewayId)
Sets the value of the VirtualGatewayId property for this object.
|
AssociateVirtualInterfaceResponse.Builder |
virtualInterfaceId(String virtualInterfaceId)
Sets the value of the VirtualInterfaceId property for this object.
|
AssociateVirtualInterfaceResponse.Builder |
virtualInterfaceName(String virtualInterfaceName)
Sets the value of the VirtualInterfaceName property for this object.
|
AssociateVirtualInterfaceResponse.Builder |
virtualInterfaceState(String virtualInterfaceState)
Sets the value of the VirtualInterfaceState property for this object.
|
AssociateVirtualInterfaceResponse.Builder |
virtualInterfaceState(VirtualInterfaceState virtualInterfaceState)
Sets the value of the VirtualInterfaceState property for this object.
|
AssociateVirtualInterfaceResponse.Builder |
virtualInterfaceType(String virtualInterfaceType)
Sets the value of the VirtualInterfaceType property for this object.
|
AssociateVirtualInterfaceResponse.Builder |
vlan(Integer vlan)
Sets the value of the Vlan property for this object.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
AssociateVirtualInterfaceResponse.Builder ownerAccount(String ownerAccount)
The AWS account that will own the new virtual interface.
ownerAccount
- The AWS account that will own the new virtual interface.AssociateVirtualInterfaceResponse.Builder virtualInterfaceId(String virtualInterfaceId)
virtualInterfaceId
- The new value for the VirtualInterfaceId property for this object.AssociateVirtualInterfaceResponse.Builder location(String location)
location
- The new value for the Location property for this object.AssociateVirtualInterfaceResponse.Builder connectionId(String connectionId)
connectionId
- The new value for the ConnectionId property for this object.AssociateVirtualInterfaceResponse.Builder virtualInterfaceType(String virtualInterfaceType)
virtualInterfaceType
- The new value for the VirtualInterfaceType property for this object.AssociateVirtualInterfaceResponse.Builder virtualInterfaceName(String virtualInterfaceName)
virtualInterfaceName
- The new value for the VirtualInterfaceName property for this object.AssociateVirtualInterfaceResponse.Builder vlan(Integer vlan)
vlan
- The new value for the Vlan property for this object.AssociateVirtualInterfaceResponse.Builder asn(Integer asn)
asn
- The new value for the Asn property for this object.AssociateVirtualInterfaceResponse.Builder amazonSideAsn(Long amazonSideAsn)
The autonomous system number (ASN) for the Amazon side of the connection.
amazonSideAsn
- The autonomous system number (ASN) for the Amazon side of the connection.AssociateVirtualInterfaceResponse.Builder authKey(String authKey)
authKey
- The new value for the AuthKey property for this object.AssociateVirtualInterfaceResponse.Builder amazonAddress(String amazonAddress)
amazonAddress
- The new value for the AmazonAddress property for this object.AssociateVirtualInterfaceResponse.Builder customerAddress(String customerAddress)
customerAddress
- The new value for the CustomerAddress property for this object.AssociateVirtualInterfaceResponse.Builder addressFamily(String addressFamily)
addressFamily
- The new value for the AddressFamily property for this object.AddressFamily
,
AddressFamily
AssociateVirtualInterfaceResponse.Builder addressFamily(AddressFamily addressFamily)
addressFamily
- The new value for the AddressFamily property for this object.AddressFamily
,
AddressFamily
AssociateVirtualInterfaceResponse.Builder virtualInterfaceState(String virtualInterfaceState)
virtualInterfaceState
- The new value for the VirtualInterfaceState property for this object.VirtualInterfaceState
,
VirtualInterfaceState
AssociateVirtualInterfaceResponse.Builder virtualInterfaceState(VirtualInterfaceState virtualInterfaceState)
virtualInterfaceState
- The new value for the VirtualInterfaceState property for this object.VirtualInterfaceState
,
VirtualInterfaceState
AssociateVirtualInterfaceResponse.Builder customerRouterConfig(String customerRouterConfig)
Information for generating the customer router configuration.
customerRouterConfig
- Information for generating the customer router configuration.AssociateVirtualInterfaceResponse.Builder virtualGatewayId(String virtualGatewayId)
virtualGatewayId
- The new value for the VirtualGatewayId property for this object.AssociateVirtualInterfaceResponse.Builder directConnectGatewayId(String directConnectGatewayId)
directConnectGatewayId
- The new value for the DirectConnectGatewayId property for this object.AssociateVirtualInterfaceResponse.Builder routeFilterPrefixes(Collection<RouteFilterPrefix> routeFilterPrefixes)
routeFilterPrefixes
- The new value for the RouteFilterPrefixes property for this object.AssociateVirtualInterfaceResponse.Builder routeFilterPrefixes(RouteFilterPrefix... routeFilterPrefixes)
routeFilterPrefixes
- The new value for the RouteFilterPrefixes property for this object.AssociateVirtualInterfaceResponse.Builder routeFilterPrefixes(Consumer<RouteFilterPrefix.Builder>... routeFilterPrefixes)
List.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)
AssociateVirtualInterfaceResponse.Builder bgpPeers(Collection<BGPPeer> bgpPeers)
bgpPeers
- The new value for the BgpPeers property for this object.AssociateVirtualInterfaceResponse.Builder bgpPeers(BGPPeer... bgpPeers)
bgpPeers
- The new value for the BgpPeers property for this object.AssociateVirtualInterfaceResponse.Builder bgpPeers(Consumer<BGPPeer.Builder>... bgpPeers)
List.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 #bgpPeers(List)
.bgpPeers
- a consumer that will call methods on List.Builder
#bgpPeers(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.