Interface ListCurationPoliciesRequest.Builder

  • Method Details

    • agentContextId

      ListCurationPoliciesRequest.Builder agentContextId(String agentContextId)

      The agent context whose associated policies you want to list, by its ID or ARN. If you omit it, every policy in your account is listed.

      Parameters:
      agentContextId - The agent context whose associated policies you want to list, by its ID or ARN. If you omit it, every policy in your account is listed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      Return only policies with this status. If you omit it, policies in both statuses are returned.

      Valid values:

      • DRAFT - Policies that have never been published.

      • ACTIVE - Policies with a published version.

      Parameters:
      status - Return only policies with this status. If you omit it, policies in both statuses are returned.

      Valid values:

      • DRAFT - Policies that have never been published.

      • ACTIVE - Policies with a published version.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      Return only policies with this status. If you omit it, policies in both statuses are returned.

      Valid values:

      • DRAFT - Policies that have never been published.

      • ACTIVE - Policies with a published version.

      Parameters:
      status - Return only policies with this status. If you omit it, policies in both statuses are returned.

      Valid values:

      • DRAFT - Policies that have never been published.

      • ACTIVE - Policies with a published version.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • maxResults

      Maximum number of results per page (upper bound, not a target). The service might return fewer. Defaults to 50. A value outside 1–100 fails with ValidationException.

      Parameters:
      maxResults - Maximum number of results per page (upper bound, not a target). The service might return fewer. Defaults to 50. A value outside 1–100 fails with ValidationException.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nextToken

      Opaque pagination cursor from a prior response. Omit for the first page.

      Parameters:
      nextToken - Opaque pagination cursor from a prior response. Omit for the first page.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      ListCurationPoliciesRequest.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.