Interface CreateConnectionResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateConnectionResponse.Builder,CreateConnectionResponse>,DirectConnectResponse.Builder,SdkBuilder<CreateConnectionResponse.Builder,CreateConnectionResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateConnectionResponse
public static interface CreateConnectionResponse.Builder extends DirectConnectResponse.Builder, SdkPojo, CopyableBuilder<CreateConnectionResponse.Builder,CreateConnectionResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateConnectionResponse.BuilderawsDevice(String awsDevice)The Direct Connect endpoint on which the physical connection terminates.CreateConnectionResponse.BuilderawsDeviceV2(String awsDeviceV2)The Direct Connect endpoint that terminates the physical connection.CreateConnectionResponse.BuilderawsLogicalDeviceId(String awsLogicalDeviceId)The Direct Connect endpoint that terminates the logical connection.CreateConnectionResponse.Builderbandwidth(String bandwidth)The bandwidth of the connection.CreateConnectionResponse.BuilderconnectionId(String connectionId)The ID of the connection.CreateConnectionResponse.BuilderconnectionName(String connectionName)The name of the connection.CreateConnectionResponse.BuilderconnectionState(String connectionState)The state of the connection.CreateConnectionResponse.BuilderconnectionState(ConnectionState connectionState)The state of the connection.CreateConnectionResponse.BuilderencryptionMode(String encryptionMode)The MAC Security (MACsec) connection encryption mode.CreateConnectionResponse.BuilderhasLogicalRedundancy(String hasLogicalRedundancy)Indicates whether the connection supports a secondary BGP peer in the same address family (IPv4/IPv6).CreateConnectionResponse.BuilderhasLogicalRedundancy(HasLogicalRedundancy hasLogicalRedundancy)Indicates whether the connection supports a secondary BGP peer in the same address family (IPv4/IPv6).CreateConnectionResponse.BuilderjumboFrameCapable(Boolean jumboFrameCapable)Indicates whether jumbo frames are supported.CreateConnectionResponse.BuilderlagId(String lagId)The ID of the LAG.CreateConnectionResponse.BuilderloaIssueTime(Instant loaIssueTime)The time of the most recent call to DescribeLoa for this connection.CreateConnectionResponse.Builderlocation(String location)The location of the connection.CreateConnectionResponse.BuildermacSecCapable(Boolean macSecCapable)Indicates whether the connection supports MAC Security (MACsec).CreateConnectionResponse.BuildermacSecKeys(Collection<MacSecKey> macSecKeys)The MAC Security (MACsec) security keys associated with the connection.CreateConnectionResponse.BuildermacSecKeys(Consumer<MacSecKey.Builder>... macSecKeys)The MAC Security (MACsec) security keys associated with the connection.CreateConnectionResponse.BuildermacSecKeys(MacSecKey... macSecKeys)The MAC Security (MACsec) security keys associated with the connection.CreateConnectionResponse.BuilderownerAccount(String ownerAccount)The ID of the Amazon Web Services account that owns the connection.CreateConnectionResponse.BuilderpartnerName(String partnerName)The name of the Direct Connect service provider associated with the connection.CreateConnectionResponse.BuilderportEncryptionStatus(String portEncryptionStatus)The MAC Security (MACsec) port link status of the connection.CreateConnectionResponse.BuilderproviderName(String providerName)The name of the service provider associated with the connection.CreateConnectionResponse.Builderregion(String region)The Amazon Web Services Region where the connection is located.CreateConnectionResponse.Buildertags(Collection<Tag> tags)The tags associated with the connection.CreateConnectionResponse.Buildertags(Consumer<Tag.Builder>... tags)The tags associated with the connection.CreateConnectionResponse.Buildertags(Tag... tags)The tags associated with the connection.CreateConnectionResponse.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
CreateConnectionResponse.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
CreateConnectionResponse.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
CreateConnectionResponse.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
CreateConnectionResponse.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
CreateConnectionResponse.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
CreateConnectionResponse.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
CreateConnectionResponse.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
CreateConnectionResponse.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
CreateConnectionResponse.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
CreateConnectionResponse.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
CreateConnectionResponse.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
CreateConnectionResponse.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
CreateConnectionResponse.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
CreateConnectionResponse.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
CreateConnectionResponse.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
CreateConnectionResponse.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
CreateConnectionResponse.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
CreateConnectionResponse.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
CreateConnectionResponse.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
CreateConnectionResponse.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
CreateConnectionResponse.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
CreateConnectionResponse.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
CreateConnectionResponse.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
CreateConnectionResponse.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
CreateConnectionResponse.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
CreateConnectionResponse.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
CreateConnectionResponse.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
CreateConnectionResponse.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)
-
-