Interface DescribeAccountPoliciesRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudWatchLogsRequest.Builder,CopyableBuilder<DescribeAccountPoliciesRequest.Builder,DescribeAccountPoliciesRequest>,SdkBuilder<DescribeAccountPoliciesRequest.Builder,DescribeAccountPoliciesRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- DescribeAccountPoliciesRequest
public static interface DescribeAccountPoliciesRequest.Builder extends CloudWatchLogsRequest.Builder, SdkPojo, CopyableBuilder<DescribeAccountPoliciesRequest.Builder,DescribeAccountPoliciesRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeAccountPoliciesRequest.BuilderaccountIdentifiers(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.DescribeAccountPoliciesRequest.BuilderaccountIdentifiers(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.DescribeAccountPoliciesRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)DescribeAccountPoliciesRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)DescribeAccountPoliciesRequest.BuilderpolicyName(String policyName)Use this parameter to limit the returned policies to only the policy with the name that you specify.DescribeAccountPoliciesRequest.BuilderpolicyType(String policyType)Use this parameter to limit the returned policies to only the policies that match the policy type that you specify.DescribeAccountPoliciesRequest.BuilderpolicyType(PolicyType policyType)Use this parameter to limit the returned policies to only the policies that match the policy type that you specify.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.cloudwatchlogs.model.CloudWatchLogsRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
policyType
DescribeAccountPoliciesRequest.Builder policyType(String 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,PolicyType
-
policyType
DescribeAccountPoliciesRequest.Builder policyType(PolicyType 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,PolicyType
-
policyName
DescribeAccountPoliciesRequest.Builder policyName(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
DescribeAccountPoliciesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-