Interface UpdateConnectionResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdateConnectionResponse.Builder,UpdateConnectionResponse>,DirectConnectResponse.Builder,SdkBuilder<UpdateConnectionResponse.Builder,UpdateConnectionResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- UpdateConnectionResponse
public static interface UpdateConnectionResponse.Builder extends DirectConnectResponse.Builder, SdkPojo, CopyableBuilder<UpdateConnectionResponse.Builder,UpdateConnectionResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateConnectionResponse.BuilderawsDevice(String awsDevice)The Direct Connect endpoint on which the physical connection terminates.UpdateConnectionResponse.BuilderawsDeviceV2(String awsDeviceV2)The Direct Connect endpoint that terminates the physical connection.UpdateConnectionResponse.BuilderawsLogicalDeviceId(String awsLogicalDeviceId)The Direct Connect endpoint that terminates the logical connection.UpdateConnectionResponse.Builderbandwidth(String bandwidth)The bandwidth of the connection.UpdateConnectionResponse.BuilderconnectionId(String connectionId)The ID of the connection.UpdateConnectionResponse.BuilderconnectionName(String connectionName)The name of the connection.UpdateConnectionResponse.BuilderconnectionState(String connectionState)The state of the connection.UpdateConnectionResponse.BuilderconnectionState(ConnectionState connectionState)The state of the connection.UpdateConnectionResponse.BuilderencryptionMode(String encryptionMode)The MAC Security (MACsec) connection encryption mode.UpdateConnectionResponse.BuilderhasLogicalRedundancy(String hasLogicalRedundancy)Indicates whether the connection supports a secondary BGP peer in the same address family (IPv4/IPv6).UpdateConnectionResponse.BuilderhasLogicalRedundancy(HasLogicalRedundancy hasLogicalRedundancy)Indicates whether the connection supports a secondary BGP peer in the same address family (IPv4/IPv6).UpdateConnectionResponse.BuilderjumboFrameCapable(Boolean jumboFrameCapable)Indicates whether jumbo frames are supported.UpdateConnectionResponse.BuilderlagId(String lagId)The ID of the LAG.UpdateConnectionResponse.BuilderloaIssueTime(Instant loaIssueTime)The time of the most recent call to DescribeLoa for this connection.UpdateConnectionResponse.Builderlocation(String location)The location of the connection.UpdateConnectionResponse.BuildermacSecCapable(Boolean macSecCapable)Indicates whether the connection supports MAC Security (MACsec).UpdateConnectionResponse.BuildermacSecKeys(Collection<MacSecKey> macSecKeys)The MAC Security (MACsec) security keys associated with the connection.UpdateConnectionResponse.BuildermacSecKeys(Consumer<MacSecKey.Builder>... macSecKeys)The MAC Security (MACsec) security keys associated with the connection.UpdateConnectionResponse.BuildermacSecKeys(MacSecKey... macSecKeys)The MAC Security (MACsec) security keys associated with the connection.UpdateConnectionResponse.BuilderownerAccount(String ownerAccount)The ID of the Amazon Web Services account that owns the connection.UpdateConnectionResponse.BuilderpartnerName(String partnerName)The name of the Direct Connect service provider associated with the connection.UpdateConnectionResponse.BuilderportEncryptionStatus(String portEncryptionStatus)The MAC Security (MACsec) port link status of the connection.UpdateConnectionResponse.BuilderproviderName(String providerName)The name of the service provider associated with the connection.UpdateConnectionResponse.Builderregion(String region)The Amazon Web Services Region where the connection is located.UpdateConnectionResponse.Buildertags(Collection<Tag> tags)The tags associated with the connection.UpdateConnectionResponse.Buildertags(Consumer<Tag.Builder>... tags)The tags associated with the connection.UpdateConnectionResponse.Buildertags(Tag... tags)The tags associated with the connection.UpdateConnectionResponse.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
UpdateConnectionResponse.Builder ownerAccount(String ownerAccount)
The ID of the Amazon Web Services account that owns the connection.
- Parameters:
ownerAccount- The ID of the Amazon Web Services account that owns the connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectionId
UpdateConnectionResponse.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.
-
connectionName
UpdateConnectionResponse.Builder connectionName(String connectionName)
The name of the connection.
- Parameters:
connectionName- The name of the connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectionState
UpdateConnectionResponse.Builder connectionState(String connectionState)
The state of the connection. The following are the possible values:
-
ordering: The initial state of a hosted connection provisioned on an interconnect. The connection stays in the ordering state until the owner of the hosted connection confirms or declines the connection order. -
requested: The initial state of a standard connection. The connection stays in the requested state until the Letter of Authorization (LOA) is sent to the customer. -
pending: The connection has been approved and is being initialized. -
available: The network link is up and the connection is ready for use. -
down: The network link is down. -
deleting: The connection is being deleted. -
deleted: The connection has been deleted. -
rejected: A hosted connection in theorderingstate enters therejectedstate if it is deleted by the customer. -
unknown: The state of the connection is not available.
- Parameters:
connectionState- The state of the connection. The following are the possible values:-
ordering: The initial state of a hosted connection provisioned on an interconnect. The connection stays in the ordering state until the owner of the hosted connection confirms or declines the connection order. -
requested: The initial state of a standard connection. The connection stays in the requested state until the Letter of Authorization (LOA) is sent to the customer. -
pending: The connection has been approved and is being initialized. -
available: The network link is up and the connection is ready for use. -
down: The network link is down. -
deleting: The connection is being deleted. -
deleted: The connection has been deleted. -
rejected: A hosted connection in theorderingstate enters therejectedstate if it is deleted by the customer. -
unknown: The state of the connection is not available.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ConnectionState,ConnectionState
-
-
connectionState
UpdateConnectionResponse.Builder connectionState(ConnectionState connectionState)
The state of the connection. The following are the possible values:
-
ordering: The initial state of a hosted connection provisioned on an interconnect. The connection stays in the ordering state until the owner of the hosted connection confirms or declines the connection order. -
requested: The initial state of a standard connection. The connection stays in the requested state until the Letter of Authorization (LOA) is sent to the customer. -
pending: The connection has been approved and is being initialized. -
available: The network link is up and the connection is ready for use. -
down: The network link is down. -
deleting: The connection is being deleted. -
deleted: The connection has been deleted. -
rejected: A hosted connection in theorderingstate enters therejectedstate if it is deleted by the customer. -
unknown: The state of the connection is not available.
- Parameters:
connectionState- The state of the connection. The following are the possible values:-
ordering: The initial state of a hosted connection provisioned on an interconnect. The connection stays in the ordering state until the owner of the hosted connection confirms or declines the connection order. -
requested: The initial state of a standard connection. The connection stays in the requested state until the Letter of Authorization (LOA) is sent to the customer. -
pending: The connection has been approved and is being initialized. -
available: The network link is up and the connection is ready for use. -
down: The network link is down. -
deleting: The connection is being deleted. -
deleted: The connection has been deleted. -
rejected: A hosted connection in theorderingstate enters therejectedstate if it is deleted by the customer. -
unknown: The state of the connection is not available.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ConnectionState,ConnectionState
-
-
region
UpdateConnectionResponse.Builder region(String region)
The Amazon Web Services Region where the connection is located.
- Parameters:
region- The Amazon Web Services Region where the connection is located.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
location
UpdateConnectionResponse.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.
-
bandwidth
UpdateConnectionResponse.Builder bandwidth(String bandwidth)
The bandwidth of the connection.
- Parameters:
bandwidth- The bandwidth of the connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vlan
UpdateConnectionResponse.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.
-
partnerName
UpdateConnectionResponse.Builder partnerName(String partnerName)
The name of the Direct Connect service provider associated with the connection.
- Parameters:
partnerName- The name of the Direct Connect service provider associated with the connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loaIssueTime
UpdateConnectionResponse.Builder loaIssueTime(Instant loaIssueTime)
The time of the most recent call to DescribeLoa for this connection.
- Parameters:
loaIssueTime- The time of the most recent call to DescribeLoa for this connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lagId
UpdateConnectionResponse.Builder lagId(String lagId)
The ID of the LAG.
- Parameters:
lagId- The ID of the LAG.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsDevice
UpdateConnectionResponse.Builder awsDevice(String awsDevice)
The Direct Connect endpoint on which the physical connection terminates.
- Parameters:
awsDevice- The Direct Connect endpoint on which the physical connection terminates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jumboFrameCapable
UpdateConnectionResponse.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.
-
awsDeviceV2
UpdateConnectionResponse.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
UpdateConnectionResponse.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.
-
hasLogicalRedundancy
UpdateConnectionResponse.Builder hasLogicalRedundancy(String hasLogicalRedundancy)
Indicates whether the connection supports a secondary BGP peer in the same address family (IPv4/IPv6).
- Parameters:
hasLogicalRedundancy- Indicates whether the connection supports a secondary BGP peer in the same address family (IPv4/IPv6).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
HasLogicalRedundancy,HasLogicalRedundancy
-
hasLogicalRedundancy
UpdateConnectionResponse.Builder hasLogicalRedundancy(HasLogicalRedundancy hasLogicalRedundancy)
Indicates whether the connection supports a secondary BGP peer in the same address family (IPv4/IPv6).
- Parameters:
hasLogicalRedundancy- Indicates whether the connection supports a secondary BGP peer in the same address family (IPv4/IPv6).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
HasLogicalRedundancy,HasLogicalRedundancy
-
tags
UpdateConnectionResponse.Builder tags(Collection<Tag> tags)
The tags associated with the connection.
- Parameters:
tags- The tags associated with the connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
UpdateConnectionResponse.Builder tags(Tag... tags)
The tags associated with the connection.
- Parameters:
tags- The tags associated with the connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
UpdateConnectionResponse.Builder tags(Consumer<Tag.Builder>... tags)
The tags associated with the connection.
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)
-
providerName
UpdateConnectionResponse.Builder providerName(String providerName)
The name of the service provider associated with the connection.
- Parameters:
providerName- The name of the service provider associated with the connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
macSecCapable
UpdateConnectionResponse.Builder macSecCapable(Boolean macSecCapable)
Indicates whether the connection supports MAC Security (MACsec).
- Parameters:
macSecCapable- Indicates whether the connection supports MAC Security (MACsec).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
portEncryptionStatus
UpdateConnectionResponse.Builder portEncryptionStatus(String portEncryptionStatus)
The MAC Security (MACsec) port link status of the connection.
The valid values are
Encryption Up, which means that there is an active Connection Key Name, orEncryption Down.- Parameters:
portEncryptionStatus- The MAC Security (MACsec) port link status of the connection.The valid values are
Encryption Up, which means that there is an active Connection Key Name, orEncryption Down.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionMode
UpdateConnectionResponse.Builder encryptionMode(String encryptionMode)
The MAC Security (MACsec) connection encryption mode.
The valid values are
no_encrypt,should_encrypt, andmust_encrypt.- Parameters:
encryptionMode- The MAC Security (MACsec) connection encryption mode.The valid values are
no_encrypt,should_encrypt, andmust_encrypt.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
macSecKeys
UpdateConnectionResponse.Builder macSecKeys(Collection<MacSecKey> macSecKeys)
The MAC Security (MACsec) security keys associated with the connection.
- Parameters:
macSecKeys- The MAC Security (MACsec) security keys associated with the connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
macSecKeys
UpdateConnectionResponse.Builder macSecKeys(MacSecKey... macSecKeys)
The MAC Security (MACsec) security keys associated with the connection.
- Parameters:
macSecKeys- The MAC Security (MACsec) security keys associated with the connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
macSecKeys
UpdateConnectionResponse.Builder macSecKeys(Consumer<MacSecKey.Builder>... macSecKeys)
The MAC Security (MACsec) security keys associated with the connection.
This is a convenience method that creates an instance of theMacSecKey.Builderavoiding the need to create one manually viaMacSecKey.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#macSecKeys(List.) - Parameters:
macSecKeys- a consumer that will call methods onMacSecKey.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#macSecKeys(java.util.Collection)
-
-