public GetTrainingDatasetResult withStatus(TrainingDatasetStatus status) {
        this.status = status.toString();
        return this;
    }
<p>
The status of the training dataset.
</p>

@param status
       The status of the training dataset.
@return Returns a reference to this object so that method calls can be chained together.
@see TrainingDatasetStatus
aws-java-sdk-cleanroomsml/src/main/java/com/amazonaws/services/cleanroomsml/model/GetTrainingDatasetResult.java