public CompositeAlarm withStateValue(String stateValue) {
        setStateValue(stateValue);
        return this;
    }
<p>
The state value for the alarm.
</p>

@param stateValue
       The state value for the alarm.
@return Returns a reference to this object so that method calls can be chained together.
@see StateValue
aws-java-sdk-cloudwatch/src/main/java/com/amazonaws/services/cloudwatch/model/CompositeAlarm.java