Interface CreateLagResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateLagResponse.Builder,CreateLagResponse>,DirectConnectResponse.Builder,SdkBuilder<CreateLagResponse.Builder,CreateLagResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateLagResponse
public static interface CreateLagResponse.Builder extends DirectConnectResponse.Builder, SdkPojo, CopyableBuilder<CreateLagResponse.Builder,CreateLagResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateLagResponse.BuilderallowsHostedConnections(Boolean allowsHostedConnections)Indicates whether the LAG can host other connections.CreateLagResponse.BuilderawsDevice(String awsDevice)The Direct Connect endpoint that hosts the LAG.CreateLagResponse.BuilderawsDeviceV2(String awsDeviceV2)The Direct Connect endpoint that hosts the LAG.CreateLagResponse.BuilderawsLogicalDeviceId(String awsLogicalDeviceId)The Direct Connect endpoint that terminates the logical connection.CreateLagResponse.Builderconnections(Collection<Connection> connections)The connections bundled by the LAG.CreateLagResponse.Builderconnections(Consumer<Connection.Builder>... connections)The connections bundled by the LAG.CreateLagResponse.Builderconnections(Connection... connections)The connections bundled by the LAG.CreateLagResponse.BuilderconnectionsBandwidth(String connectionsBandwidth)The individual bandwidth of the physical connections bundled by the LAG.CreateLagResponse.BuilderencryptionMode(String encryptionMode)The LAG MAC Security (MACsec) encryption mode.CreateLagResponse.BuilderhasLogicalRedundancy(String hasLogicalRedundancy)Indicates whether the LAG supports a secondary BGP peer in the same address family (IPv4/IPv6).CreateLagResponse.BuilderhasLogicalRedundancy(HasLogicalRedundancy hasLogicalRedundancy)Indicates whether the LAG supports a secondary BGP peer in the same address family (IPv4/IPv6).CreateLagResponse.BuilderjumboFrameCapable(Boolean jumboFrameCapable)Indicates whether jumbo frames are supported.CreateLagResponse.BuilderlagId(String lagId)The ID of the LAG.CreateLagResponse.BuilderlagName(String lagName)The name of the LAG.CreateLagResponse.BuilderlagState(String lagState)The state of the LAG.CreateLagResponse.BuilderlagState(LagState lagState)The state of the LAG.CreateLagResponse.Builderlocation(String location)The location of the LAG.CreateLagResponse.BuildermacSecCapable(Boolean macSecCapable)Indicates whether the LAG supports MAC Security (MACsec).CreateLagResponse.BuildermacSecKeys(Collection<MacSecKey> macSecKeys)The MAC Security (MACsec) security keys associated with the LAG.CreateLagResponse.BuildermacSecKeys(Consumer<MacSecKey.Builder>... macSecKeys)The MAC Security (MACsec) security keys associated with the LAG.CreateLagResponse.BuildermacSecKeys(MacSecKey... macSecKeys)The MAC Security (MACsec) security keys associated with the LAG.CreateLagResponse.BuilderminimumLinks(Integer minimumLinks)The minimum number of physical dedicated connections that must be operational for the LAG itself to be operational.CreateLagResponse.BuildernumberOfConnections(Integer numberOfConnections)The number of physical dedicated connections bundled by the LAG, up to a maximum of 10.CreateLagResponse.BuilderownerAccount(String ownerAccount)The ID of the Amazon Web Services account that owns the LAG.CreateLagResponse.BuilderproviderName(String providerName)The name of the service provider associated with the LAG.CreateLagResponse.Builderregion(String region)The Amazon Web Services Region where the connection is located.CreateLagResponse.Buildertags(Collection<Tag> tags)The tags associated with the LAG.CreateLagResponse.Buildertags(Consumer<Tag.Builder>... tags)The tags associated with the LAG.CreateLagResponse.Buildertags(Tag... tags)The tags associated with the LAG.-
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
-
connectionsBandwidth
CreateLagResponse.Builder connectionsBandwidth(String connectionsBandwidth)
The individual bandwidth of the physical connections bundled by the LAG. The possible values are 1Gbps and 10Gbps.
- Parameters:
connectionsBandwidth- The individual bandwidth of the physical connections bundled by the LAG. The possible values are 1Gbps and 10Gbps.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
numberOfConnections
CreateLagResponse.Builder numberOfConnections(Integer numberOfConnections)
The number of physical dedicated connections bundled by the LAG, up to a maximum of 10.
- Parameters:
numberOfConnections- The number of physical dedicated connections bundled by the LAG, up to a maximum of 10.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lagId
CreateLagResponse.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.
-
ownerAccount
CreateLagResponse.Builder ownerAccount(String ownerAccount)
The ID of the Amazon Web Services account that owns the LAG.
- Parameters:
ownerAccount- The ID of the Amazon Web Services account that owns the LAG.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lagName
CreateLagResponse.Builder lagName(String lagName)
The name of the LAG.
- Parameters:
lagName- The name of the LAG.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lagState
CreateLagResponse.Builder lagState(String lagState)
The state of the LAG. The following are the possible values:
-
requested: The initial state of a LAG. The LAG stays in the requested state until the Letter of Authorization (LOA) is available. -
pending: The LAG has been approved and is being initialized. -
available: The network link is established and the LAG is ready for use. -
down: The network link is down. -
deleting: The LAG is being deleted. -
deleted: The LAG is deleted. -
unknown: The state of the LAG is not available.
- Parameters:
lagState- The state of the LAG. The following are the possible values:-
requested: The initial state of a LAG. The LAG stays in the requested state until the Letter of Authorization (LOA) is available. -
pending: The LAG has been approved and is being initialized. -
available: The network link is established and the LAG is ready for use. -
down: The network link is down. -
deleting: The LAG is being deleted. -
deleted: The LAG is deleted. -
unknown: The state of the LAG is not available.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LagState,LagState
-
-
lagState
CreateLagResponse.Builder lagState(LagState lagState)
The state of the LAG. The following are the possible values:
-
requested: The initial state of a LAG. The LAG stays in the requested state until the Letter of Authorization (LOA) is available. -
pending: The LAG has been approved and is being initialized. -
available: The network link is established and the LAG is ready for use. -
down: The network link is down. -
deleting: The LAG is being deleted. -
deleted: The LAG is deleted. -
unknown: The state of the LAG is not available.
- Parameters:
lagState- The state of the LAG. The following are the possible values:-
requested: The initial state of a LAG. The LAG stays in the requested state until the Letter of Authorization (LOA) is available. -
pending: The LAG has been approved and is being initialized. -
available: The network link is established and the LAG is ready for use. -
down: The network link is down. -
deleting: The LAG is being deleted. -
deleted: The LAG is deleted. -
unknown: The state of the LAG is not available.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LagState,LagState
-
-
location
CreateLagResponse.Builder location(String location)
The location of the LAG.
- Parameters:
location- The location of the LAG.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
region
CreateLagResponse.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.
-
minimumLinks
CreateLagResponse.Builder minimumLinks(Integer minimumLinks)
The minimum number of physical dedicated connections that must be operational for the LAG itself to be operational.
- Parameters:
minimumLinks- The minimum number of physical dedicated connections that must be operational for the LAG itself to be operational.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsDevice
CreateLagResponse.Builder awsDevice(String awsDevice)
The Direct Connect endpoint that hosts the LAG.
- Parameters:
awsDevice- The Direct Connect endpoint that hosts the LAG.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsDeviceV2
CreateLagResponse.Builder awsDeviceV2(String awsDeviceV2)
The Direct Connect endpoint that hosts the LAG.
- Parameters:
awsDeviceV2- The Direct Connect endpoint that hosts the LAG.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsLogicalDeviceId
CreateLagResponse.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.
-
connections
CreateLagResponse.Builder connections(Collection<Connection> connections)
The connections bundled by the LAG.
- Parameters:
connections- The connections bundled by the LAG.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connections
CreateLagResponse.Builder connections(Connection... connections)
The connections bundled by the LAG.
- Parameters:
connections- The connections bundled by the LAG.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connections
CreateLagResponse.Builder connections(Consumer<Connection.Builder>... connections)
The connections bundled by the LAG.
This is a convenience method that creates an instance of theConnection.Builderavoiding the need to create one manually viaConnection.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#connections(List.) - Parameters:
connections- a consumer that will call methods onConnection.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#connections(java.util.Collection)
-
allowsHostedConnections
CreateLagResponse.Builder allowsHostedConnections(Boolean allowsHostedConnections)
Indicates whether the LAG can host other connections.
- Parameters:
allowsHostedConnections- Indicates whether the LAG can host other connections.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jumboFrameCapable
CreateLagResponse.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.
-
hasLogicalRedundancy
CreateLagResponse.Builder hasLogicalRedundancy(String hasLogicalRedundancy)
Indicates whether the LAG supports a secondary BGP peer in the same address family (IPv4/IPv6).
- Parameters:
hasLogicalRedundancy- Indicates whether the LAG 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
CreateLagResponse.Builder hasLogicalRedundancy(HasLogicalRedundancy hasLogicalRedundancy)
Indicates whether the LAG supports a secondary BGP peer in the same address family (IPv4/IPv6).
- Parameters:
hasLogicalRedundancy- Indicates whether the LAG 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
CreateLagResponse.Builder tags(Collection<Tag> tags)
The tags associated with the LAG.
- Parameters:
tags- The tags associated with the LAG.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateLagResponse.Builder tags(Tag... tags)
The tags associated with the LAG.
- Parameters:
tags- The tags associated with the LAG.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateLagResponse.Builder tags(Consumer<Tag.Builder>... tags)
The tags associated with the LAG.
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
CreateLagResponse.Builder providerName(String providerName)
The name of the service provider associated with the LAG.
- Parameters:
providerName- The name of the service provider associated with the LAG.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
macSecCapable
CreateLagResponse.Builder macSecCapable(Boolean macSecCapable)
Indicates whether the LAG supports MAC Security (MACsec).
- Parameters:
macSecCapable- Indicates whether the LAG supports MAC Security (MACsec).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionMode
CreateLagResponse.Builder encryptionMode(String encryptionMode)
The LAG MAC Security (MACsec) encryption mode.
The valid values are
no_encrypt,should_encrypt, andmust_encrypt.- Parameters:
encryptionMode- The LAG MAC Security (MACsec) 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
CreateLagResponse.Builder macSecKeys(Collection<MacSecKey> macSecKeys)
The MAC Security (MACsec) security keys associated with the LAG.
- Parameters:
macSecKeys- The MAC Security (MACsec) security keys associated with the LAG.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
macSecKeys
CreateLagResponse.Builder macSecKeys(MacSecKey... macSecKeys)
The MAC Security (MACsec) security keys associated with the LAG.
- Parameters:
macSecKeys- The MAC Security (MACsec) security keys associated with the LAG.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
macSecKeys
CreateLagResponse.Builder macSecKeys(Consumer<MacSecKey.Builder>... macSecKeys)
The MAC Security (MACsec) security keys associated with the LAG.
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)
-
-