Class Statistics
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Statistics.Builder,Statistics>
A list of statistics for a session.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal InstantThe end time for the aggregation.final InstantThe start time for the aggregation.static Statistics.Builderbuilder()final StatsHow the statistics should appear in USD.final Integercount()The number of instances in a list of statistics.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final StringfleetId()The fleet ID.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringThe type of instance.final StringjobId()The job ID.final StringjobName()The job name.final StringThe licensed product.final StringqueueId()The queue ID.final StatsThe total aggregated runtime.static Class<? extends Statistics.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final UsageTypeThe type of usage for the statistics.final StringThe type of usage for the statistics.final StringuserId()The user ID.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
queueId
-
fleetId
-
jobId
-
jobName
-
userId
-
usageType
The type of usage for the statistics.
If the service returns an enum value that is not available in the current SDK version,
usageTypewill returnUsageType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromusageTypeAsString().- Returns:
- The type of usage for the statistics.
- See Also:
-
usageTypeAsString
The type of usage for the statistics.
If the service returns an enum value that is not available in the current SDK version,
usageTypewill returnUsageType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromusageTypeAsString().- Returns:
- The type of usage for the statistics.
- See Also:
-
licenseProduct
-
instanceType
-
count
The number of instances in a list of statistics.
- Returns:
- The number of instances in a list of statistics.
-
costInUsd
How the statistics should appear in USD. Options include: minimum, maximum, average or sum.
- Returns:
- How the statistics should appear in USD. Options include: minimum, maximum, average or sum.
-
runtimeInSeconds
The total aggregated runtime.
- Returns:
- The total aggregated runtime.
-
aggregationStartTime
The start time for the aggregation.
- Returns:
- The start time for the aggregation.
-
aggregationEndTime
The end time for the aggregation.
- Returns:
- The end time for the aggregation.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<Statistics.Builder,Statistics> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-