@Generated(value="software.amazon.awssdk:codegen") public final class AggregatedProfileTime extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AggregatedProfileTime.Builder,AggregatedProfileTime>
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).
| Modifier and Type | Class and Description |
|---|---|
static interface |
AggregatedProfileTime.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AggregatedProfileTime.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
AggregationPeriod |
period()
The aggregation period.
|
String |
periodAsString()
The aggregation period.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AggregatedProfileTime.Builder> |
serializableBuilderClass() |
Instant |
start()
The time that aggregation of posted agent profiles for a profiling group starts.
|
AggregatedProfileTime.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final AggregationPeriod 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.
P1D — 1 day
PT1H — 1 hour
PT5M — 5 minutes
If the service returns an enum value that is not available in the current SDK version, period will
return AggregationPeriod.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
periodAsString().
P1D — 1 day
PT1H — 1 hour
PT5M — 5 minutes
AggregationPeriodpublic final String periodAsString()
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.
P1D — 1 day
PT1H — 1 hour
PT5M — 5 minutes
If the service returns an enum value that is not available in the current SDK version, period will
return AggregationPeriod.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
periodAsString().
P1D — 1 day
PT1H — 1 hour
PT5M — 5 minutes
AggregationPeriodpublic final Instant start()
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.
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.
public AggregatedProfileTime.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AggregatedProfileTime.Builder,AggregatedProfileTime>public static AggregatedProfileTime.Builder builder()
public static Class<? extends AggregatedProfileTime.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.