Interface ListConsumableResourcesRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,BatchRequest.Builder,Buildable,CopyableBuilder<ListConsumableResourcesRequest.Builder,ListConsumableResourcesRequest>,SdkBuilder<ListConsumableResourcesRequest.Builder,ListConsumableResourcesRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListConsumableResourcesRequest
public static interface ListConsumableResourcesRequest.Builder extends BatchRequest.Builder, SdkPojo, CopyableBuilder<ListConsumableResourcesRequest.Builder,ListConsumableResourcesRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListConsumableResourcesRequest.Builderfilters(Collection<KeyValuesPair> filters)The filters to apply to the consumable resource list query.ListConsumableResourcesRequest.Builderfilters(Consumer<KeyValuesPair.Builder>... filters)The filters to apply to the consumable resource list query.ListConsumableResourcesRequest.Builderfilters(KeyValuesPair... filters)The filters to apply to the consumable resource list query.ListConsumableResourcesRequest.BuildermaxResults(Integer maxResults)The maximum number of results returned byListConsumableResourcesin paginated output.ListConsumableResourcesRequest.BuildernextToken(String nextToken)ThenextTokenvalue returned from a previous paginatedListConsumableResourcesrequest wheremaxResultswas used and the results exceeded the value of that parameter.ListConsumableResourcesRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListConsumableResourcesRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
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 Detail
-
filters
ListConsumableResourcesRequest.Builder filters(Collection<KeyValuesPair> filters)
The filters to apply to the consumable resource list query. If used, only those consumable resources that match the filter are listed. Filter names and values can be:
-
name:
CONSUMABLE_RESOURCE_NAMEvalues: case-insensitive matches for the consumable resource name. If a filter value ends with an asterisk (*), it matches any consumable resource name that begins with the string before the '*'.
- Parameters:
filters- The filters to apply to the consumable resource list query. If used, only those consumable resources that match the filter are listed. Filter names and values can be:-
name:
CONSUMABLE_RESOURCE_NAMEvalues: case-insensitive matches for the consumable resource name. If a filter value ends with an asterisk (*), it matches any consumable resource name that begins with the string before the '*'.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
filters
ListConsumableResourcesRequest.Builder filters(KeyValuesPair... filters)
The filters to apply to the consumable resource list query. If used, only those consumable resources that match the filter are listed. Filter names and values can be:
-
name:
CONSUMABLE_RESOURCE_NAMEvalues: case-insensitive matches for the consumable resource name. If a filter value ends with an asterisk (*), it matches any consumable resource name that begins with the string before the '*'.
- Parameters:
filters- The filters to apply to the consumable resource list query. If used, only those consumable resources that match the filter are listed. Filter names and values can be:-
name:
CONSUMABLE_RESOURCE_NAMEvalues: case-insensitive matches for the consumable resource name. If a filter value ends with an asterisk (*), it matches any consumable resource name that begins with the string before the '*'.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
filters
ListConsumableResourcesRequest.Builder filters(Consumer<KeyValuesPair.Builder>... filters)
The filters to apply to the consumable resource list query. If used, only those consumable resources that match the filter are listed. Filter names and values can be:
-
name:
CONSUMABLE_RESOURCE_NAMEvalues: case-insensitive matches for the consumable resource name. If a filter value ends with an asterisk (*), it matches any consumable resource name that begins with the string before the '*'.
KeyValuesPair.Builderavoiding the need to create one manually viaKeyValuesPair.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#filters(List.) - 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:
#filters(java.util.Collection)
-
-
maxResults
ListConsumableResourcesRequest.Builder maxResults(Integer maxResults)
The maximum number of results returned by
ListConsumableResourcesin paginated output. When this parameter is used,ListConsumableResourcesonly returnsmaxResultsresults in a single page and anextTokenresponse element. The remaining results of the initial request can be seen by sending anotherListConsumableResourcesrequest with the returnednextTokenvalue. This value can be between 1 and 100. If this parameter isn't used, thenListConsumableResourcesreturns up to 100 results and anextTokenvalue if applicable.- Parameters:
maxResults- The maximum number of results returned byListConsumableResourcesin paginated output. When this parameter is used,ListConsumableResourcesonly returnsmaxResultsresults in a single page and anextTokenresponse element. The remaining results of the initial request can be seen by sending anotherListConsumableResourcesrequest with the returnednextTokenvalue. This value can be between 1 and 100. If this parameter isn't used, thenListConsumableResourcesreturns up to 100 results and anextTokenvalue if applicable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
ListConsumableResourcesRequest.Builder nextToken(String nextToken)
The
nextTokenvalue returned from a previous paginatedListConsumableResourcesrequest wheremaxResultswas used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextTokenvalue. This value isnullwhen 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- ThenextTokenvalue returned from a previous paginatedListConsumableResourcesrequest wheremaxResultswas used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextTokenvalue. This value isnullwhen 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
ListConsumableResourcesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListConsumableResourcesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-