public Stage withDurationInMinutes(Integer durationInMinutes) {
        setDurationInMinutes(durationInMinutes);
        return this;
    }
<p>
The time to wait until beginning the next stage. The duration can only be set to 0 if a target is specified.
</p>

@param durationInMinutes
       The time to wait until beginning the next stage. The duration can only be set to 0 if a target is
       specified.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ssmcontacts/src/main/java/com/amazonaws/services/ssmcontacts/model/Stage.java