Interface ListJobsByConsumableResourceResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,BatchResponse.Builder
,Buildable
,CopyableBuilder<ListJobsByConsumableResourceResponse.Builder,
,ListJobsByConsumableResourceResponse> SdkBuilder<ListJobsByConsumableResourceResponse.Builder,
,ListJobsByConsumableResourceResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListJobsByConsumableResourceResponse
@Mutable
@NotThreadSafe
public static interface ListJobsByConsumableResourceResponse.Builder
extends BatchResponse.Builder, SdkPojo, CopyableBuilder<ListJobsByConsumableResourceResponse.Builder,ListJobsByConsumableResourceResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe list of jobs that require the specified consumable resources.The list of jobs that require the specified consumable resources.jobs
(ListJobsByConsumableResourceSummary... jobs) The list of jobs that require the specified consumable resources.ThenextToken
value to include in a futureListJobsByConsumableResource
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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
jobs
ListJobsByConsumableResourceResponse.Builder jobs(Collection<ListJobsByConsumableResourceSummary> jobs) The list of jobs that require the specified consumable resources.
- Parameters:
jobs
- The list of jobs that require the specified consumable resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobs
The list of jobs that require the specified consumable resources.
- Parameters:
jobs
- The list of jobs that require the specified consumable resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobs
ListJobsByConsumableResourceResponse.Builder jobs(Consumer<ListJobsByConsumableResourceSummary.Builder>... jobs) The list of jobs that require the specified consumable resources.
This is a convenience method that creates an instance of theListJobsByConsumableResourceSummary.Builder
avoiding the need to create one manually viaListJobsByConsumableResourceSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tojobs(List<ListJobsByConsumableResourceSummary>)
.- Parameters:
jobs
- a consumer that will call methods onListJobsByConsumableResourceSummary.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 futureListJobsByConsumableResource
request. When the results of aListJobsByConsumableResource
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 futureListJobsByConsumableResource
request. When the results of aListJobsByConsumableResource
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.
-