Interface DescribeAccountPoliciesRequest.Builder

  • Method Details

    • policyType

      Use this parameter to limit the returned policies to only the policies that match the policy type that you specify.

      Parameters:
      policyType - Use this parameter to limit the returned policies to only the policies that match the policy type that you specify.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • policyType

      Use this parameter to limit the returned policies to only the policies that match the policy type that you specify.

      Parameters:
      policyType - Use this parameter to limit the returned policies to only the policies that match the policy type that you specify.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • policyName

      Use this parameter to limit the returned policies to only the policy with the name that you specify.

      Parameters:
      policyName - Use this parameter to limit the returned policies to only the policy with the name that you specify.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • accountIdentifiers

      DescribeAccountPoliciesRequest.Builder accountIdentifiers(Collection<String> accountIdentifiers)

      If you are using an account that is set up as a monitoring account for CloudWatch unified cross-account observability, you can use this to specify the account ID of a source account. If you do, the operation returns the account policy for the specified account. Currently, you can specify only one account ID in this parameter.

      If you omit this parameter, only the policy in the current account is returned.

      Parameters:
      accountIdentifiers - If you are using an account that is set up as a monitoring account for CloudWatch unified cross-account observability, you can use this to specify the account ID of a source account. If you do, the operation returns the account policy for the specified account. Currently, you can specify only one account ID in this parameter.

      If you omit this parameter, only the policy in the current account is returned.

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

      DescribeAccountPoliciesRequest.Builder accountIdentifiers(String... accountIdentifiers)

      If you are using an account that is set up as a monitoring account for CloudWatch unified cross-account observability, you can use this to specify the account ID of a source account. If you do, the operation returns the account policy for the specified account. Currently, you can specify only one account ID in this parameter.

      If you omit this parameter, only the policy in the current account is returned.

      Parameters:
      accountIdentifiers - If you are using an account that is set up as a monitoring account for CloudWatch unified cross-account observability, you can use this to specify the account ID of a source account. If you do, the operation returns the account policy for the specified account. Currently, you can specify only one account ID in this parameter.

      If you omit this parameter, only the policy in the current account is returned.

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

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