Class Statistics
- java.lang.Object
-
- software.amazon.awssdk.services.deadline.model.Statistics
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Statistics.Builder,Statistics>
@Generated("software.amazon.awssdk:codegen") public final class Statistics extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Statistics.Builder,Statistics>
A list of statistics for a session.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceStatistics.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description InstantaggregationEndTime()The end time for the aggregation.InstantaggregationStartTime()The start time for the aggregation.static Statistics.Builderbuilder()StatscostInUsd()How the statistics should appear in USD.Integercount()The number of instances in a list of statistics.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringfleetId()The fleet ID.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringinstanceType()The type of instance.StringjobId()The job ID.StringjobName()The job name.StringlicenseProduct()The licensed product.StringqueueId()The queue ID.StatsruntimeInSeconds()The total aggregated runtime.List<SdkField<?>>sdkFields()static Class<? extends Statistics.Builder>serializableBuilderClass()Statistics.BuildertoBuilder()StringtoString()Returns a string representation of this object.UsageTypeusageType()The type of usage for the statistics.StringusageTypeAsString()The type of usage for the statistics.StringuserId()The user ID.-
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
-
aggregationEndTime
public final Instant aggregationEndTime()
The end time for the aggregation.
- Returns:
- The end time for the aggregation.
-
aggregationStartTime
public final Instant aggregationStartTime()
The start time for the aggregation.
- Returns:
- The start time for the aggregation.
-
costInUsd
public final Stats 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.
-
count
public final Integer count()
The number of instances in a list of statistics.
- Returns:
- The number of instances in a list of statistics.
-
fleetId
public final String fleetId()
The fleet ID.
- Returns:
- The fleet ID.
-
instanceType
public final String instanceType()
The type of instance.
- Returns:
- The type of instance.
-
jobId
public final String jobId()
The job ID.
- Returns:
- The job ID.
-
jobName
public final String jobName()
The job name.
- Returns:
- The job name.
-
licenseProduct
public final String licenseProduct()
The licensed product.
- Returns:
- The licensed product.
-
queueId
public final String queueId()
The queue ID.
- Returns:
- The queue ID.
-
runtimeInSeconds
public final Stats runtimeInSeconds()
The total aggregated runtime.
- Returns:
- The total aggregated runtime.
-
usageType
public final UsageType 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:
UsageType
-
usageTypeAsString
public final String 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:
UsageType
-
userId
public final String userId()
The user ID.
- Returns:
- The user ID.
-
toBuilder
public Statistics.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Statistics.Builder,Statistics>
-
builder
public static Statistics.Builder builder()
-
serializableBuilderClass
public static Class<? extends Statistics.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.
-
-