Interface CreateConnectionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateConnectionRequest.Builder,,CreateConnectionRequest> InterconnectRequest.Builder,SdkBuilder<CreateConnectionRequest.Builder,,CreateConnectionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateConnectionRequest
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateConnectionRequest.BuilderattachPoint(Consumer<AttachPoint.Builder> attachPoint) The Attach Point to which the connection should be associated."attachPoint(AttachPoint attachPoint) The Attach Point to which the connection should be associated."The desired bandwidth of the requested ConnectionclientToken(String clientToken) Idempotency token used for the request.description(String description) A description to distinguish this Connection.environmentId(String environmentId) The identifier of the Environment across which this Connection should be created.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default CreateConnectionRequest.BuilderremoteAccount(Consumer<RemoteAccountIdentifier.Builder> remoteAccount) Account and/or principal identifying information that can be verified by the partner of this specific Environment.remoteAccount(RemoteAccountIdentifier remoteAccount) Account and/or principal identifying information that can be verified by the partner of this specific Environment.The tag to associate with the resulting Connection.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.interconnect.model.InterconnectRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
description
A description to distinguish this Connection.
- Parameters:
description- A description to distinguish this Connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bandwidth
The desired bandwidth of the requested Connection
- Parameters:
bandwidth- The desired bandwidth of the requested Connection- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachPoint
The Attach Point to which the connection should be associated."
- Parameters:
attachPoint- The Attach Point to which the connection should be associated."- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachPoint
The Attach Point to which the connection should be associated."
This is a convenience method that creates an instance of theAttachPoint.Builderavoiding the need to create one manually viaAttachPoint.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toattachPoint(AttachPoint).- Parameters:
attachPoint- a consumer that will call methods onAttachPoint.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
environmentId
The identifier of the Environment across which this Connection should be created.
The available Environment objects can be determined using ListEnvironments.
- Parameters:
environmentId- The identifier of the Environment across which this Connection should be created.The available Environment objects can be determined using ListEnvironments.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
remoteAccount
Account and/or principal identifying information that can be verified by the partner of this specific Environment.
- Parameters:
remoteAccount- Account and/or principal identifying information that can be verified by the partner of this specific Environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
remoteAccount
default CreateConnectionRequest.Builder remoteAccount(Consumer<RemoteAccountIdentifier.Builder> remoteAccount) Account and/or principal identifying information that can be verified by the partner of this specific Environment.
This is a convenience method that creates an instance of theRemoteAccountIdentifier.Builderavoiding the need to create one manually viaRemoteAccountIdentifier.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toremoteAccount(RemoteAccountIdentifier).- Parameters:
remoteAccount- a consumer that will call methods onRemoteAccountIdentifier.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
The tag to associate with the resulting Connection.
- Parameters:
tags- The tag to associate with the resulting Connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
Idempotency token used for the request.
- Parameters:
clientToken- Idempotency token used for the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateConnectionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateConnectionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-