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 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. Prefix specifies the prefix of release labels to return. Application specifies the application (with/without version) of release labels to return.

      This is a convenience method that creates an instance of the ReleaseLabelFilter.Builder avoiding the need to create one manually via ReleaseLabelFilter.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to filters(ReleaseLabelFilter).

      Parameters:
      filters - a consumer that will call methods on ReleaseLabelFilter.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. The ListReleaseLabels request fails if the identity (Amazon Web Services account ID) and all filtering parameters are different from the original request, or if the NextToken is expired or tampered with.

      Parameters:
      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. The ListReleaseLabels request fails if the identity (Amazon Web Services account ID) and all filtering parameters are different from the original request, or if the NextToken is 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 is 100.
      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 interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.