Interface CreateLagRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateLagRequest.Builder,
,CreateLagRequest> DirectConnectRequest.Builder
,SdkBuilder<CreateLagRequest.Builder,
,CreateLagRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateLagRequest
-
Method Summary
Modifier and TypeMethodDescriptionchildConnectionTags
(Collection<Tag> childConnectionTags) The tags to associate with the automtically created LAGs.childConnectionTags
(Consumer<Tag.Builder>... childConnectionTags) The tags to associate with the automtically created LAGs.childConnectionTags
(Tag... childConnectionTags) The tags to associate with the automtically created LAGs.connectionId
(String connectionId) The ID of an existing dedicated connection to migrate to the LAG.connectionsBandwidth
(String connectionsBandwidth) The bandwidth of the individual physical dedicated connections bundled by the LAG.The name of the LAG.The location for the LAG.numberOfConnections
(Integer numberOfConnections) The number of physical dedicated connections initially provisioned and bundled by the LAG.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.providerName
(String providerName) The name of the service provider associated with the LAG.requestMACSec
(Boolean requestMACSec) Indicates whether the connection will support MAC Security (MACsec).tags
(Collection<Tag> tags) The tags to associate with the LAG.tags
(Consumer<Tag.Builder>... tags) The tags to associate with the LAG.The tags to associate with the LAG.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.directconnect.model.DirectConnectRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
numberOfConnections
The number of physical dedicated connections initially provisioned and bundled by the LAG. You can have a maximum of four connections when the port speed is 1G or 10G, or two when the port speed is 100G.
- Parameters:
numberOfConnections
- The number of physical dedicated connections initially provisioned and bundled by the LAG. You can have a maximum of four connections when the port speed is 1G or 10G, or two when the port speed is 100G.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
location
The location for the LAG.
- Parameters:
location
- The location for the LAG.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectionsBandwidth
The bandwidth of the individual physical dedicated connections bundled by the LAG. The possible values are 1Gbps and 10Gbps.
- Parameters:
connectionsBandwidth
- The bandwidth of the individual physical dedicated 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.
-
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.
-
connectionId
The ID of an existing dedicated connection to migrate to the LAG.
- Parameters:
connectionId
- The ID of an existing dedicated connection to migrate to the LAG.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags to associate with the LAG.
- Parameters:
tags
- The tags to associate with the LAG.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags to associate with the LAG.
- Parameters:
tags
- The tags to associate with the LAG.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags to associate with the LAG.
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:
-
childConnectionTags
The tags to associate with the automtically created LAGs.
- Parameters:
childConnectionTags
- The tags to associate with the automtically created LAGs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
childConnectionTags
The tags to associate with the automtically created LAGs.
- Parameters:
childConnectionTags
- The tags to associate with the automtically created LAGs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
childConnectionTags
The tags to associate with the automtically created LAGs.
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 tochildConnectionTags(List<Tag>)
.- Parameters:
childConnectionTags
- 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:
-
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.
-
requestMACSec
Indicates whether the connection will support MAC Security (MACsec).
All connections in the LAG must be capable of supporting MAC Security (MACsec). For information about MAC Security (MACsec) prerequisties, see MACsec prerequisties in the Direct Connect User Guide.
- Parameters:
requestMACSec
- Indicates whether the connection will support MAC Security (MACsec).All connections in the LAG must be capable of supporting MAC Security (MACsec). For information about MAC Security (MACsec) prerequisties, see MACsec prerequisties in the Direct Connect User Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateLagRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateLagRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-