Interface UpdateContentRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<UpdateContentRequest.Builder,UpdateContentRequest>, SdkBuilder<UpdateContentRequest.Builder,UpdateContentRequest>, SdkPojo, SdkRequest.Builder, WisdomRequest.Builder
Enclosing class:
UpdateContentRequest

public static interface UpdateContentRequest.Builder extends WisdomRequest.Builder, SdkPojo, CopyableBuilder<UpdateContentRequest.Builder,UpdateContentRequest>
  • Method Details

    • 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 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

      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.

      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 existing overrideLinkOurUri, exclude this argument and set removeOverrideLinkOutUri to 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 overrideLinkOutUri if it exists.

      Parameters:
      removeOverrideLinkOutUri - Unset the existing overrideLinkOutUri if it exists.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • revisionId

      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.

      Parameters:
      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.
      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 interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.