Interface ListCurationPoliciesResponse.Builder

  • Method Details

    • items

      The matching policies, as summaries: the agent context's associated policies, or every policy in your account when agentContextId is omitted, in no particular order. The account-wide list is eventually consistent, so a policy created moments ago might be missing. Always present, and empty when there are none.

      Parameters:
      items - The matching policies, as summaries: the agent context's associated policies, or every policy in your account when agentContextId is omitted, in no particular order. The account-wide list is eventually consistent, so a policy created moments ago might be missing. Always present, and empty when there are none.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • items

      The matching policies, as summaries: the agent context's associated policies, or every policy in your account when agentContextId is omitted, in no particular order. The account-wide list is eventually consistent, so a policy created moments ago might be missing. Always present, and empty when there are none.

      Parameters:
      items - The matching policies, as summaries: the agent context's associated policies, or every policy in your account when agentContextId is omitted, in no particular order. The account-wide list is eventually consistent, so a policy created moments ago might be missing. Always present, and empty when there are none.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • items

      The matching policies, as summaries: the agent context's associated policies, or every policy in your account when agentContextId is omitted, in no particular order. The account-wide list is eventually consistent, so a policy created moments ago might be missing. Always present, and empty when there are none.

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

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

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

      Pagination cursor for the next page. Absent when no more results exist.

      Parameters:
      nextToken - Pagination cursor for the next page. Absent when no more results exist.
      Returns:
      Returns a reference to this object so that method calls can be chained together.