public void setTrial(Trial trial) {
        this.trial = trial;
    }
<p>
The properties of a trial.
</p>

@param trial
       The properties of a trial.
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/SearchRecord.java