Class AggregatedProfileTime
- java.lang.Object
-
- software.amazon.awssdk.services.codeguruprofiler.model.AggregatedProfileTime
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AggregatedProfileTime.Builder,AggregatedProfileTime>
@Generated("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).
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAggregatedProfileTime.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AggregatedProfileTime.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()AggregationPeriodperiod()The aggregation period.StringperiodAsString()The aggregation period.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends AggregatedProfileTime.Builder>serializableBuilderClass()Instantstart()The time that aggregation of posted agent profiles for a profiling group starts.AggregatedProfileTime.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
period
public 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,
periodwill returnAggregationPeriod.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromperiodAsString().- Returns:
- 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
-
- See Also:
AggregationPeriod
-
-
periodAsString
public 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,
periodwill returnAggregationPeriod.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromperiodAsString().- Returns:
- 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
-
- See Also:
AggregationPeriod
-
-
start
public 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
periodproperty of theAggregatedProfileTimeobject.Specify
startusing the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.- Returns:
- 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
periodproperty of theAggregatedProfileTimeobject.Specify
startusing the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.
-
toBuilder
public AggregatedProfileTime.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AggregatedProfileTime.Builder,AggregatedProfileTime>
-
builder
public static AggregatedProfileTime.Builder builder()
-
serializableBuilderClass
public static Class<? extends AggregatedProfileTime.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-