public TransitionState withEnabled(Boolean enabled) {
        setEnabled(enabled);
        return this;
    }
<p>
Whether the transition between stages is enabled (true) or disabled (false).
</p>

@param enabled
       Whether the transition between stages is enabled (true) or disabled (false).
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-codepipeline/src/main/java/com/amazonaws/services/codepipeline/model/TransitionState.java