public static interface UpdateContentRequest.Builder extends WisdomRequest.Builder, SdkPojo, CopyableBuilder<UpdateContentRequest.Builder,UpdateContentRequest>
| Modifier and Type | Method and Description |
|---|---|
UpdateContentRequest.Builder |
contentId(String contentId)
The identifier of the content.
|
UpdateContentRequest.Builder |
knowledgeBaseId(String knowledgeBaseId)
The identifier of the knowledge base.
|
UpdateContentRequest.Builder |
metadata(Map<String,String> metadata)
A key/value map to store attributes without affecting tagging or recommendations.
|
UpdateContentRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
UpdateContentRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
UpdateContentRequest.Builder |
overrideLinkOutUri(String overrideLinkOutUri)
The URI for the article.
|
UpdateContentRequest.Builder |
removeOverrideLinkOutUri(Boolean removeOverrideLinkOutUri)
Unset the existing
overrideLinkOutUri if it exists. |
UpdateContentRequest.Builder |
revisionId(String revisionId)
The
revisionId of the content resource to update, taken from an earlier call to
GetContent, GetContentSummary, SearchContent, or
ListContents. |
UpdateContentRequest.Builder |
title(String title)
The title of the content.
|
UpdateContentRequest.Builder |
uploadId(String uploadId)
A pointer to the uploaded asset.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildUpdateContentRequest.Builder contentId(String contentId)
The identifier of the content. Can be either the ID or the ARN. URLs cannot contain the ARN.
contentId - The identifier of the content. Can be either the ID or the ARN. URLs cannot contain the ARN.UpdateContentRequest.Builder knowledgeBaseId(String knowledgeBaseId)
The identifier of the knowledge base. Can be either the ID or the ARN
knowledgeBaseId - The identifier of the knowledge base. Can be either the ID or the ARNUpdateContentRequest.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 Wisdom, you can store an external version identifier as metadata to utilize for determining drift.
metadata - A key/value map to store attributes without affecting tagging or recommendations. For example, when
synchronizing data between an external system and Wisdom, you can store an external version identifier
as metadata to utilize for determining drift.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 set
removeOverrideLinkOutUri to true.
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 set removeOverrideLinkOutUri to true.UpdateContentRequest.Builder removeOverrideLinkOutUri(Boolean removeOverrideLinkOutUri)
Unset the existing overrideLinkOutUri if it exists.
removeOverrideLinkOutUri - Unset the existing overrideLinkOutUri if it exists.UpdateContentRequest.Builder revisionId(String revisionId)
The revisionId of the content resource to update, taken from an earlier call to
GetContent, GetContentSummary, SearchContent, or
ListContents. 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 a
PreconditionFailedException.
revisionId - The revisionId of the content resource to update, taken from an earlier call to
GetContent, GetContentSummary, SearchContent, or
ListContents. 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 a
PreconditionFailedException.UpdateContentRequest.Builder title(String title)
The title of the content.
title - The title of the content.UpdateContentRequest.Builder uploadId(String uploadId)
A pointer to the uploaded asset. This value is returned by StartContentUpload.
uploadId - A pointer to the uploaded asset. This value is returned by StartContentUpload.UpdateContentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderUpdateContentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.