public void setDatasetType(String datasetType) {
        this.datasetType = datasetType;
    }
<p>
The type of the dataset. Specify <code>TRAIN</code> to create a training dataset. Specify <code>TEST</code> to
create a test dataset.
</p>

@param datasetType
       The type of the dataset. Specify <code>TRAIN</code> to create a training dataset. Specify
       <code>TEST</code> to create a test dataset.
@see DatasetType
aws-java-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CreateDatasetRequest.java