Interface DeleteDatasetResponse.Builder

  • Method Details

    • datasetStatus

      DeleteDatasetResponse.Builder datasetStatus(DatasetStatus datasetStatus)

      The status of the dataset. This contains the state and any error messages. State is DELETING after a successfull call to this API, and any associated error message.

      Parameters:
      datasetStatus - The status of the dataset. This contains the state and any error messages. State is DELETING after a successfull call to this API, and any associated error message.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • datasetStatus

      default DeleteDatasetResponse.Builder datasetStatus(Consumer<DatasetStatus.Builder> datasetStatus)

      The status of the dataset. This contains the state and any error messages. State is DELETING after a successfull call to this API, and any associated error message.

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

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

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