public static interface AllocatePrivateVirtualInterfaceResponse.Builder extends DirectConnectResponse.Builder, SdkPojo, CopyableBuilder<AllocatePrivateVirtualInterfaceResponse.Builder,AllocatePrivateVirtualInterfaceResponse>
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
AllocatePrivateVirtualInterfaceResponse.Builder ownerAccount(String ownerAccount)
The ID of the AWS account that owns the virtual interface.
ownerAccount
- The ID of the AWS account that owns the virtual interface.AllocatePrivateVirtualInterfaceResponse.Builder virtualInterfaceId(String virtualInterfaceId)
The ID of the virtual interface.
virtualInterfaceId
- The ID of the virtual interface.AllocatePrivateVirtualInterfaceResponse.Builder location(String location)
The location of the connection.
location
- The location of the connection.AllocatePrivateVirtualInterfaceResponse.Builder connectionId(String connectionId)
The ID of the connection.
connectionId
- The ID of the connection.AllocatePrivateVirtualInterfaceResponse.Builder virtualInterfaceType(String virtualInterfaceType)
The type of virtual interface. The possible values are private
and public
.
virtualInterfaceType
- The type of virtual interface. The possible values are private
and public
.AllocatePrivateVirtualInterfaceResponse.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.AllocatePrivateVirtualInterfaceResponse.Builder vlan(Integer vlan)
The ID of the VLAN.
vlan
- The ID of the VLAN.AllocatePrivateVirtualInterfaceResponse.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.AllocatePrivateVirtualInterfaceResponse.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.AllocatePrivateVirtualInterfaceResponse.Builder authKey(String authKey)
The authentication key for BGP configuration.
authKey
- The authentication key for BGP configuration.AllocatePrivateVirtualInterfaceResponse.Builder amazonAddress(String amazonAddress)
The IP address assigned to the Amazon interface.
amazonAddress
- The IP address assigned to the Amazon interface.AllocatePrivateVirtualInterfaceResponse.Builder customerAddress(String customerAddress)
The IP address assigned to the customer interface.
customerAddress
- The IP address assigned to the customer interface.AllocatePrivateVirtualInterfaceResponse.Builder addressFamily(String addressFamily)
The address family for the BGP peer.
addressFamily
- The address family for the BGP peer.AddressFamily
,
AddressFamily
AllocatePrivateVirtualInterfaceResponse.Builder addressFamily(AddressFamily addressFamily)
The address family for the BGP peer.
addressFamily
- The address family for the BGP peer.AddressFamily
,
AddressFamily
AllocatePrivateVirtualInterfaceResponse.Builder virtualInterfaceState(String virtualInterfaceState)
The state of the virtual interface. The following are the possible values:
confirming
: The creation of the virtual interface is pending confirmation from the virtual
interface owner. If the owner of the virtual interface is different from the owner of the connection on which
it is provisioned, then the virtual interface will remain in this state until it is confirmed by the virtual
interface owner.
verifying
: This state only applies to public virtual interfaces. Each public virtual interface
needs validation before the virtual interface can be created.
pending
: A virtual interface is in this state from the time that it is created until the virtual
interface is ready to forward traffic.
available
: A virtual interface that is able to forward traffic.
down
: A virtual interface that is BGP down.
deleting
: A virtual interface is in this state immediately after calling
DeleteVirtualInterface until it can no longer forward traffic.
deleted
: A virtual interface that cannot forward traffic.
rejected
: The virtual interface owner has declined creation of the virtual interface. If a
virtual interface in the Confirming
state is deleted by the virtual interface owner, the virtual
interface enters the Rejected
state.
virtualInterfaceState
- The state of the virtual interface. The following are the possible values:
confirming
: The creation of the virtual interface is pending confirmation from the
virtual interface owner. If the owner of the virtual interface is different from the owner of the
connection on which it is provisioned, then the virtual interface will remain in this state until it
is confirmed by the virtual interface owner.
verifying
: This state only applies to public virtual interfaces. Each public virtual
interface needs validation before the virtual interface can be created.
pending
: A virtual interface is in this state from the time that it is created until the
virtual interface is ready to forward traffic.
available
: A virtual interface that is able to forward traffic.
down
: A virtual interface that is BGP down.
deleting
: A virtual interface is in this state immediately after calling
DeleteVirtualInterface until it can no longer forward traffic.
deleted
: A virtual interface that cannot forward traffic.
rejected
: The virtual interface owner has declined creation of the virtual interface. If
a virtual interface in the Confirming
state is deleted by the virtual interface owner,
the virtual interface enters the Rejected
state.
VirtualInterfaceState
,
VirtualInterfaceState
AllocatePrivateVirtualInterfaceResponse.Builder virtualInterfaceState(VirtualInterfaceState virtualInterfaceState)
The state of the virtual interface. The following are the possible values:
confirming
: The creation of the virtual interface is pending confirmation from the virtual
interface owner. If the owner of the virtual interface is different from the owner of the connection on which
it is provisioned, then the virtual interface will remain in this state until it is confirmed by the virtual
interface owner.
verifying
: This state only applies to public virtual interfaces. Each public virtual interface
needs validation before the virtual interface can be created.
pending
: A virtual interface is in this state from the time that it is created until the virtual
interface is ready to forward traffic.
available
: A virtual interface that is able to forward traffic.
down
: A virtual interface that is BGP down.
deleting
: A virtual interface is in this state immediately after calling
DeleteVirtualInterface until it can no longer forward traffic.
deleted
: A virtual interface that cannot forward traffic.
rejected
: The virtual interface owner has declined creation of the virtual interface. If a
virtual interface in the Confirming
state is deleted by the virtual interface owner, the virtual
interface enters the Rejected
state.
virtualInterfaceState
- The state of the virtual interface. The following are the possible values:
confirming
: The creation of the virtual interface is pending confirmation from the
virtual interface owner. If the owner of the virtual interface is different from the owner of the
connection on which it is provisioned, then the virtual interface will remain in this state until it
is confirmed by the virtual interface owner.
verifying
: This state only applies to public virtual interfaces. Each public virtual
interface needs validation before the virtual interface can be created.
pending
: A virtual interface is in this state from the time that it is created until the
virtual interface is ready to forward traffic.
available
: A virtual interface that is able to forward traffic.
down
: A virtual interface that is BGP down.
deleting
: A virtual interface is in this state immediately after calling
DeleteVirtualInterface until it can no longer forward traffic.
deleted
: A virtual interface that cannot forward traffic.
rejected
: The virtual interface owner has declined creation of the virtual interface. If
a virtual interface in the Confirming
state is deleted by the virtual interface owner,
the virtual interface enters the Rejected
state.
VirtualInterfaceState
,
VirtualInterfaceState
AllocatePrivateVirtualInterfaceResponse.Builder customerRouterConfig(String customerRouterConfig)
The customer router configuration.
customerRouterConfig
- The customer router configuration.AllocatePrivateVirtualInterfaceResponse.Builder mtu(Integer mtu)
The maximum transmission unit (MTU), in bytes. The supported values are 1500 and 9001. The default value is 1500.
mtu
- The maximum transmission unit (MTU), in bytes. The supported values are 1500 and 9001. The default
value is 1500.AllocatePrivateVirtualInterfaceResponse.Builder jumboFrameCapable(Boolean jumboFrameCapable)
Indicates whether jumbo frames (9001 MTU) are supported.
jumboFrameCapable
- Indicates whether jumbo frames (9001 MTU) are supported.AllocatePrivateVirtualInterfaceResponse.Builder virtualGatewayId(String virtualGatewayId)
The ID of the virtual private gateway. Applies only to private virtual interfaces.
virtualGatewayId
- The ID of the virtual private gateway. Applies only to private virtual interfaces.AllocatePrivateVirtualInterfaceResponse.Builder directConnectGatewayId(String directConnectGatewayId)
The ID of the Direct Connect gateway.
directConnectGatewayId
- The ID of the Direct Connect gateway.AllocatePrivateVirtualInterfaceResponse.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.AllocatePrivateVirtualInterfaceResponse.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.AllocatePrivateVirtualInterfaceResponse.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)
AllocatePrivateVirtualInterfaceResponse.Builder bgpPeers(Collection<BGPPeer> bgpPeers)
The BGP peers configured on this virtual interface.
bgpPeers
- The BGP peers configured on this virtual interface.AllocatePrivateVirtualInterfaceResponse.Builder bgpPeers(BGPPeer... bgpPeers)
The BGP peers configured on this virtual interface.
bgpPeers
- The BGP peers configured on this virtual interface.AllocatePrivateVirtualInterfaceResponse.Builder bgpPeers(Consumer<BGPPeer.Builder>... bgpPeers)
The BGP peers configured on this virtual interface.
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 #bgpPeers(List)
.bgpPeers
- a consumer that will call methods on List.Builder
#bgpPeers(List)
AllocatePrivateVirtualInterfaceResponse.Builder region(String region)
The AWS Region where the virtual interface is located.
region
- The AWS Region where the virtual interface is located.AllocatePrivateVirtualInterfaceResponse.Builder awsDeviceV2(String awsDeviceV2)
The Direct Connect endpoint on which the virtual interface terminates.
awsDeviceV2
- The Direct Connect endpoint on which the virtual interface terminates.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.