public Parent withTrialName(String trialName) {
        setTrialName(trialName);
        return this;
    }
<p>
The name of the trial.
</p>

@param trialName
       The name of the trial.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/Parent.java