public EvaluationDatasetMetricConfig withDataset(EvaluationDataset dataset) {
        setDataset(dataset);
        return this;
    }
<p>
Specifies the prompt dataset.
</p>

@param dataset
       Specifies the prompt dataset.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-bedrock/src/main/java/com/amazonaws/services/bedrock/model/EvaluationDatasetMetricConfig.java