/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.codeguruprofiler.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *

* Specifies the aggregation period and aggregation start time for an aggregated profile. An aggregated profile is used * to collect posted agent profiles during an aggregation period. There are three possible aggregation periods (1 day, 1 * hour, or 5 minutes). *

* * @see AWS API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class AggregatedProfileTime implements Serializable, Cloneable, StructuredPojo { /** *

* The aggregation period. This indicates the period during which an aggregation profile collects posted agent * profiles for a profiling group. Use one of three valid durations that are specified using the ISO 8601 format. *

* */ private String period; /** *

* The time that aggregation of posted agent profiles for a profiling group starts. The aggregation profile contains * profiles posted by the agent starting at this time for an aggregation period specified by the period * property of the AggregatedProfileTime object. *

*

* Specify start using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 * millisecond past June 1, 2020 1:15:02 PM UTC. *

*/ private java.util.Date start; /** *

* The aggregation period. This indicates the period during which an aggregation profile collects posted agent * profiles for a profiling group. Use one of three valid durations that are specified using the ISO 8601 format. *

* * * @param period * The aggregation period. This indicates the period during which an aggregation profile collects posted * agent profiles for a profiling group. Use one of three valid durations that are specified using the ISO * 8601 format.

*