Interface GetJobQueueSnapshotResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,BatchResponse.Builder,Buildable,CopyableBuilder<GetJobQueueSnapshotResponse.Builder,GetJobQueueSnapshotResponse>,SdkBuilder<GetJobQueueSnapshotResponse.Builder,GetJobQueueSnapshotResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetJobQueueSnapshotResponse
@Mutable @NotThreadSafe public static interface GetJobQueueSnapshotResponse.Builder extends BatchResponse.Builder, SdkPojo, CopyableBuilder<GetJobQueueSnapshotResponse.Builder,GetJobQueueSnapshotResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetJobQueueSnapshotResponse.BuilderfrontOfQueue(Consumer<FrontOfQueueDetail.Builder> frontOfQueue)The list of the first 100RUNNABLEjobs in each job queue.GetJobQueueSnapshotResponse.BuilderfrontOfQueue(FrontOfQueueDetail frontOfQueue)The list of the first 100RUNNABLEjobs in each job queue.default GetJobQueueSnapshotResponse.BuilderfrontOfQuotaShares(Consumer<FrontOfQuotaSharesDetail.Builder> frontOfQuotaShares)The firstRUNNABLEjob in each quota share.GetJobQueueSnapshotResponse.BuilderfrontOfQuotaShares(FrontOfQuotaSharesDetail frontOfQuotaShares)The firstRUNNABLEjob in each quota share.default GetJobQueueSnapshotResponse.BuilderqueueUtilization(Consumer<QueueSnapshotUtilizationDetail.Builder> queueUtilization)The job queue's capacity utilization, including total usage and breakdown per given share.GetJobQueueSnapshotResponse.BuilderqueueUtilization(QueueSnapshotUtilizationDetail queueUtilization)The job queue's capacity utilization, including total usage and breakdown per given share.-
Methods inherited from interface software.amazon.awssdk.services.batch.model.BatchResponse.Builder
build, responseMetadata, responseMetadata
-
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
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
frontOfQueue
GetJobQueueSnapshotResponse.Builder frontOfQueue(FrontOfQueueDetail frontOfQueue)
The list of the first 100
RUNNABLEjobs in each job queue. For first-in-first-out (FIFO) job queues, jobs are ordered based on their submission time. For job queues with an attached fair-share scheduling (FSS) or quota-share policy, jobs are ordered based on their job priority and share usage.- Parameters:
frontOfQueue- The list of the first 100RUNNABLEjobs in each job queue. For first-in-first-out (FIFO) job queues, jobs are ordered based on their submission time. For job queues with an attached fair-share scheduling (FSS) or quota-share policy, jobs are ordered based on their job priority and share usage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
frontOfQueue
default GetJobQueueSnapshotResponse.Builder frontOfQueue(Consumer<FrontOfQueueDetail.Builder> frontOfQueue)
The list of the first 100
This is a convenience method that creates an instance of theRUNNABLEjobs in each job queue. For first-in-first-out (FIFO) job queues, jobs are ordered based on their submission time. For job queues with an attached fair-share scheduling (FSS) or quota-share policy, jobs are ordered based on their job priority and share usage.FrontOfQueueDetail.Builderavoiding the need to create one manually viaFrontOfQueueDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofrontOfQueue(FrontOfQueueDetail).- Parameters:
frontOfQueue- a consumer that will call methods onFrontOfQueueDetail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
frontOfQueue(FrontOfQueueDetail)
-
frontOfQuotaShares
GetJobQueueSnapshotResponse.Builder frontOfQuotaShares(FrontOfQuotaSharesDetail frontOfQuotaShares)
The first
RUNNABLEjob in each quota share. Jobs are ordered based on their job priority and share usage.- Parameters:
frontOfQuotaShares- The firstRUNNABLEjob in each quota share. Jobs are ordered based on their job priority and share usage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
frontOfQuotaShares
default GetJobQueueSnapshotResponse.Builder frontOfQuotaShares(Consumer<FrontOfQuotaSharesDetail.Builder> frontOfQuotaShares)
The first
This is a convenience method that creates an instance of theRUNNABLEjob in each quota share. Jobs are ordered based on their job priority and share usage.FrontOfQuotaSharesDetail.Builderavoiding the need to create one manually viaFrontOfQuotaSharesDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofrontOfQuotaShares(FrontOfQuotaSharesDetail).- Parameters:
frontOfQuotaShares- a consumer that will call methods onFrontOfQuotaSharesDetail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
frontOfQuotaShares(FrontOfQuotaSharesDetail)
-
queueUtilization
GetJobQueueSnapshotResponse.Builder queueUtilization(QueueSnapshotUtilizationDetail queueUtilization)
The job queue's capacity utilization, including total usage and breakdown per given share.
- Parameters:
queueUtilization- The job queue's capacity utilization, including total usage and breakdown per given share.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queueUtilization
default GetJobQueueSnapshotResponse.Builder queueUtilization(Consumer<QueueSnapshotUtilizationDetail.Builder> queueUtilization)
The job queue's capacity utilization, including total usage and breakdown per given share.
This is a convenience method that creates an instance of theQueueSnapshotUtilizationDetail.Builderavoiding the need to create one manually viaQueueSnapshotUtilizationDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toqueueUtilization(QueueSnapshotUtilizationDetail).- Parameters:
queueUtilization- a consumer that will call methods onQueueSnapshotUtilizationDetail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
queueUtilization(QueueSnapshotUtilizationDetail)
-
-