public void setStateReason(String stateReason) {
        this.stateReason = stateReason;
    }
<p>
An explanation for the alarm state, in text format.
</p>

@param stateReason
       An explanation for the alarm state, in text format.
aws-java-sdk-cloudwatch/src/main/java/com/amazonaws/services/cloudwatch/model/CompositeAlarm.java