Interface DescribeJobQueuesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,BatchResponse.Builder
,Buildable
,CopyableBuilder<DescribeJobQueuesResponse.Builder,
,DescribeJobQueuesResponse> SdkBuilder<DescribeJobQueuesResponse.Builder,
,DescribeJobQueuesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeJobQueuesResponse
public static interface DescribeJobQueuesResponse.Builder
extends BatchResponse.Builder, SdkPojo, CopyableBuilder<DescribeJobQueuesResponse.Builder,DescribeJobQueuesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionjobQueues
(Collection<JobQueueDetail> jobQueues) The list of job queues.jobQueues
(Consumer<JobQueueDetail.Builder>... jobQueues) The list of job queues.jobQueues
(JobQueueDetail... jobQueues) The list of job queues.ThenextToken
value to include in a futureDescribeJobQueues
request.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
jobQueues
The list of job queues.
- Parameters:
jobQueues
- The list of job queues.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobQueues
The list of job queues.
- Parameters:
jobQueues
- The list of job queues.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobQueues
The list of job queues.
This is a convenience method that creates an instance of theJobQueueDetail.Builder
avoiding the need to create one manually viaJobQueueDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tojobQueues(List<JobQueueDetail>)
.- Parameters:
jobQueues
- a consumer that will call methods onJobQueueDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The
nextToken
value to include in a futureDescribeJobQueues
request. When the results of aDescribeJobQueues
request exceedmaxResults
, this value can be used to retrieve the next page of results. This value isnull
when there are no more results to return.- Parameters:
nextToken
- ThenextToken
value to include in a futureDescribeJobQueues
request. When the results of aDescribeJobQueues
request exceedmaxResults
, this value can be used to retrieve the next page of results. This value isnull
when there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-