public CreateTrialComponentRequest withDisplayName(String displayName) {
        setDisplayName(displayName);
        return this;
    }
<p>
The name of the component as displayed. The name doesn't need to be unique. If <code>DisplayName</code> isn't
specified, <code>TrialComponentName</code> is displayed.
</p>

@param displayName
       The name of the component as displayed. The name doesn't need to be unique. If <code>DisplayName</code>
       isn't specified, <code>TrialComponentName</code> is displayed.
@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/CreateTrialComponentRequest.java