public void setPeriod(Integer period) {
        this.period = period;
    }
<p>
The granularity, in seconds, for the metric data points that will be returned.
</p>

@param period
       The granularity, in seconds, for the metric data points that will be returned.
aws-java-sdk-lightsail/src/main/java/com/amazonaws/services/lightsail/model/GetDistributionMetricDataRequest.java