Interface FairshareCapacityUsage.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<FairshareCapacityUsage.Builder,,FairshareCapacityUsage> SdkBuilder<FairshareCapacityUsage.Builder,,FairshareCapacityUsage> SdkPojo
- Enclosing class:
FairshareCapacityUsage
@Mutable
@NotThreadSafe
public static interface FairshareCapacityUsage.Builder
extends SdkPojo, CopyableBuilder<FairshareCapacityUsage.Builder,FairshareCapacityUsage>
-
Method Summary
Modifier and TypeMethodDescriptioncapacityUnit(String capacityUnit) The unit of measure for the capacity usage.The quantity of capacity being used, measured in the units specified bycapacityUnit.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
-
capacityUnit
The unit of measure for the capacity usage. For compute jobs, this is
VCPUfor Amazon EC2 andcpufor Amazon EKS. For service jobs, this isNUM_INSTANCES.- Parameters:
capacityUnit- The unit of measure for the capacity usage. For compute jobs, this isVCPUfor Amazon EC2 andcpufor Amazon EKS. For service jobs, this isNUM_INSTANCES.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
quantity
The quantity of capacity being used, measured in the units specified by
capacityUnit.- Parameters:
quantity- The quantity of capacity being used, measured in the units specified bycapacityUnit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-