public Long getAggregationPeriod() {
        return this.aggregationPeriod;
    }
<p>
The aggregation time, in seconds, to change to. This must be either <code>30</code> or <code>60</code>.
</p>

@return The aggregation time, in seconds, to change to. This must be either <code>30</code> or <code>60</code>.
aws-java-sdk-networkmonitor/src/main/java/com/amazonaws/services/networkmonitor/model/UpdateMonitorRequest.java