public CreateRunGroupRequest withMaxDuration(Integer maxDuration) {
        setMaxDuration(maxDuration);
        return this;
    }
<p>
A maximum run time for the group in minutes.
</p>

@param maxDuration
       A maximum run time for the group in minutes.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-omics/src/main/java/com/amazonaws/services/omics/model/CreateRunGroupRequest.java