Interface ImportJobData.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ImportJobData.Builder,ImportJobData>, SdkBuilder<ImportJobData.Builder,ImportJobData>, SdkPojo
Enclosing class:
ImportJobData

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

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

      default ImportJobData.Builder externalSourceConfiguration(Consumer<ExternalSourceConfiguration.Builder> externalSourceConfiguration)
      Sets the value of the ExternalSourceConfiguration property for this object. This is a convenience method that creates an instance of the ExternalSourceConfiguration.Builder avoiding the need to create one manually via ExternalSourceConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to externalSourceConfiguration(ExternalSourceConfiguration).

      Parameters:
      externalSourceConfiguration - a consumer that will call methods on ExternalSourceConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      ImportJobData.Builder importJobType(ImportJobType 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:
    • 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.

      Parameters:
      knowledgeBaseId - The identifier of the knowledge base.
      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 Amazon Q in Connect resources.

      Parameters:
      metadata - The metadata fields of the imported Amazon Q in Connect resources.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      ImportJobData.Builder status(String status)

      The status of the import job.

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

      The status of the import job.

      Parameters:
      status - The status of the import job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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.