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.Builderfilters(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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.emr.model.EmrRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
filters
Filters the results of the request.
Prefixspecifies the prefix of release labels to return.Applicationspecifies the application (with/without version) of release labels to return.- Parameters:
filters- Filters the results of the request.Prefixspecifies the prefix of release labels to return.Applicationspecifies 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 thePrefixspecifies the prefix of release labels to return.Applicationspecifies the application (with/without version) of release labels to return.ReleaseLabelFilter.Builderavoiding the need to create one manually viaReleaseLabelFilter.builder().When the
Consumercompletes,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
NextTokenis 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. TheListReleaseLabelsrequest fails if the identity (Amazon Web Services account ID) and all filtering parameters are different from the original request, or if theNextTokenis expired or tampered with.- Parameters:
nextToken- Specifies the next page of results. IfNextTokenis 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. TheListReleaseLabelsrequest fails if the identity (Amazon Web Services account ID) and all filtering parameters are different from the original request, or if theNextTokenis 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-