public DescribeAlarmsForMetricRequest withPeriod(Integer period) {
        setPeriod(period);
        return this;
    }
<p>
The period, in seconds, over which the statistic is applied.
</p>

@param period
       The period, in seconds, over which the statistic is applied.
@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/DescribeAlarmsForMetricRequest.java