public DescribeAlarmsRequest withAlarmNamePrefix(String alarmNamePrefix) {
        setAlarmNamePrefix(alarmNamePrefix);
        return this;
    }
<p>
An alarm name prefix. If you specify this parameter, you receive information about all alarms that have names
that start with this prefix.
</p>
<p>
If this parameter is specified, you cannot specify <code>AlarmNames</code>.
</p>

@param alarmNamePrefix
       An alarm name prefix. If you specify this parameter, you receive information about all alarms that have
       names that start with this prefix.</p>
       <p>
       If this parameter is specified, you cannot specify <code>AlarmNames</code>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-cloudwatch/src/main/java/com/amazonaws/services/cloudwatch/model/DescribeAlarmsRequest.java