Interface AssociateVirtualInterfaceResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<AssociateVirtualInterfaceResponse.Builder,
,AssociateVirtualInterfaceResponse> DirectConnectResponse.Builder
,SdkBuilder<AssociateVirtualInterfaceResponse.Builder,
,AssociateVirtualInterfaceResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
AssociateVirtualInterfaceResponse
-
Method Summary
Modifier and TypeMethodDescriptionaddressFamily
(String addressFamily) The address family for the BGP peer.addressFamily
(AddressFamily addressFamily) The address family for the BGP peer.amazonAddress
(String amazonAddress) The IP address assigned to the Amazon interface.amazonSideAsn
(Long amazonSideAsn) The autonomous system number (ASN) for the Amazon side of the connection.The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.The authentication key for BGP configuration.awsDeviceV2
(String awsDeviceV2) The Direct Connect endpoint that terminates the physical connection.awsLogicalDeviceId
(String awsLogicalDeviceId) The Direct Connect endpoint that terminates the logical connection.bgpPeers
(Collection<BGPPeer> bgpPeers) The BGP peers configured on this virtual interface.bgpPeers
(Consumer<BGPPeer.Builder>... bgpPeers) The BGP peers configured on this virtual interface.The BGP peers configured on this virtual interface.connectionId
(String connectionId) The ID of the connection.customerAddress
(String customerAddress) The IP address assigned to the customer interface.customerRouterConfig
(String customerRouterConfig) The customer router configuration.directConnectGatewayId
(String directConnectGatewayId) The ID of the Direct Connect gateway.jumboFrameCapable
(Boolean jumboFrameCapable) Indicates whether jumbo frames are supported.The location of the connection.The maximum transmission unit (MTU), in bytes.ownerAccount
(String ownerAccount) The ID of the Amazon Web Services account that owns the virtual interface.The Amazon Web Services Region where the virtual interface is located.routeFilterPrefixes
(Collection<RouteFilterPrefix> routeFilterPrefixes) The routes to be advertised to the Amazon Web Services network in this Region.routeFilterPrefixes
(Consumer<RouteFilterPrefix.Builder>... routeFilterPrefixes) The routes to be advertised to the Amazon Web Services network in this Region.routeFilterPrefixes
(RouteFilterPrefix... routeFilterPrefixes) The routes to be advertised to the Amazon Web Services network in this Region.siteLinkEnabled
(Boolean siteLinkEnabled) Indicates whether SiteLink is enabled.tags
(Collection<Tag> tags) The tags associated with the virtual interface.tags
(Consumer<Tag.Builder>... tags) The tags associated with the virtual interface.The tags associated with the virtual interface.virtualGatewayId
(String virtualGatewayId) The ID of the virtual private gateway.virtualInterfaceId
(String virtualInterfaceId) The ID of the virtual interface.virtualInterfaceName
(String virtualInterfaceName) The name of the virtual interface assigned by the customer network.virtualInterfaceState
(String virtualInterfaceState) The state of the virtual interface.virtualInterfaceState
(VirtualInterfaceState virtualInterfaceState) The state of the virtual interface.virtualInterfaceType
(String virtualInterfaceType) The type of virtual interface.The ID of the VLAN.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.directconnect.model.DirectConnectResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
ownerAccount
The ID of the Amazon Web Services account that owns the virtual interface.
- Parameters:
ownerAccount
- The ID of the Amazon Web Services account that owns the virtual interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
virtualInterfaceId
The ID of the virtual interface.
- Parameters:
virtualInterfaceId
- The ID of the virtual interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
location
The location of the connection.
- Parameters:
location
- The location of the connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectionId
The ID of the connection.
- Parameters:
connectionId
- The ID of the connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
virtualInterfaceType
The type of virtual interface. The possible values are
private
andpublic
.- Parameters:
virtualInterfaceType
- The type of virtual interface. The possible values areprivate
andpublic
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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
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.
-
amazonSideAsn
The autonomous system number (ASN) for the Amazon side of the connection.
- Parameters:
amazonSideAsn
- The autonomous system number (ASN) for the Amazon side of the connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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
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
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
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:
-
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 theConfirming
state is deleted by the virtual interface owner, the virtual interface enters theRejected
state. -
unknown
: The state of the virtual interface is not available.
- Parameters:
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 theConfirming
state is deleted by the virtual interface owner, the virtual interface enters theRejected
state. -
unknown
: The state of the virtual interface is not available.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
virtualInterfaceState
AssociateVirtualInterfaceResponse.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 theConfirming
state is deleted by the virtual interface owner, the virtual interface enters theRejected
state. -
unknown
: The state of the virtual interface is not available.
- Parameters:
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 theConfirming
state is deleted by the virtual interface owner, the virtual interface enters theRejected
state. -
unknown
: The state of the virtual interface is not available.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
customerRouterConfig
The customer router configuration.
- Parameters:
customerRouterConfig
- The customer router configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mtu
The maximum transmission unit (MTU), in bytes. The supported values are 1500 and 8500. The default value is 1500
- Parameters:
mtu
- The maximum transmission unit (MTU), in bytes. The supported values are 1500 and 8500. The default value is 1500- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jumboFrameCapable
Indicates whether jumbo frames are supported.
- Parameters:
jumboFrameCapable
- Indicates whether jumbo frames are supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
virtualGatewayId
The ID of the virtual private gateway. Applies only to private virtual interfaces.
- Parameters:
virtualGatewayId
- The ID of the virtual private gateway. Applies only to private virtual interfaces.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
directConnectGatewayId
The ID of the Direct Connect gateway.
- Parameters:
directConnectGatewayId
- The ID of the Direct Connect gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routeFilterPrefixes
AssociateVirtualInterfaceResponse.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
AssociateVirtualInterfaceResponse.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
AssociateVirtualInterfaceResponse.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.Builder
avoiding the need to create one manually viaRouteFilterPrefix.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torouteFilterPrefixes(List<RouteFilterPrefix>)
.- 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:
-
bgpPeers
The BGP peers configured on this virtual interface.
- Parameters:
bgpPeers
- The BGP peers configured on this virtual interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bgpPeers
The BGP peers configured on this virtual interface.
- Parameters:
bgpPeers
- The BGP peers configured on this virtual interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bgpPeers
The BGP peers configured on this virtual interface.
This is a convenience method that creates an instance of theBGPPeer.Builder
avoiding the need to create one manually viaBGPPeer.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobgpPeers(List<BGPPeer>)
.- Parameters:
bgpPeers
- a consumer that will call methods onBGPPeer.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
region
The Amazon Web Services Region where the virtual interface is located.
- Parameters:
region
- The Amazon Web Services Region where the virtual interface is located.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsDeviceV2
The Direct Connect endpoint that terminates the physical connection.
- Parameters:
awsDeviceV2
- The Direct Connect endpoint that terminates the physical connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsLogicalDeviceId
The Direct Connect endpoint that terminates the logical connection. This device might be different than the device that terminates the physical connection.
- Parameters:
awsLogicalDeviceId
- The Direct Connect endpoint that terminates the logical connection. This device might be different than the device that terminates the physical connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags associated with the virtual interface.
- Parameters:
tags
- The tags associated with the virtual interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags associated with the virtual interface.
- Parameters:
tags
- The tags associated with the virtual interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags associated with the virtual interface.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- 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:
-
siteLinkEnabled
Indicates whether SiteLink is enabled.
- Parameters:
siteLinkEnabled
- Indicates whether SiteLink is enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-