Interface ListPrincipalsForPolicyRequest.Builder

  • Method Details

    • accountId

      The ID of the Amazon Web Services account that contains the policy.

      Parameters:
      accountId - The ID of the Amazon Web Services account that contains the policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • policyArn

      The ARN of the policy.

      Parameters:
      policyArn - The ARN of the policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • principalType

      ListPrincipalsForPolicyRequest.Builder principalType(String principalType)

      An optional filter that limits the results to principals of the specified type. If you don't specify a value, the operation returns principals of all types. You can specify one of the following values:

      • USER – An Amazon Quick Sight user.

      • GROUP – An Amazon Quick Sight group.

      • ACCOUNT – The Amazon Quick Sight account.

      Parameters:
      principalType - An optional filter that limits the results to principals of the specified type. If you don't specify a value, the operation returns principals of all types. You can specify one of the following values:

      • USER – An Amazon Quick Sight user.

      • GROUP – An Amazon Quick Sight group.

      • ACCOUNT – The Amazon Quick Sight account.

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

      An optional filter that limits the results to principals of the specified type. If you don't specify a value, the operation returns principals of all types. You can specify one of the following values:

      • USER – An Amazon Quick Sight user.

      • GROUP – An Amazon Quick Sight group.

      • ACCOUNT – The Amazon Quick Sight account.

      Parameters:
      principalType - An optional filter that limits the results to principals of the specified type. If you don't specify a value, the operation returns principals of all types. You can specify one of the following values:

      • USER – An Amazon Quick Sight user.

      • GROUP – An Amazon Quick Sight group.

      • ACCOUNT – The Amazon Quick Sight account.

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

      The maximum number of results to return in a single call. Valid range is 1–100. If you don't specify a value, the operation returns up to 100 results.

      Parameters:
      maxResults - The maximum number of results to return in a single call. Valid range is 1–100. If you don't specify a value, the operation returns up to 100 results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nextToken

      The token returned by a previous call. Use it to get the next page of results.

      Parameters:
      nextToken - The token returned by a previous call. Use it to get the next page of results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

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