Interface IngestionJob.Builder

    • Method Detail

      • knowledgeBaseId

        IngestionJob.Builder knowledgeBaseId​(String knowledgeBaseId)
        Sets the value of the KnowledgeBaseId property for this object.
        Parameters:
        knowledgeBaseId - The new value for the KnowledgeBaseId property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dataSourceId

        IngestionJob.Builder dataSourceId​(String dataSourceId)
        Sets the value of the DataSourceId property for this object.
        Parameters:
        dataSourceId - The new value for the DataSourceId property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ingestionJobId

        IngestionJob.Builder ingestionJobId​(String ingestionJobId)
        Sets the value of the IngestionJobId property for this object.
        Parameters:
        ingestionJobId - The new value for the IngestionJobId property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        IngestionJob.Builder description​(String description)
        Sets the value of the Description property for this object.
        Parameters:
        description - The new value for the Description property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • status

        IngestionJob.Builder status​(String status)
        Sets the value of the Status property for this object.
        Parameters:
        status - The new value for the Status property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        IngestionJobStatus, IngestionJobStatus
      • statistics

        IngestionJob.Builder statistics​(IngestionJobStatistics statistics)
        Sets the value of the Statistics property for this object.
        Parameters:
        statistics - The new value for the Statistics property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • failureReasons

        IngestionJob.Builder failureReasons​(Collection<String> failureReasons)
        Sets the value of the FailureReasons property for this object.
        Parameters:
        failureReasons - The new value for the FailureReasons property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • failureReasons

        IngestionJob.Builder failureReasons​(String... failureReasons)
        Sets the value of the FailureReasons property for this object.
        Parameters:
        failureReasons - The new value for the FailureReasons property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • startedAt

        IngestionJob.Builder startedAt​(Instant startedAt)
        Sets the value of the StartedAt property for this object.
        Parameters:
        startedAt - The new value for the StartedAt property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • updatedAt

        IngestionJob.Builder updatedAt​(Instant updatedAt)
        Sets the value of the UpdatedAt property for this object.
        Parameters:
        updatedAt - The new value for the UpdatedAt property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.