public static interface CreateLogGroupRequest.Builder extends CloudWatchLogsRequest.Builder, SdkPojo, CopyableBuilder<CreateLogGroupRequest.Builder,CreateLogGroupRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateLogGroupRequest.Builder |
kmsKeyId(String kmsKeyId)
The Amazon Resource Name (ARN) of the KMS key to use when encrypting log data.
|
CreateLogGroupRequest.Builder |
logGroupName(String logGroupName)
The name of the log group.
|
CreateLogGroupRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateLogGroupRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateLogGroupRequest.Builder |
tags(Map<String,String> tags)
The key-value pairs to use for the tags.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateLogGroupRequest.Builder logGroupName(String logGroupName)
The name of the log group.
logGroupName - The name of the log group.CreateLogGroupRequest.Builder kmsKeyId(String kmsKeyId)
The Amazon Resource Name (ARN) of the KMS key to use when encrypting log data. For more information, see Amazon Resource Names.
kmsKeyId - The Amazon Resource Name (ARN) of the KMS key to use when encrypting log data. For more information,
see Amazon Resource Names.CreateLogGroupRequest.Builder tags(Map<String,String> tags)
The key-value pairs to use for the tags.
You can grant users access to certain log groups while preventing them from accessing other log groups. To do
so, tag your groups and use IAM policies that refer to those tags. To assign tags when you create a log
group, you must have either the logs:TagResource or logs:TagLogGroup permission.
For more information about tagging, see Tagging Amazon Web Services
resources. For more information about using tags to control access, see Controlling access to Amazon Web
Services resources using tags.
tags - The key-value pairs to use for the tags.
You can grant users access to certain log groups while preventing them from accessing other log
groups. To do so, tag your groups and use IAM policies that refer to those tags. To assign tags when
you create a log group, you must have either the logs:TagResource or
logs:TagLogGroup permission. For more information about tagging, see Tagging Amazon Web Services
resources. For more information about using tags to control access, see Controlling access to Amazon
Web Services resources using tags.
CreateLogGroupRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateLogGroupRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.