Interface EntitlementMetricStatus.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EntitlementMetricStatus.Builder,,EntitlementMetricStatus> SdkBuilder<EntitlementMetricStatus.Builder,,EntitlementMetricStatus> SdkPojo
- Enclosing class:
EntitlementMetricStatus
@Mutable
@NotThreadSafe
public static interface EntitlementMetricStatus.Builder
extends SdkPojo, CopyableBuilder<EntitlementMetricStatus.Builder,EntitlementMetricStatus>
-
Method Summary
Modifier and TypeMethodDescriptionincludedQuantity(Long includedQuantity) The quantity included for the period, prorated after a mid-period plan change.The ID of the metric.remainingQuantity(Long remainingQuantity) max(0, includedQuantity - usedQuantity).usedQuantity(Long usedQuantity) The quantity of the metric already used in the current period.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
-
metricId
The ID of the metric.
- Parameters:
metricId- The ID of the metric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
usedQuantity
The quantity of the metric already used in the current period.
- Parameters:
usedQuantity- The quantity of the metric already used in the current period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
includedQuantity
The quantity included for the period, prorated after a mid-period plan change. Only metrics with a limit are listed.
- Parameters:
includedQuantity- The quantity included for the period, prorated after a mid-period plan change. Only metrics with a limit are listed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
remainingQuantity
max(0, includedQuantity - usedQuantity).
- Parameters:
remainingQuantity- max(0, includedQuantity - usedQuantity).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-