Interface CreateAssistantAssociationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateAssistantAssociationRequest.Builder,
,CreateAssistantAssociationRequest> SdkBuilder<CreateAssistantAssociationRequest.Builder,
,CreateAssistantAssociationRequest> SdkPojo
,SdkRequest.Builder
,WisdomRequest.Builder
- Enclosing class:
CreateAssistantAssociationRequest
public static interface CreateAssistantAssociationRequest.Builder
extends WisdomRequest.Builder, SdkPojo, CopyableBuilder<CreateAssistantAssociationRequest.Builder,CreateAssistantAssociationRequest>
-
Method Summary
Modifier and TypeMethodDescriptionassistantId
(String assistantId) The identifier of the Wisdom assistant.association
(Consumer<AssistantAssociationInputData.Builder> association) The identifier of the associated resource.association
(AssistantAssociationInputData association) The identifier of the associated resource.associationType
(String associationType) The type of association.associationType
(AssociationType associationType) The type of association.clientToken
(String clientToken) A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The tags used to organize, track, or control access for this resource.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.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.services.wisdom.model.WisdomRequest.Builder
build
-
Method Details
-
assistantId
The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
- Parameters:
assistantId
- The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
association
The identifier of the associated resource.
- Parameters:
association
- The identifier of the associated resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
association
default CreateAssistantAssociationRequest.Builder association(Consumer<AssistantAssociationInputData.Builder> association) The identifier of the associated resource.
This is a convenience method that creates an instance of theAssistantAssociationInputData.Builder
avoiding the need to create one manually viaAssistantAssociationInputData.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toassociation(AssistantAssociationInputData)
.- Parameters:
association
- a consumer that will call methods onAssistantAssociationInputData.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
associationType
The type of association.
- Parameters:
associationType
- The type of association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
associationType
The type of association.
- Parameters:
associationType
- The type of association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientToken
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
- Parameters:
clientToken
- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags used to organize, track, or control access for this resource.
- Parameters:
tags
- The tags used to organize, track, or control access for this resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateAssistantAssociationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateAssistantAssociationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-