Interface ImportJobData.Builder

    • Method Detail

      • createdTime

        ImportJobData.Builder createdTime​(Instant createdTime)

        The timestamp when the import job was created.

        Parameters:
        createdTime - The timestamp when the import job was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • externalSourceConfiguration

        ImportJobData.Builder externalSourceConfiguration​(ExternalSourceConfiguration externalSourceConfiguration)
        Sets the value of the ExternalSourceConfiguration property for this object.
        Parameters:
        externalSourceConfiguration - The new value for the ExternalSourceConfiguration property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • failedRecordReport

        ImportJobData.Builder failedRecordReport​(String failedRecordReport)

        The link to donwload the information of resource data that failed to be imported.

        Parameters:
        failedRecordReport - The link to donwload the information of resource data that failed to be imported.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • importJobId

        ImportJobData.Builder importJobId​(String importJobId)

        The identifier of the import job.

        Parameters:
        importJobId - The identifier of the import job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • importJobType

        ImportJobData.Builder importJobType​(String importJobType)

        The type of the import job.

        Parameters:
        importJobType - The type of the import job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ImportJobType, ImportJobType
      • knowledgeBaseArn

        ImportJobData.Builder knowledgeBaseArn​(String knowledgeBaseArn)

        The Amazon Resource Name (ARN) of the knowledge base.

        Parameters:
        knowledgeBaseArn - The Amazon Resource Name (ARN) of the knowledge base.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • knowledgeBaseId

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

        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastModifiedTime

        ImportJobData.Builder lastModifiedTime​(Instant lastModifiedTime)

        The timestamp when the import job data was last modified.

        Parameters:
        lastModifiedTime - The timestamp when the import job data was last modified.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • metadata

        ImportJobData.Builder metadata​(Map<String,​String> metadata)

        The metadata fields of the imported Wisdom resources.

        Parameters:
        metadata - The metadata fields of the imported Wisdom resources.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • uploadId

        ImportJobData.Builder uploadId​(String 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.
      • url

        ImportJobData.Builder url​(String url)

        The download link to the resource file that is uploaded to the import job.

        Parameters:
        url - The download link to the resource file that is uploaded to the import job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • urlExpiry

        ImportJobData.Builder urlExpiry​(Instant urlExpiry)

        The expiration time of the URL as an epoch timestamp.

        Parameters:
        urlExpiry - The expiration time of the URL as an epoch timestamp.
        Returns:
        Returns a reference to this object so that method calls can be chained together.