Interface ListLifecyclePoliciesResponse.Builder

  • Method Details

    • lifecyclePolicySummaryList

      ListLifecyclePoliciesResponse.Builder lifecyclePolicySummaryList(Collection<LifecyclePolicySummary> lifecyclePolicySummaryList)

      A list of lifecycle policies in your Amazon Web Services account that meet the criteria specified in the request.

      Parameters:
      lifecyclePolicySummaryList - A list of lifecycle policies in your Amazon Web Services account that meet the criteria specified in the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lifecyclePolicySummaryList

      ListLifecyclePoliciesResponse.Builder lifecyclePolicySummaryList(LifecyclePolicySummary... lifecyclePolicySummaryList)

      A list of lifecycle policies in your Amazon Web Services account that meet the criteria specified in the request.

      Parameters:
      lifecyclePolicySummaryList - A list of lifecycle policies in your Amazon Web Services account that meet the criteria specified in the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lifecyclePolicySummaryList

      ListLifecyclePoliciesResponse.Builder lifecyclePolicySummaryList(Consumer<LifecyclePolicySummary.Builder>... lifecyclePolicySummaryList)

      A list of lifecycle policies in your Amazon Web Services account that meet the criteria specified in the request.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to lifecyclePolicySummaryList(List<LifecyclePolicySummary>).

      Parameters:
      lifecyclePolicySummaryList - a consumer that will call methods on LifecyclePolicySummary.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • nextToken

      The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.

      Parameters:
      nextToken - The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
      Returns:
      Returns a reference to this object so that method calls can be chained together.