public IntentClosingSetting withActive(Boolean active) {
        setActive(active);
        return this;
    }
<p>
Specifies whether an intent's closing response is used. When this field is false, the closing response isn't sent
to the user. If the <code>active</code> field isn't specified, the default is true.
</p>

@param active
       Specifies whether an intent's closing response is used. When this field is false, the closing response
       isn't sent to the user. If the <code>active</code> field isn't specified, the default is true.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-lexmodelsv2/src/main/java/com/amazonaws/services/lexmodelsv2/model/IntentClosingSetting.java