Interface CreateContentRequest.Builder

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

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

    • clientToken

      CreateContentRequest.Builder clientToken(String clientToken)

      A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

      Parameters:
      clientToken - A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • knowledgeBaseId

      CreateContentRequest.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. URLs cannot contain 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. URLs cannot contain 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.
    • name

      The name of the content. Each piece of content in a knowledge base must have a unique name. You can retrieve a piece of content using only its knowledge base and its name with the SearchContent API.

      Parameters:
      name - The name of the content. Each piece of content in a knowledge base must have a unique name. You can retrieve a piece of content using only its knowledge base and its name with the SearchContent API.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideLinkOutUri

      CreateContentRequest.Builder overrideLinkOutUri(String overrideLinkOutUri)

      The URI you want to use for the article. If the knowledge base has a templateUri, setting this argument overrides it for this piece of content.

      Parameters:
      overrideLinkOutUri - The URI you want to use for the article. If the knowledge base has a templateUri, setting this argument overrides it for this piece of content.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The tags used to organize, track, or control access for this resource.

      Parameters:
      tags - The tags used to organize, track, or control access for this resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • title

      The title of the content. If not set, the title is equal to the name.

      Parameters:
      title - The title of the content. If not set, the title is equal to the name.
      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

      CreateContentRequest.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.