Interface CreateConnectionRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateConnectionRequest.Builder,CreateConnectionRequest>,DirectConnectRequest.Builder,SdkBuilder<CreateConnectionRequest.Builder,CreateConnectionRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateConnectionRequest
public static interface CreateConnectionRequest.Builder extends DirectConnectRequest.Builder, SdkPojo, CopyableBuilder<CreateConnectionRequest.Builder,CreateConnectionRequest>
-
-
Method Summary
-
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
-
location
CreateConnectionRequest.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
CreateConnectionRequest.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.
-
connectionName
CreateConnectionRequest.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.
-
lagId
CreateConnectionRequest.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.
-
tags
CreateConnectionRequest.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
CreateConnectionRequest.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
CreateConnectionRequest.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)
-
providerName
CreateConnectionRequest.Builder providerName(String providerName)
The name of the service provider associated with the requested connection.
- Parameters:
providerName- The name of the service provider associated with the requested connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requestMACSec
CreateConnectionRequest.Builder requestMACSec(Boolean requestMACSec)
Indicates whether you want the connection to support MAC Security (MACsec).
MAC Security (MACsec) is only available on dedicated connections. For information about MAC Security (MACsec) prerequisties, see MACsec prerequisties in the Direct Connect User Guide.
- Parameters:
requestMACSec- Indicates whether you want the connection to support MAC Security (MACsec).MAC Security (MACsec) is only available on dedicated connections. 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
CreateConnectionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateConnectionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-