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
-
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 Detail
-
association
CreateContentAssociationRequest.Builder association(ContentAssociationContents 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:
association(ContentAssociationContents)
-
associationType
CreateContentAssociationRequest.Builder associationType(String 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:
ContentAssociationType,ContentAssociationType
-
associationType
CreateContentAssociationRequest.Builder associationType(ContentAssociationType 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:
ContentAssociationType,ContentAssociationType
-
clientToken
CreateContentAssociationRequest.Builder clientToken(String 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
CreateContentAssociationRequest.Builder contentId(String 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
CreateContentAssociationRequest.Builder knowledgeBaseId(String 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
CreateContentAssociationRequest.Builder tags(Map<String,String> 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateContentAssociationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-