Interface AcceptConnectionProposalRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<AcceptConnectionProposalRequest.Builder,,AcceptConnectionProposalRequest> InterconnectRequest.Builder,SdkBuilder<AcceptConnectionProposalRequest.Builder,,AcceptConnectionProposalRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
AcceptConnectionProposalRequest
@Mutable
@NotThreadSafe
public static interface AcceptConnectionProposalRequest.Builder
extends InterconnectRequest.Builder, SdkPojo, CopyableBuilder<AcceptConnectionProposalRequest.Builder,AcceptConnectionProposalRequest>
-
Method Summary
Modifier and TypeMethodDescriptionactivationKey(String activationKey) An Activation Key that was generated on a supported partner's portal.attachPoint(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.clientToken(String clientToken) Idempotency token used for the request.description(String description) A description to distinguish this Connection.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The tags 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
-
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
default AcceptConnectionProposalRequest.Builder attachPoint(Consumer<AttachPoint.Builder> 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:
-
activationKey
An Activation Key that was generated on a supported partner's portal. This key captures the desired parameters from the initial creation request.
The details of this request can be described using with DescribeConnectionProposal.
- Parameters:
activationKey- An Activation Key that was generated on a supported partner's portal. This key captures the desired parameters from the initial creation request.The details of this request can be described using with DescribeConnectionProposal.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
tags
The tags to associate with the resulting Connection.
- Parameters:
tags- The tags 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
AcceptConnectionProposalRequest.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
AcceptConnectionProposalRequest.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.
-