Interface AllocateHostedConnectionRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<AllocateHostedConnectionRequest.Builder,AllocateHostedConnectionRequest>,DirectConnectRequest.Builder,SdkBuilder<AllocateHostedConnectionRequest.Builder,AllocateHostedConnectionRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- AllocateHostedConnectionRequest
public static interface AllocateHostedConnectionRequest.Builder extends DirectConnectRequest.Builder, SdkPojo, CopyableBuilder<AllocateHostedConnectionRequest.Builder,AllocateHostedConnectionRequest>
-
-
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
-
connectionId
AllocateHostedConnectionRequest.Builder connectionId(String connectionId)
The ID of the interconnect or LAG.
- Parameters:
connectionId- The ID of the interconnect or LAG.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ownerAccount
AllocateHostedConnectionRequest.Builder ownerAccount(String ownerAccount)
The ID of the Amazon Web Services account ID of the customer for the connection.
- Parameters:
ownerAccount- The ID of the Amazon Web Services account ID of the customer for the connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bandwidth
AllocateHostedConnectionRequest.Builder bandwidth(String bandwidth)
The bandwidth of the connection. The possible values are 50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps, and 10Gbps. Note that only those Direct Connect Partners who have met specific requirements are allowed to create a 1Gbps, 2Gbps, 5Gbps or 10Gbps hosted connection.
- Parameters:
bandwidth- The bandwidth of the connection. The possible values are 50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps, and 10Gbps. Note that only those Direct Connect Partners who have met specific requirements are allowed to create a 1Gbps, 2Gbps, 5Gbps or 10Gbps hosted connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectionName
AllocateHostedConnectionRequest.Builder connectionName(String connectionName)
The name of the hosted connection.
- Parameters:
connectionName- The name of the hosted connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vlan
AllocateHostedConnectionRequest.Builder vlan(Integer vlan)
The dedicated VLAN provisioned to the hosted connection.
- Parameters:
vlan- The dedicated VLAN provisioned to the hosted connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
AllocateHostedConnectionRequest.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
AllocateHostedConnectionRequest.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
AllocateHostedConnectionRequest.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)
-
overrideConfiguration
AllocateHostedConnectionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
AllocateHostedConnectionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-