Interface CreateContentAssociationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateContentAssociationRequest.Builder,
,CreateContentAssociationRequest> QConnectRequest.Builder
,SdkBuilder<CreateContentAssociationRequest.Builder,
,CreateContentAssociationRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateContentAssociationRequest
@Mutable
@NotThreadSafe
public static interface CreateContentAssociationRequest.Builder
extends QConnectRequest.Builder, SdkPojo, CopyableBuilder<CreateContentAssociationRequest.Builder,CreateContentAssociationRequest>
-
Method Summary
Modifier and TypeMethodDescriptionassociation
(Consumer<ContentAssociationContents.Builder> association) The identifier of the associated resource.association
(ContentAssociationContents association) The identifier of the associated resource.associationType
(String associationType) The type of association.associationType
(ContentAssociationType associationType) The type of association.clientToken
(String clientToken) A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.The identifier of the content.knowledgeBaseId
(String knowledgeBaseId) The identifier of the knowledge base.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.services.qconnect.model.QConnectRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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.
-
knowledgeBaseId
The identifier of the knowledge base.
- Parameters:
knowledgeBaseId
- The identifier of the knowledge base.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contentId
The identifier of the content.
- Parameters:
contentId
- The identifier of the content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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:
-
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 CreateContentAssociationRequest.Builder association(Consumer<ContentAssociationContents.Builder> association) The identifier of the associated resource.
This is a convenience method that creates an instance of theContentAssociationContents.Builder
avoiding the need to create one manually viaContentAssociationContents.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toassociation(ContentAssociationContents)
.- Parameters:
association
- a consumer that will call methods onContentAssociationContents.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
CreateContentAssociationRequest.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
CreateContentAssociationRequest.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.
-