Interface Statistics.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Statistics.Builder,,Statistics> SdkBuilder<Statistics.Builder,,Statistics> SdkPojo
- Enclosing class:
Statistics
-
Method Summary
Modifier and TypeMethodDescriptionaggregationEndTime(Instant aggregationEndTime) The end time for the aggregation.aggregationStartTime(Instant aggregationStartTime) The start time for the aggregation.default Statistics.BuildercostInUsd(Consumer<Stats.Builder> costInUsd) How the statistics should appear in USD.How the statistics should appear in USD.The number of instances in a list of statistics.The fleet ID.instanceType(String instanceType) The type of instance.The job ID.The job name.licenseProduct(String licenseProduct) The licensed product.The queue ID.default Statistics.BuilderruntimeInSeconds(Consumer<Stats.Builder> runtimeInSeconds) The total aggregated runtime.runtimeInSeconds(Stats runtimeInSeconds) The total aggregated runtime.The type of usage for the statistics.The type of usage for the statistics.The user ID.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
queueId
The queue ID.
- Parameters:
queueId- The queue ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fleetId
The fleet ID.
- Parameters:
fleetId- The fleet ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobId
The job ID.
- Parameters:
jobId- The job ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobName
The job name.
- Parameters:
jobName- The job name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userId
The user ID.
- Parameters:
userId- The user ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
usageType
The type of usage for the statistics.
- Parameters:
usageType- The type of usage for the statistics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
usageType
The type of usage for the statistics.
- Parameters:
usageType- The type of usage for the statistics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
licenseProduct
The licensed product.
- Parameters:
licenseProduct- The licensed product.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceType
The type of instance.
- Parameters:
instanceType- The type of instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
count
The number of instances in a list of statistics.
- Parameters:
count- The number of instances in a list of statistics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
costInUsd
How the statistics should appear in USD. Options include: minimum, maximum, average or sum.
- Parameters:
costInUsd- How the statistics should appear in USD. Options include: minimum, maximum, average or sum.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
costInUsd
How the statistics should appear in USD. Options include: minimum, maximum, average or sum.
This is a convenience method that creates an instance of theStats.Builderavoiding the need to create one manually viaStats.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocostInUsd(Stats).- Parameters:
costInUsd- a consumer that will call methods onStats.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
runtimeInSeconds
The total aggregated runtime.
- Parameters:
runtimeInSeconds- The total aggregated runtime.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
runtimeInSeconds
The total aggregated runtime.
This is a convenience method that creates an instance of theStats.Builderavoiding the need to create one manually viaStats.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toruntimeInSeconds(Stats).- Parameters:
runtimeInSeconds- a consumer that will call methods onStats.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
aggregationStartTime
The start time for the aggregation.
- Parameters:
aggregationStartTime- The start time for the aggregation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aggregationEndTime
The end time for the aggregation.
- Parameters:
aggregationEndTime- The end time for the aggregation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-