Interface QueueSnapshotUtilizationDetail.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<QueueSnapshotUtilizationDetail.Builder,,QueueSnapshotUtilizationDetail> SdkBuilder<QueueSnapshotUtilizationDetail.Builder,,QueueSnapshotUtilizationDetail> SdkPojo
- Enclosing class:
QueueSnapshotUtilizationDetail
@Mutable
@NotThreadSafe
public static interface QueueSnapshotUtilizationDetail.Builder
extends SdkPojo, CopyableBuilder<QueueSnapshotUtilizationDetail.Builder,QueueSnapshotUtilizationDetail>
-
Method Summary
Modifier and TypeMethodDescriptionfairshareUtilization(Consumer<FairshareUtilizationDetail.Builder> fairshareUtilization) The utilization information for a fairshare scheduling job queues, including active share count and top capacity utilization by share.fairshareUtilization(FairshareUtilizationDetail fairshareUtilization) The utilization information for a fairshare scheduling job queues, including active share count and top capacity utilization by share.lastUpdatedAt(Long lastUpdatedAt) The Unix timestamp (in milliseconds) for when the queue utilization information was last updated.totalCapacityUsage(Collection<QueueSnapshotCapacityUsage> totalCapacityUsage) The total capacity usage for the entire job queue, for both first-in, first-out (FIFO) and fairshare scheduling job queue.totalCapacityUsage(Consumer<QueueSnapshotCapacityUsage.Builder>... totalCapacityUsage) The total capacity usage for the entire job queue, for both first-in, first-out (FIFO) and fairshare scheduling job queue.totalCapacityUsage(QueueSnapshotCapacityUsage... totalCapacityUsage) The total capacity usage for the entire job queue, for both first-in, first-out (FIFO) and fairshare scheduling job queue.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
-
totalCapacityUsage
QueueSnapshotUtilizationDetail.Builder totalCapacityUsage(Collection<QueueSnapshotCapacityUsage> totalCapacityUsage) The total capacity usage for the entire job queue, for both first-in, first-out (FIFO) and fairshare scheduling job queue.
- Parameters:
totalCapacityUsage- The total capacity usage for the entire job queue, for both first-in, first-out (FIFO) and fairshare scheduling job queue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
totalCapacityUsage
QueueSnapshotUtilizationDetail.Builder totalCapacityUsage(QueueSnapshotCapacityUsage... totalCapacityUsage) The total capacity usage for the entire job queue, for both first-in, first-out (FIFO) and fairshare scheduling job queue.
- Parameters:
totalCapacityUsage- The total capacity usage for the entire job queue, for both first-in, first-out (FIFO) and fairshare scheduling job queue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
totalCapacityUsage
QueueSnapshotUtilizationDetail.Builder totalCapacityUsage(Consumer<QueueSnapshotCapacityUsage.Builder>... totalCapacityUsage) The total capacity usage for the entire job queue, for both first-in, first-out (FIFO) and fairshare scheduling job queue.
This is a convenience method that creates an instance of theQueueSnapshotCapacityUsage.Builderavoiding the need to create one manually viaQueueSnapshotCapacityUsage.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tototalCapacityUsage(List<QueueSnapshotCapacityUsage>).- Parameters:
totalCapacityUsage- a consumer that will call methods onQueueSnapshotCapacityUsage.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastUpdatedAt
The Unix timestamp (in milliseconds) for when the queue utilization information was last updated.
- Parameters:
lastUpdatedAt- The Unix timestamp (in milliseconds) for when the queue utilization information was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-