public JobStoppingCondition withMaxRuntimeInSeconds(Integer maxRuntimeInSeconds) {
        setMaxRuntimeInSeconds(maxRuntimeInSeconds);
        return this;
    }
<p>
The maximum length of time, in seconds, that an Amazon Braket job can run.
</p>

@param maxRuntimeInSeconds
       The maximum length of time, in seconds, that an Amazon Braket job can run.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-braket/src/main/java/com/amazonaws/services/braket/model/JobStoppingCondition.java