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 Details

    • datasetIdentifier

      AssociateDatasetKmsKeyRequest.Builder datasetIdentifier(String datasetIdentifier)

      Specifies the identifier of the dataset that you want to associate the KMS key with. For the default dataset, you can specify either default or the full dataset Amazon Resource Name (ARN) in the format arn: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 the default dataset, you can specify either default or the full dataset Amazon Resource Name (ARN) in the format arn: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:
      overrideConfiguration in interface AwsRequest.Builder
    • overrideConfiguration

      Specified by:
      overrideConfiguration in interface AwsRequest.Builder