| Package | Description |
|---|---|
| software.amazon.awssdk.services.cloudwatchlogs |
You can use Amazon CloudWatch Logs to monitor, store, and access your log files from EC2 instances, CloudTrail, and
other sources.
|
| software.amazon.awssdk.services.cloudwatchlogs.model |
| Modifier and Type | Method and Description |
|---|---|
default PutAccountPolicyResponse |
CloudWatchLogsClient.putAccountPolicy(Consumer<PutAccountPolicyRequest.Builder> putAccountPolicyRequest)
Creates an account-level data protection policy that applies to all log groups in the account.
|
default CompletableFuture<PutAccountPolicyResponse> |
CloudWatchLogsAsyncClient.putAccountPolicy(Consumer<PutAccountPolicyRequest.Builder> putAccountPolicyRequest)
Creates an account-level data protection policy that applies to all log groups in the account.
|
| Modifier and Type | Method and Description |
|---|---|
static PutAccountPolicyRequest.Builder |
PutAccountPolicyRequest.builder() |
PutAccountPolicyRequest.Builder |
PutAccountPolicyRequest.Builder.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
PutAccountPolicyRequest.Builder |
PutAccountPolicyRequest.Builder.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
PutAccountPolicyRequest.Builder |
PutAccountPolicyRequest.Builder.policyDocument(String policyDocument)
Specify the data protection policy, in JSON.
|
PutAccountPolicyRequest.Builder |
PutAccountPolicyRequest.Builder.policyName(String policyName)
A name for the policy.
|
PutAccountPolicyRequest.Builder |
PutAccountPolicyRequest.Builder.policyType(PolicyType policyType)
Currently the only valid value for this parameter is
DATA_PROTECTION_POLICY. |
PutAccountPolicyRequest.Builder |
PutAccountPolicyRequest.Builder.policyType(String policyType)
Currently the only valid value for this parameter is
DATA_PROTECTION_POLICY. |
PutAccountPolicyRequest.Builder |
PutAccountPolicyRequest.Builder.scope(Scope scope)
Currently the only valid value for this parameter is
ALL, which specifies that the data
protection policy applies to all log groups in the account. |
PutAccountPolicyRequest.Builder |
PutAccountPolicyRequest.Builder.scope(String scope)
Currently the only valid value for this parameter is
ALL, which specifies that the data
protection policy applies to all log groups in the account. |
PutAccountPolicyRequest.Builder |
PutAccountPolicyRequest.toBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static Class<? extends PutAccountPolicyRequest.Builder> |
PutAccountPolicyRequest.serializableBuilderClass() |
Copyright © 2023. All rights reserved.