Interface UpdateContentRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateContentRequest.Builder,UpdateContentRequest>,QConnectRequest.Builder,SdkBuilder<UpdateContentRequest.Builder,UpdateContentRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateContentRequest
public static interface UpdateContentRequest.Builder extends QConnectRequest.Builder, SdkPojo, CopyableBuilder<UpdateContentRequest.Builder,UpdateContentRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateContentRequest.BuildercontentId(String contentId)The identifier of the content.UpdateContentRequest.BuilderknowledgeBaseId(String knowledgeBaseId)The identifier of the knowledge base.UpdateContentRequest.Buildermetadata(Map<String,String> metadata)A key/value map to store attributes without affecting tagging or recommendations.UpdateContentRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateContentRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateContentRequest.BuilderoverrideLinkOutUri(String overrideLinkOutUri)The URI for the article.UpdateContentRequest.BuilderremoveOverrideLinkOutUri(Boolean removeOverrideLinkOutUri)Unset the existingoverrideLinkOutUriif it exists.UpdateContentRequest.BuilderrevisionId(String revisionId)TherevisionIdof the content resource to update, taken from an earlier call toGetContent,GetContentSummary,SearchContent, orListContents.UpdateContentRequest.Buildertitle(String title)The title of the content.UpdateContentRequest.BuilderuploadId(String uploadId)A pointer to the uploaded asset.-
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, sdkFields
-
-
-
-
Method Detail
-
contentId
UpdateContentRequest.Builder contentId(String 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
UpdateContentRequest.Builder knowledgeBaseId(String knowledgeBaseId)
The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Amazon Q Content resource to it. 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 if you're storing Amazon Q Content resource to it. Can be either the ID or the ARN- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadata
UpdateContentRequest.Builder metadata(Map<String,String> 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, 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, 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
UpdateContentRequest.Builder overrideLinkOutUri(String 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
UpdateContentRequest.Builder removeOverrideLinkOutUri(Boolean 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
UpdateContentRequest.Builder revisionId(String 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
UpdateContentRequest.Builder title(String 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
UpdateContentRequest.Builder uploadId(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateContentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-