public void setPeriodicSpikes(Boolean periodicSpikes) {
        this.periodicSpikes = periodicSpikes;
    }
<p>
Set this parameter to <code>true</code> if values for this metric consistently include spikes that should not be
considered to be anomalies. With this set to <code>true</code>, CloudWatch will expect to see spikes that
occurred consistently during the model training period, and won't flag future similar spikes as anomalies.
</p>

@param periodicSpikes
       Set this parameter to <code>true</code> if values for this metric consistently include spikes that should
       not be considered to be anomalies. With this set to <code>true</code>, CloudWatch will expect to see
       spikes that occurred consistently during the model training period, and won't flag future similar spikes
       as anomalies.
aws-java-sdk-cloudwatch/src/main/java/com/amazonaws/services/cloudwatch/model/MetricCharacteristics.java