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.

      Parameters:
      policies - An array of Policy objects. Contains a list of policies that define the permissions for team resources.
      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.

      Parameters:
      policies - An array of Policy objects. Contains a list of policies that define the permissions for team resources.
      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.

      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: