Interface DataSourceSummary.Builder

    • Method Detail

      • name

        DataSourceSummary.Builder name​(String name)

        The name of the data source.

        Parameters:
        name - The name of the data source.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • id

        DataSourceSummary.Builder id​(String id)

        The identifier for the data source.

        Parameters:
        id - The identifier for the data source.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • createdAt

        DataSourceSummary.Builder createdAt​(Instant createdAt)

        The Unix timestamp when the data source connector was created.

        Parameters:
        createdAt - The Unix timestamp when the data source connector was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • updatedAt

        DataSourceSummary.Builder updatedAt​(Instant updatedAt)

        The Unix timestamp when the data source connector was last updated.

        Parameters:
        updatedAt - The Unix timestamp when the data source connector was last updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • status

        DataSourceSummary.Builder status​(String status)

        The status of the data source. When the status is ACTIVE the data source is ready to use.

        Parameters:
        status - The status of the data source. When the status is ACTIVE the data source is ready to use.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        DataSourceStatus, DataSourceStatus
      • status

        DataSourceSummary.Builder status​(DataSourceStatus status)

        The status of the data source. When the status is ACTIVE the data source is ready to use.

        Parameters:
        status - The status of the data source. When the status is ACTIVE the data source is ready to use.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        DataSourceStatus, DataSourceStatus
      • languageCode

        DataSourceSummary.Builder languageCode​(String languageCode)

        The code for a language. This shows a supported language for all documents in the data source. English is supported by default. For more information on supported languages, including their codes, see Adding documents in languages other than English.

        Parameters:
        languageCode - The code for a language. This shows a supported language for all documents in the data source. English is supported by default. For more information on supported languages, including their codes, see Adding documents in languages other than English.
        Returns:
        Returns a reference to this object so that method calls can be chained together.