Interface ListReleaseLabelsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ListReleaseLabelsRequest.Builder,
,ListReleaseLabelsRequest> EmrRequest.Builder
,SdkBuilder<ListReleaseLabelsRequest.Builder,
,ListReleaseLabelsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ListReleaseLabelsRequest
-
Method Summary
Modifier and TypeMethodDescriptiondefault ListReleaseLabelsRequest.Builder
filters
(Consumer<ReleaseLabelFilter.Builder> filters) Filters the results of the request.filters
(ReleaseLabelFilter filters) Filters the results of the request.maxResults
(Integer maxResults) Defines the maximum number of release labels to return in a single response.Specifies the next page of results.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.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.emr.model.EmrRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
filters
Filters the results of the request.
Prefix
specifies the prefix of release labels to return.Application
specifies the application (with/without version) of release labels to return.- Parameters:
filters
- Filters the results of the request.Prefix
specifies the prefix of release labels to return.Application
specifies the application (with/without version) of release labels to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
Filters the results of the request.
This is a convenience method that creates an instance of thePrefix
specifies the prefix of release labels to return.Application
specifies the application (with/without version) of release labels to return.ReleaseLabelFilter.Builder
avoiding the need to create one manually viaReleaseLabelFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofilters(ReleaseLabelFilter)
.- Parameters:
filters
- a consumer that will call methods onReleaseLabelFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
Specifies the next page of results. If
NextToken
is not specified, which is usually the case for the first request of ListReleaseLabels, the first page of results are determined by other filtering parameters or by the latest version. TheListReleaseLabels
request fails if the identity (Amazon Web Services account ID) and all filtering parameters are different from the original request, or if theNextToken
is expired or tampered with.- Parameters:
nextToken
- Specifies the next page of results. IfNextToken
is not specified, which is usually the case for the first request of ListReleaseLabels, the first page of results are determined by other filtering parameters or by the latest version. TheListReleaseLabels
request fails if the identity (Amazon Web Services account ID) and all filtering parameters are different from the original request, or if theNextToken
is expired or tampered with.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
Defines the maximum number of release labels to return in a single response. The default is
100
.- Parameters:
maxResults
- Defines the maximum number of release labels to return in a single response. The default is100
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListReleaseLabelsRequest.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
ListReleaseLabelsRequest.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.
-