Interface CreateContentAssociationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateContentAssociationRequest.Builder,,CreateContentAssociationRequest> QConnectRequest.Builder,SdkBuilder<CreateContentAssociationRequest.Builder,,CreateContentAssociationRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateContentAssociationRequest
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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.qconnect.model.QConnectRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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.Builderavoiding the need to create one manually viaContentAssociationContents.builder().When the
Consumercompletes,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:
-
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.
-
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.
-
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.
-
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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.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.
-