public static interface AssociateKmsKeyRequest.Builder extends CloudWatchLogsRequest.Builder, CopyableBuilder<AssociateKmsKeyRequest.Builder,AssociateKmsKeyRequest>
Modifier and Type | Method and Description |
---|---|
AssociateKmsKeyRequest.Builder |
kmsKeyId(String kmsKeyId)
The Amazon Resource Name (ARN) of the CMK to use when encrypting log data.
|
AssociateKmsKeyRequest.Builder |
logGroupName(String logGroupName)
The name of the log group.
|
AssociateKmsKeyRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
AssociateKmsKeyRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
build
requestOverrideConfig
copy
apply, build
AssociateKmsKeyRequest.Builder logGroupName(String logGroupName)
The name of the log group.
logGroupName
- The name of the log group.AssociateKmsKeyRequest.Builder kmsKeyId(String kmsKeyId)
The Amazon Resource Name (ARN) of the CMK to use when encrypting log data. For more information, see Amazon Resource Names - AWS Key Management Service (AWS KMS).
kmsKeyId
- The Amazon Resource Name (ARN) of the CMK to use when encrypting log data. For more information, see
Amazon Resource Names - AWS Key Management Service (AWS KMS).AssociateKmsKeyRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.AssociateKmsKeyRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfig.Builder
will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.