Interface UpdateVirtualInterfaceAttributesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdateVirtualInterfaceAttributesResponse.Builder,UpdateVirtualInterfaceAttributesResponse>,DirectConnectResponse.Builder,SdkBuilder<UpdateVirtualInterfaceAttributesResponse.Builder,UpdateVirtualInterfaceAttributesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- UpdateVirtualInterfaceAttributesResponse
public static interface UpdateVirtualInterfaceAttributesResponse.Builder extends DirectConnectResponse.Builder, SdkPojo, CopyableBuilder<UpdateVirtualInterfaceAttributesResponse.Builder,UpdateVirtualInterfaceAttributesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateVirtualInterfaceAttributesResponse.BuilderaddressFamily(String addressFamily)The address family for the BGP peer.UpdateVirtualInterfaceAttributesResponse.BuilderaddressFamily(AddressFamily addressFamily)The address family for the BGP peer.UpdateVirtualInterfaceAttributesResponse.BuilderamazonAddress(String amazonAddress)The IP address assigned to the Amazon interface.UpdateVirtualInterfaceAttributesResponse.BuilderamazonSideAsn(Long amazonSideAsn)The autonomous system number (ASN) for the Amazon side of the connection.UpdateVirtualInterfaceAttributesResponse.Builderasn(Integer asn)The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.UpdateVirtualInterfaceAttributesResponse.BuilderauthKey(String authKey)The authentication key for BGP configuration.UpdateVirtualInterfaceAttributesResponse.BuilderawsDeviceV2(String awsDeviceV2)The Direct Connect endpoint that terminates the physical connection.UpdateVirtualInterfaceAttributesResponse.BuilderawsLogicalDeviceId(String awsLogicalDeviceId)The Direct Connect endpoint that terminates the logical connection.UpdateVirtualInterfaceAttributesResponse.BuilderbgpPeers(Collection<BGPPeer> bgpPeers)The BGP peers configured on this virtual interface.UpdateVirtualInterfaceAttributesResponse.BuilderbgpPeers(Consumer<BGPPeer.Builder>... bgpPeers)The BGP peers configured on this virtual interface.UpdateVirtualInterfaceAttributesResponse.BuilderbgpPeers(BGPPeer... bgpPeers)The BGP peers configured on this virtual interface.UpdateVirtualInterfaceAttributesResponse.BuilderconnectionId(String connectionId)The ID of the connection.UpdateVirtualInterfaceAttributesResponse.BuildercustomerAddress(String customerAddress)The IP address assigned to the customer interface.UpdateVirtualInterfaceAttributesResponse.BuildercustomerRouterConfig(String customerRouterConfig)The customer router configuration.UpdateVirtualInterfaceAttributesResponse.BuilderdirectConnectGatewayId(String directConnectGatewayId)The ID of the Direct Connect gateway.UpdateVirtualInterfaceAttributesResponse.BuilderjumboFrameCapable(Boolean jumboFrameCapable)Indicates whether jumbo frames are supported.UpdateVirtualInterfaceAttributesResponse.Builderlocation(String location)The location of the connection.UpdateVirtualInterfaceAttributesResponse.Buildermtu(Integer mtu)The maximum transmission unit (MTU), in bytes.UpdateVirtualInterfaceAttributesResponse.BuilderownerAccount(String ownerAccount)The ID of the Amazon Web Services account that owns the virtual interface.UpdateVirtualInterfaceAttributesResponse.Builderregion(String region)The Amazon Web Services Region where the virtual interface is located.UpdateVirtualInterfaceAttributesResponse.BuilderrouteFilterPrefixes(Collection<RouteFilterPrefix> routeFilterPrefixes)The routes to be advertised to the Amazon Web Services network in this Region.UpdateVirtualInterfaceAttributesResponse.BuilderrouteFilterPrefixes(Consumer<RouteFilterPrefix.Builder>... routeFilterPrefixes)The routes to be advertised to the Amazon Web Services network in this Region.UpdateVirtualInterfaceAttributesResponse.BuilderrouteFilterPrefixes(RouteFilterPrefix... routeFilterPrefixes)The routes to be advertised to the Amazon Web Services network in this Region.UpdateVirtualInterfaceAttributesResponse.BuildersiteLinkEnabled(Boolean siteLinkEnabled)Indicates whether SiteLink is enabled.UpdateVirtualInterfaceAttributesResponse.Buildertags(Collection<Tag> tags)The tags associated with the virtual interface.UpdateVirtualInterfaceAttributesResponse.Buildertags(Consumer<Tag.Builder>... tags)The tags associated with the virtual interface.UpdateVirtualInterfaceAttributesResponse.Buildertags(Tag... tags)The tags associated with the virtual interface.UpdateVirtualInterfaceAttributesResponse.BuildervirtualGatewayId(String virtualGatewayId)The ID of the virtual private gateway.UpdateVirtualInterfaceAttributesResponse.BuildervirtualInterfaceId(String virtualInterfaceId)The ID of the virtual interface.UpdateVirtualInterfaceAttributesResponse.BuildervirtualInterfaceName(String virtualInterfaceName)The name of the virtual interface assigned by the customer network.UpdateVirtualInterfaceAttributesResponse.BuildervirtualInterfaceState(String virtualInterfaceState)The state of the virtual interface.UpdateVirtualInterfaceAttributesResponse.BuildervirtualInterfaceState(VirtualInterfaceState virtualInterfaceState)The state of the virtual interface.UpdateVirtualInterfaceAttributesResponse.BuildervirtualInterfaceType(String virtualInterfaceType)The type of virtual interface.UpdateVirtualInterfaceAttributesResponse.Buildervlan(Integer vlan)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 Detail
-
ownerAccount
UpdateVirtualInterfaceAttributesResponse.Builder ownerAccount(String 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
UpdateVirtualInterfaceAttributesResponse.Builder virtualInterfaceId(String 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
UpdateVirtualInterfaceAttributesResponse.Builder location(String 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
UpdateVirtualInterfaceAttributesResponse.Builder connectionId(String 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
UpdateVirtualInterfaceAttributesResponse.Builder virtualInterfaceType(String virtualInterfaceType)
The type of virtual interface. The possible values are
privateandpublic.- Parameters:
virtualInterfaceType- The type of virtual interface. The possible values areprivateandpublic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
virtualInterfaceName
UpdateVirtualInterfaceAttributesResponse.Builder virtualInterfaceName(String 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
UpdateVirtualInterfaceAttributesResponse.Builder vlan(Integer 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
UpdateVirtualInterfaceAttributesResponse.Builder asn(Integer 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
UpdateVirtualInterfaceAttributesResponse.Builder amazonSideAsn(Long 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
UpdateVirtualInterfaceAttributesResponse.Builder authKey(String 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
UpdateVirtualInterfaceAttributesResponse.Builder amazonAddress(String 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
UpdateVirtualInterfaceAttributesResponse.Builder customerAddress(String 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
UpdateVirtualInterfaceAttributesResponse.Builder addressFamily(String 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,AddressFamily
-
addressFamily
UpdateVirtualInterfaceAttributesResponse.Builder addressFamily(AddressFamily 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,AddressFamily
-
virtualInterfaceState
UpdateVirtualInterfaceAttributesResponse.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 theConfirmingstate is deleted by the virtual interface owner, the virtual interface enters theRejectedstate. -
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 theConfirmingstate is deleted by the virtual interface owner, the virtual interface enters theRejectedstate. -
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,VirtualInterfaceState
-
-
virtualInterfaceState
UpdateVirtualInterfaceAttributesResponse.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 theConfirmingstate is deleted by the virtual interface owner, the virtual interface enters theRejectedstate. -
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 theConfirmingstate is deleted by the virtual interface owner, the virtual interface enters theRejectedstate. -
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,VirtualInterfaceState
-
-
customerRouterConfig
UpdateVirtualInterfaceAttributesResponse.Builder customerRouterConfig(String 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
UpdateVirtualInterfaceAttributesResponse.Builder mtu(Integer 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
UpdateVirtualInterfaceAttributesResponse.Builder jumboFrameCapable(Boolean 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
UpdateVirtualInterfaceAttributesResponse.Builder virtualGatewayId(String 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
UpdateVirtualInterfaceAttributesResponse.Builder directConnectGatewayId(String 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
UpdateVirtualInterfaceAttributesResponse.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
UpdateVirtualInterfaceAttributesResponse.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
UpdateVirtualInterfaceAttributesResponse.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.Builderavoiding the need to create one manually viaRouteFilterPrefix.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#routeFilterPrefixes(List.) - 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:
#routeFilterPrefixes(java.util.Collection)
-
bgpPeers
UpdateVirtualInterfaceAttributesResponse.Builder bgpPeers(Collection<BGPPeer> 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
UpdateVirtualInterfaceAttributesResponse.Builder bgpPeers(BGPPeer... 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
UpdateVirtualInterfaceAttributesResponse.Builder bgpPeers(Consumer<BGPPeer.Builder>... bgpPeers)
The BGP peers configured on this virtual interface.
This is a convenience method that creates an instance of theBGPPeer.Builderavoiding the need to create one manually viaBGPPeer.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#bgpPeers(List.) - 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:
#bgpPeers(java.util.Collection)
-
region
UpdateVirtualInterfaceAttributesResponse.Builder region(String 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
UpdateVirtualInterfaceAttributesResponse.Builder awsDeviceV2(String 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
UpdateVirtualInterfaceAttributesResponse.Builder awsLogicalDeviceId(String 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
UpdateVirtualInterfaceAttributesResponse.Builder tags(Collection<Tag> 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
UpdateVirtualInterfaceAttributesResponse.Builder tags(Tag... 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
UpdateVirtualInterfaceAttributesResponse.Builder tags(Consumer<Tag.Builder>... tags)
The tags associated with the virtual interface.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - 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:
#tags(java.util.Collection)
-
siteLinkEnabled
UpdateVirtualInterfaceAttributesResponse.Builder siteLinkEnabled(Boolean 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.
-
-