Interface AssociateDatasetKmsKeyRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudWatchRequest.Builder,CopyableBuilder<AssociateDatasetKmsKeyRequest.Builder,,AssociateDatasetKmsKeyRequest> SdkBuilder<AssociateDatasetKmsKeyRequest.Builder,,AssociateDatasetKmsKeyRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
- AssociateDatasetKmsKeyRequest
-
Method Summary
Modifier and TypeMethodDescriptiondatasetIdentifier(String datasetIdentifier) Specifies the identifier of the dataset that you want to associate the KMS key with.Specifies the Amazon Resource Name (ARN) of the customer managed KMS key to associate with the dataset.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.cloudwatch.model.CloudWatchRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
datasetIdentifier
Specifies the identifier of the dataset that you want to associate the KMS key with. For the
defaultdataset, you can specify eitherdefaultor the full dataset Amazon Resource Name (ARN) in the formatarn:aws:cloudwatch:Region:account-id:dataset/default.- Parameters:
datasetIdentifier- Specifies the identifier of the dataset that you want to associate the KMS key with. For thedefaultdataset, you can specify eitherdefaultor the full dataset Amazon Resource Name (ARN) in the formatarn:aws:cloudwatch:Region:account-id:dataset/default.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsKeyArn
Specifies the Amazon Resource Name (ARN) of the customer managed KMS key to associate with the dataset. The key must be a symmetric encryption KMS key (
SYMMETRIC_DEFAULT) in the same Amazon Web Services Region as the dataset.The ARN must be in the format
arn:aws:kms:Region:account-id:key/key-id. Key IDs, aliases, and alias ARNs are not accepted.For more information about KMS key ARNs, see Key ARN in the Amazon Web Services Key Management Service Developer Guide.
- Parameters:
kmsKeyArn- Specifies the Amazon Resource Name (ARN) of the customer managed KMS key to associate with the dataset. The key must be a symmetric encryption KMS key (SYMMETRIC_DEFAULT) in the same Amazon Web Services Region as the dataset.The ARN must be in the format
arn:aws:kms:Region:account-id:key/key-id. Key IDs, aliases, and alias ARNs are not accepted.For more information about KMS key ARNs, see Key ARN in the Amazon Web Services Key Management Service Developer Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
AssociateDatasetKmsKeyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
AssociateDatasetKmsKeyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-