Interface DatasetDescription.Builder

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

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

    • projectName

      DatasetDescription.Builder projectName(String projectName)

      The name of the project that contains the dataset.

      Parameters:
      projectName - The name of the project that contains the dataset.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • datasetType

      DatasetDescription.Builder datasetType(String datasetType)

      The type of the dataset. The value train represents a training dataset or single dataset project. The value test represents a test dataset.

      Parameters:
      datasetType - The type of the dataset. The value train represents a training dataset or single dataset project. The value test represents a test dataset.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • creationTimestamp

      DatasetDescription.Builder creationTimestamp(Instant creationTimestamp)

      The Unix timestamp for the time and date that the dataset was created.

      Parameters:
      creationTimestamp - The Unix timestamp for the time and date that the dataset was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastUpdatedTimestamp

      DatasetDescription.Builder lastUpdatedTimestamp(Instant lastUpdatedTimestamp)

      The Unix timestamp for the date and time that the dataset was last updated.

      Parameters:
      lastUpdatedTimestamp - The Unix timestamp for the date and time that the dataset was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The status of the dataset.

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

      The status of the dataset.

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

      DatasetDescription.Builder statusMessage(String statusMessage)

      The status message for the dataset.

      Parameters:
      statusMessage - The status message for the dataset.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • imageStats

      Statistics about the images in a dataset.

      Parameters:
      imageStats - Statistics about the images in a dataset.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • imageStats

      Statistics about the images in a dataset.

      This is a convenience method that creates an instance of the DatasetImageStats.Builder avoiding the need to create one manually via DatasetImageStats.builder().

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

      Parameters:
      imageStats - a consumer that will call methods on DatasetImageStats.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: