Interface ListReleaseLabelsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListReleaseLabelsRequest.Builder,ListReleaseLabelsRequest>,EmrRequest.Builder,SdkBuilder<ListReleaseLabelsRequest.Builder,ListReleaseLabelsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListReleaseLabelsRequest
public static interface ListReleaseLabelsRequest.Builder extends EmrRequest.Builder, SdkPojo, CopyableBuilder<ListReleaseLabelsRequest.Builder,ListReleaseLabelsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ListReleaseLabelsRequest.Builderfilters(Consumer<ReleaseLabelFilter.Builder> filters)Filters the results of the request.ListReleaseLabelsRequest.Builderfilters(ReleaseLabelFilter filters)Filters the results of the request.ListReleaseLabelsRequest.BuildermaxResults(Integer maxResults)Defines the maximum number of release labels to return in a single response.ListReleaseLabelsRequest.BuildernextToken(String nextToken)Specifies the next page of results.ListReleaseLabelsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListReleaseLabelsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
filters
ListReleaseLabelsRequest.Builder filters(ReleaseLabelFilter 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
default ListReleaseLabelsRequest.Builder filters(Consumer<ReleaseLabelFilter.Builder> 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:
filters(ReleaseLabelFilter)
-
nextToken
ListReleaseLabelsRequest.Builder nextToken(String 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
ListReleaseLabelsRequest.Builder maxResults(Integer 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListReleaseLabelsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-