public void setPeriod(Integer period) {
        this.period = period;
    }
<p>
The length of time associated with the CloudWatch metric in number of seconds.
</p>

@param period
       The length of time associated with the CloudWatch metric in number of seconds.
aws-java-sdk-devopsguru/src/main/java/com/amazonaws/services/devopsguru/model/CloudWatchMetricsDetail.java