Interface CreateLagRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateLagRequest.Builder,CreateLagRequest>,DirectConnectRequest.Builder,SdkBuilder<CreateLagRequest.Builder,CreateLagRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateLagRequest
public static interface CreateLagRequest.Builder extends DirectConnectRequest.Builder, SdkPojo, CopyableBuilder<CreateLagRequest.Builder,CreateLagRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateLagRequest.BuilderchildConnectionTags(Collection<Tag> childConnectionTags)The tags to associate with the automtically created LAGs.CreateLagRequest.BuilderchildConnectionTags(Consumer<Tag.Builder>... childConnectionTags)The tags to associate with the automtically created LAGs.CreateLagRequest.BuilderchildConnectionTags(Tag... childConnectionTags)The tags to associate with the automtically created LAGs.CreateLagRequest.BuilderconnectionId(String connectionId)The ID of an existing dedicated connection to migrate to the LAG.CreateLagRequest.BuilderconnectionsBandwidth(String connectionsBandwidth)The bandwidth of the individual physical dedicated connections bundled by the LAG.CreateLagRequest.BuilderlagName(String lagName)The name of the LAG.CreateLagRequest.Builderlocation(String location)The location for the LAG.CreateLagRequest.BuildernumberOfConnections(Integer numberOfConnections)The number of physical dedicated connections initially provisioned and bundled by the LAG.CreateLagRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateLagRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateLagRequest.BuilderproviderName(String providerName)The name of the service provider associated with the LAG.CreateLagRequest.BuilderrequestMACSec(Boolean requestMACSec)Indicates whether the connection will support MAC Security (MACsec).CreateLagRequest.Buildertags(Collection<Tag> tags)The tags to associate with the LAG.CreateLagRequest.Buildertags(Consumer<Tag.Builder>... tags)The tags to associate with the LAG.CreateLagRequest.Buildertags(Tag... tags)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 Detail
-
numberOfConnections
CreateLagRequest.Builder numberOfConnections(Integer 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
CreateLagRequest.Builder location(String 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
CreateLagRequest.Builder connectionsBandwidth(String 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
CreateLagRequest.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.
-
connectionId
CreateLagRequest.Builder connectionId(String 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
CreateLagRequest.Builder tags(Collection<Tag> 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
CreateLagRequest.Builder tags(Tag... 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
CreateLagRequest.Builder tags(Consumer<Tag.Builder>... tags)
The tags to associate 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)
-
childConnectionTags
CreateLagRequest.Builder childConnectionTags(Collection<Tag> 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
CreateLagRequest.Builder childConnectionTags(Tag... 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
CreateLagRequest.Builder childConnectionTags(Consumer<Tag.Builder>... childConnectionTags)
The tags to associate with the automtically created LAGs.
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#childConnectionTags(List.) - 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:
#childConnectionTags(java.util.Collection)
-
providerName
CreateLagRequest.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.
-
requestMACSec
CreateLagRequest.Builder requestMACSec(Boolean 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateLagRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-