Interface ListJobsByConsumableResourceRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,BatchRequest.Builder
,Buildable
,CopyableBuilder<ListJobsByConsumableResourceRequest.Builder,
,ListJobsByConsumableResourceRequest> SdkBuilder<ListJobsByConsumableResourceRequest.Builder,
,ListJobsByConsumableResourceRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ListJobsByConsumableResourceRequest
-
Method Summary
Modifier and TypeMethodDescriptionconsumableResource
(String consumableResource) The name or ARN of the consumable resource.filters
(Collection<KeyValuesPair> filters) The filters to apply to the job list query.filters
(Consumer<KeyValuesPair.Builder>... filters) The filters to apply to the job list query.filters
(KeyValuesPair... filters) The filters to apply to the job list query.maxResults
(Integer maxResults) The maximum number of results returned byListJobsByConsumableResource
in paginated output.ThenextToken
value returned from a previous paginatedListJobsByConsumableResource
request wheremaxResults
was used and the results exceeded the value of that parameter.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.batch.model.BatchRequest.Builder
build
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 Details
-
consumableResource
The name or ARN of the consumable resource.
- Parameters:
consumableResource
- The name or ARN of the consumable resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
The filters to apply to the job list query. If used, only those jobs requiring the specified consumable resource (
consumableResource
) and that match the value of the filters are listed. The filter names and values can be:-
name:
JOB_STATUS
values:
SUBMITTED | PENDING | RUNNABLE | STARTING | RUNNING | SUCCEEDED | FAILED
-
name:
JOB_NAME
The values are case-insensitive matches for the job name. If a filter value ends with an asterisk (*), it matches any job name that begins with the string before the '*'.
- Parameters:
filters
- The filters to apply to the job list query. If used, only those jobs requiring the specified consumable resource (consumableResource
) and that match the value of the filters are listed. The filter names and values can be:-
name:
JOB_STATUS
values:
SUBMITTED | PENDING | RUNNABLE | STARTING | RUNNING | SUCCEEDED | FAILED
-
name:
JOB_NAME
The values are case-insensitive matches for the job name. If a filter value ends with an asterisk (*), it matches any job name that begins with the string before the '*'.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
filters
The filters to apply to the job list query. If used, only those jobs requiring the specified consumable resource (
consumableResource
) and that match the value of the filters are listed. The filter names and values can be:-
name:
JOB_STATUS
values:
SUBMITTED | PENDING | RUNNABLE | STARTING | RUNNING | SUCCEEDED | FAILED
-
name:
JOB_NAME
The values are case-insensitive matches for the job name. If a filter value ends with an asterisk (*), it matches any job name that begins with the string before the '*'.
- Parameters:
filters
- The filters to apply to the job list query. If used, only those jobs requiring the specified consumable resource (consumableResource
) and that match the value of the filters are listed. The filter names and values can be:-
name:
JOB_STATUS
values:
SUBMITTED | PENDING | RUNNABLE | STARTING | RUNNING | SUCCEEDED | FAILED
-
name:
JOB_NAME
The values are case-insensitive matches for the job name. If a filter value ends with an asterisk (*), it matches any job name that begins with the string before the '*'.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
filters
The filters to apply to the job list query. If used, only those jobs requiring the specified consumable resource (
consumableResource
) and that match the value of the filters are listed. The filter names and values can be:-
name:
JOB_STATUS
values:
SUBMITTED | PENDING | RUNNABLE | STARTING | RUNNING | SUCCEEDED | FAILED
-
name:
JOB_NAME
The values are case-insensitive matches for the job name. If a filter value ends with an asterisk (*), it matches any job name that begins with the string before the '*'.
KeyValuesPair.Builder
avoiding the need to create one manually viaKeyValuesPair.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofilters(List<KeyValuesPair>)
.- Parameters:
filters
- a consumer that will call methods onKeyValuesPair.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
maxResults
The maximum number of results returned by
ListJobsByConsumableResource
in paginated output. When this parameter is used,ListJobsByConsumableResource
only returnsmaxResults
results in a single page and anextToken
response element. The remaining results of the initial request can be seen by sending anotherListJobsByConsumableResource
request with the returnednextToken
value. This value can be between 1 and 100. If this parameter isn't used, thenListJobsByConsumableResource
returns up to 100 results and anextToken
value if applicable.- Parameters:
maxResults
- The maximum number of results returned byListJobsByConsumableResource
in paginated output. When this parameter is used,ListJobsByConsumableResource
only returnsmaxResults
results in a single page and anextToken
response element. The remaining results of the initial request can be seen by sending anotherListJobsByConsumableResource
request with the returnednextToken
value. This value can be between 1 and 100. If this parameter isn't used, thenListJobsByConsumableResource
returns up to 100 results and anextToken
value if applicable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The
nextToken
value returned from a previous paginatedListJobsByConsumableResource
request wheremaxResults
was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextToken
value. This value isnull
when there are no more results to return.Treat this token as an opaque identifier that's only used to retrieve the next items in a list and not for other programmatic purposes.
- Parameters:
nextToken
- ThenextToken
value returned from a previous paginatedListJobsByConsumableResource
request wheremaxResults
was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextToken
value. This value isnull
when there are no more results to return.Treat this token as an opaque identifier that's only used to retrieve the next items in a list and not for other programmatic purposes.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListJobsByConsumableResourceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListJobsByConsumableResourceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-