Interface ListPoliciesResponse.Builder

  • Method Details

    • nextToken

      ListPoliciesResponse.Builder nextToken(String nextToken)

      If present, indicates that more output is available than is included in the current response. Use this value in the NextToken request parameter in a next call to the operation to get more output. You can repeat this until the NextToken response element returns null.

      Parameters:
      nextToken - If present, indicates that more output is available than is included in the current response. Use this value in the NextToken request parameter in a next call to the operation to get more output. You can repeat this until the NextToken response element returns null.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • policies

      An array of Policy objects. Contains a list of policies that define the permissions for team resources.

      The protected operation for a service integration might require specific permissions. For more information, see How other services work with Multi-party approval in the Multi-party approval User Guide.

      Parameters:
      policies - An array of Policy objects. Contains a list of policies that define the permissions for team resources.

      The protected operation for a service integration might require specific permissions. For more information, see How other services work with Multi-party approval in the Multi-party approval User Guide.

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

      ListPoliciesResponse.Builder policies(Policy... policies)

      An array of Policy objects. Contains a list of policies that define the permissions for team resources.

      The protected operation for a service integration might require specific permissions. For more information, see How other services work with Multi-party approval in the Multi-party approval User Guide.

      Parameters:
      policies - An array of Policy objects. Contains a list of policies that define the permissions for team resources.

      The protected operation for a service integration might require specific permissions. For more information, see How other services work with Multi-party approval in the Multi-party approval User Guide.

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

      An array of Policy objects. Contains a list of policies that define the permissions for team resources.

      The protected operation for a service integration might require specific permissions. For more information, see How other services work with Multi-party approval in the Multi-party approval User Guide.

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

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

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