Interface DataSourceSummary.Builder

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

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

    • 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

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

      The type of the data source.

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

      The type of the data source.

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

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