Interface UpdateContentRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateContentRequest.Builder,,UpdateContentRequest> QConnectRequest.Builder,SdkBuilder<UpdateContentRequest.Builder,,UpdateContentRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateContentRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe identifier of the content.knowledgeBaseId(String knowledgeBaseId) The identifier of the knowledge base.A key/value map to store attributes without affecting tagging or recommendations.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.overrideLinkOutUri(String overrideLinkOutUri) The URI for the article.removeOverrideLinkOutUri(Boolean removeOverrideLinkOutUri) Unset the existingoverrideLinkOutUriif it exists.revisionId(String revisionId) TherevisionIdof the content resource to update, taken from an earlier call toGetContent,GetContentSummary,SearchContent, orListContents.The title of the content.A pointer to the uploaded asset.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
-
contentId
The identifier of the content. Can be either the ID or the ARN. URLs cannot contain the ARN.
- Parameters:
contentId- The identifier of the content. 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.
-
knowledgeBaseId
The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base. Can be either the ID or the ARN
- Parameters:
knowledgeBaseId- The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base. Can be either the ID or the ARN- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadata
A key/value map to store attributes without affecting tagging or recommendations. For example, when synchronizing data between an external system and Amazon Q in Connect, you can store an external version identifier as metadata to utilize for determining drift.
- Parameters:
metadata- A key/value map to store attributes without affecting tagging or recommendations. For example, when synchronizing data between an external system and Amazon Q in Connect, you can store an external version identifier as metadata to utilize for determining drift.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideLinkOutUri
The URI for the article. If the knowledge base has a templateUri, setting this argument overrides it for this piece of content. To remove an existing
overrideLinkOurUri, exclude this argument and setremoveOverrideLinkOutUrito true.- Parameters:
overrideLinkOutUri- The URI for the article. If the knowledge base has a templateUri, setting this argument overrides it for this piece of content. To remove an existingoverrideLinkOurUri, exclude this argument and setremoveOverrideLinkOutUrito true.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
removeOverrideLinkOutUri
Unset the existing
overrideLinkOutUriif it exists.- Parameters:
removeOverrideLinkOutUri- Unset the existingoverrideLinkOutUriif it exists.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revisionId
The
revisionIdof the content resource to update, taken from an earlier call toGetContent,GetContentSummary,SearchContent, orListContents. If included, this argument acts as an optimistic lock to ensure content was not modified since it was last read. If it has been modified, this API throws aPreconditionFailedException.- Parameters:
revisionId- TherevisionIdof the content resource to update, taken from an earlier call toGetContent,GetContentSummary,SearchContent, orListContents. If included, this argument acts as an optimistic lock to ensure content was not modified since it was last read. If it has been modified, this API throws aPreconditionFailedException.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
title
The title of the content.
- Parameters:
title- The title of the content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
uploadId
A pointer to the uploaded asset. This value is returned by StartContentUpload.
- Parameters:
uploadId- A pointer to the uploaded asset. This value is returned by StartContentUpload.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateContentRequest.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
UpdateContentRequest.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.
-