Interface MetricsByTime.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<MetricsByTime.Builder,,MetricsByTime> SdkBuilder<MetricsByTime.Builder,,MetricsByTime> SdkPojo
- Enclosing class:
MetricsByTime
@Mutable
@NotThreadSafe
public static interface MetricsByTime.Builder
extends SdkPojo, CopyableBuilder<MetricsByTime.Builder,MetricsByTime>
-
Method Summary
Modifier and TypeMethodDescriptionThe estimated savings amount for this time period, representing the potential cost reduction achieved through optimization recommendations.The efficiency score for this time period.The total spending amount for this time period.The timestamp for this data point.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, sdkFieldNameToField, sdkFields
-
Method Details
-
score
The efficiency score for this time period. The score represents a measure of how effectively the cloud resources are being optimized, with higher scores indicating better optimization performance.
- Parameters:
score- The efficiency score for this time period. The score represents a measure of how effectively the cloud resources are being optimized, with higher scores indicating better optimization performance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
savings
The estimated savings amount for this time period, representing the potential cost reduction achieved through optimization recommendations.
- Parameters:
savings- The estimated savings amount for this time period, representing the potential cost reduction achieved through optimization recommendations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
spend
The total spending amount for this time period.
- Parameters:
spend- The total spending amount for this time period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timestamp
The timestamp for this data point. The format depends on the granularity: YYYY-MM-DD for daily metrics, or YYYY-MM for monthly metrics.
- Parameters:
timestamp- The timestamp for this data point. The format depends on the granularity: YYYY-MM-DD for daily metrics, or YYYY-MM for monthly metrics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-