Interface GetPolicyAssignmentRequest.Builder

  • Method Details

    • accountId

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

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

      The type of policy to describe. Choose one of the following values:

      • LIMITS_PROFILE – A limits profile that sets resource usage limits.

      • CUSTOM_PERMISSIONS – A custom permissions profile that restricts the capabilities available to a principal.

      Parameters:
      policyType - The type of policy to describe. Choose one of the following values:

      • LIMITS_PROFILE – A limits profile that sets resource usage limits.

      • CUSTOM_PERMISSIONS – A custom permissions profile that restricts the capabilities available to a principal.

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

      The type of policy to describe. Choose one of the following values:

      • LIMITS_PROFILE – A limits profile that sets resource usage limits.

      • CUSTOM_PERMISSIONS – A custom permissions profile that restricts the capabilities available to a principal.

      Parameters:
      policyType - The type of policy to describe. Choose one of the following values:

      • LIMITS_PROFILE – A limits profile that sets resource usage limits.

      • CUSTOM_PERMISSIONS – A custom permissions profile that restricts the capabilities available to a principal.

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

      GetPolicyAssignmentRequest.Builder principalArn(String principalArn)

      The ARN of the user, group, or account.

      Parameters:
      principalArn - The ARN of the user, group, or account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

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