Interface UpdateContentRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateContentRequest.Builder,
,UpdateContentRequest> SdkBuilder<UpdateContentRequest.Builder,
,UpdateContentRequest> SdkPojo
,SdkRequest.Builder
,WisdomRequest.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 existingoverrideLinkOutUri
if it exists.revisionId
(String revisionId) TherevisionId
of 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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.services.wisdom.model.WisdomRequest.Builder
build
-
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 if you're storing Wisdom 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 Wisdom 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
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.
- Parameters:
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.- 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 setremoveOverrideLinkOutUri
to 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 setremoveOverrideLinkOutUri
to true.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
removeOverrideLinkOutUri
Unset the existing
overrideLinkOutUri
if it exists.- Parameters:
removeOverrideLinkOutUri
- Unset the existingoverrideLinkOutUri
if it exists.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revisionId
The
revisionId
of 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
- TherevisionId
of 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-