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