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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description QueueSnapshotCapacityUsage.BuildercapacityUnit(String capacityUnit)The unit of measure for the capacity usage.QueueSnapshotCapacityUsage.Builderquantity(Double quantity)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
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
capacityUnit
QueueSnapshotCapacityUsage.Builder capacityUnit(String capacityUnit)
The unit of measure for the capacity usage. For compute jobs, this is
VCPUfor Amazon EC2 andcpufor Amazon EKS. For service jobs, this is the instance type.- Parameters:
capacityUnit- The unit of measure for the capacity usage. For compute jobs, this isVCPUfor Amazon EC2 andcpufor Amazon EKS. For service jobs, this is the instance type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
quantity
QueueSnapshotCapacityUsage.Builder quantity(Double 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.
-
-