Interface StartContentUploadRequest.Builder

    • Method Detail

      • contentType

        StartContentUploadRequest.Builder contentType​(String contentType)

        The type of content to upload.

        Parameters:
        contentType - The type of content to upload.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • knowledgeBaseId

        StartContentUploadRequest.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.
      • presignedUrlTimeToLive

        StartContentUploadRequest.Builder presignedUrlTimeToLive​(Integer presignedUrlTimeToLive)

        The expected expiration time of the generated presigned URL, specified in minutes.

        Parameters:
        presignedUrlTimeToLive - The expected expiration time of the generated presigned URL, specified in minutes.
        Returns:
        Returns a reference to this object so that method calls can be chained together.