@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Statistics extends Object implements Serializable, Cloneable, StructuredPojo
A list of statistics for a session.
Constructor and Description |
---|
Statistics() |
Modifier and Type | Method and Description |
---|---|
Statistics |
clone() |
boolean |
equals(Object obj) |
Date |
getAggregationEndTime()
The end time for the aggregation.
|
Date |
getAggregationStartTime()
The start time for the aggregation.
|
Stats |
getCostInUsd()
How the statistics should appear in USD.
|
Integer |
getCount()
The number of instances in a list of statistics.
|
String |
getFleetId()
The fleet ID.
|
String |
getInstanceType()
The type of instance.
|
String |
getJobId()
The job ID.
|
String |
getJobName()
The job name.
|
String |
getLicenseProduct()
The licensed product.
|
String |
getQueueId()
The queue ID.
|
Stats |
getRuntimeInSeconds()
The total aggregated runtime.
|
String |
getUsageType()
The type of usage for the statistics.
|
String |
getUserId()
The user ID.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAggregationEndTime(Date aggregationEndTime)
The end time for the aggregation.
|
void |
setAggregationStartTime(Date aggregationStartTime)
The start time for the aggregation.
|
void |
setCostInUsd(Stats costInUsd)
How the statistics should appear in USD.
|
void |
setCount(Integer count)
The number of instances in a list of statistics.
|
void |
setFleetId(String fleetId)
The fleet ID.
|
void |
setInstanceType(String instanceType)
The type of instance.
|
void |
setJobId(String jobId)
The job ID.
|
void |
setJobName(String jobName)
The job name.
|
void |
setLicenseProduct(String licenseProduct)
The licensed product.
|
void |
setQueueId(String queueId)
The queue ID.
|
void |
setRuntimeInSeconds(Stats runtimeInSeconds)
The total aggregated runtime.
|
void |
setUsageType(String usageType)
The type of usage for the statistics.
|
void |
setUserId(String userId)
The user ID.
|
String |
toString()
Returns a string representation of this object.
|
Statistics |
withAggregationEndTime(Date aggregationEndTime)
The end time for the aggregation.
|
Statistics |
withAggregationStartTime(Date aggregationStartTime)
The start time for the aggregation.
|
Statistics |
withCostInUsd(Stats costInUsd)
How the statistics should appear in USD.
|
Statistics |
withCount(Integer count)
The number of instances in a list of statistics.
|
Statistics |
withFleetId(String fleetId)
The fleet ID.
|
Statistics |
withInstanceType(String instanceType)
The type of instance.
|
Statistics |
withJobId(String jobId)
The job ID.
|
Statistics |
withJobName(String jobName)
The job name.
|
Statistics |
withLicenseProduct(String licenseProduct)
The licensed product.
|
Statistics |
withQueueId(String queueId)
The queue ID.
|
Statistics |
withRuntimeInSeconds(Stats runtimeInSeconds)
The total aggregated runtime.
|
Statistics |
withUsageType(String usageType)
The type of usage for the statistics.
|
Statistics |
withUsageType(UsageType usageType)
The type of usage for the statistics.
|
Statistics |
withUserId(String userId)
The user ID.
|
public void setAggregationEndTime(Date aggregationEndTime)
The end time for the aggregation.
aggregationEndTime
- The end time for the aggregation.public Date getAggregationEndTime()
The end time for the aggregation.
public Statistics withAggregationEndTime(Date aggregationEndTime)
The end time for the aggregation.
aggregationEndTime
- The end time for the aggregation.public void setAggregationStartTime(Date aggregationStartTime)
The start time for the aggregation.
aggregationStartTime
- The start time for the aggregation.public Date getAggregationStartTime()
The start time for the aggregation.
public Statistics withAggregationStartTime(Date aggregationStartTime)
The start time for the aggregation.
aggregationStartTime
- The start time for the aggregation.public void setCostInUsd(Stats costInUsd)
How the statistics should appear in USD. Options include: minimum, maximum, average or sum.
costInUsd
- How the statistics should appear in USD. Options include: minimum, maximum, average or sum.public Stats getCostInUsd()
How the statistics should appear in USD. Options include: minimum, maximum, average or sum.
public Statistics withCostInUsd(Stats costInUsd)
How the statistics should appear in USD. Options include: minimum, maximum, average or sum.
costInUsd
- How the statistics should appear in USD. Options include: minimum, maximum, average or sum.public void setCount(Integer count)
The number of instances in a list of statistics.
count
- The number of instances in a list of statistics.public Integer getCount()
The number of instances in a list of statistics.
public Statistics withCount(Integer count)
The number of instances in a list of statistics.
count
- The number of instances in a list of statistics.public void setFleetId(String fleetId)
The fleet ID.
fleetId
- The fleet ID.public String getFleetId()
The fleet ID.
public Statistics withFleetId(String fleetId)
The fleet ID.
fleetId
- The fleet ID.public void setInstanceType(String instanceType)
The type of instance.
instanceType
- The type of instance.public String getInstanceType()
The type of instance.
public Statistics withInstanceType(String instanceType)
The type of instance.
instanceType
- The type of instance.public void setJobId(String jobId)
The job ID.
jobId
- The job ID.public String getJobId()
The job ID.
public Statistics withJobId(String jobId)
The job ID.
jobId
- The job ID.public void setJobName(String jobName)
The job name.
jobName
- The job name.public String getJobName()
The job name.
public Statistics withJobName(String jobName)
The job name.
jobName
- The job name.public void setLicenseProduct(String licenseProduct)
The licensed product.
licenseProduct
- The licensed product.public String getLicenseProduct()
The licensed product.
public Statistics withLicenseProduct(String licenseProduct)
The licensed product.
licenseProduct
- The licensed product.public void setQueueId(String queueId)
The queue ID.
queueId
- The queue ID.public String getQueueId()
The queue ID.
public Statistics withQueueId(String queueId)
The queue ID.
queueId
- The queue ID.public void setRuntimeInSeconds(Stats runtimeInSeconds)
The total aggregated runtime.
runtimeInSeconds
- The total aggregated runtime.public Stats getRuntimeInSeconds()
The total aggregated runtime.
public Statistics withRuntimeInSeconds(Stats runtimeInSeconds)
The total aggregated runtime.
runtimeInSeconds
- The total aggregated runtime.public void setUsageType(String usageType)
The type of usage for the statistics.
usageType
- The type of usage for the statistics.UsageType
public String getUsageType()
The type of usage for the statistics.
UsageType
public Statistics withUsageType(String usageType)
The type of usage for the statistics.
usageType
- The type of usage for the statistics.UsageType
public Statistics withUsageType(UsageType usageType)
The type of usage for the statistics.
usageType
- The type of usage for the statistics.UsageType
public void setUserId(String userId)
The user ID.
userId
- The user ID.public String getUserId()
The user ID.
public Statistics withUserId(String userId)
The user ID.
userId
- The user ID.public String toString()
toString
in class Object
Object.toString()
public Statistics clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.