Class AssociateDatasetKmsKeyRequest
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<AssociateDatasetKmsKeyRequest.Builder,AssociateDatasetKmsKeyRequest>
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final StringSpecifies the identifier of the dataset that you want to associate the KMS key with.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringSpecifies the Amazon Resource Name (ARN) of the customer managed KMS key to associate with the dataset.static Class<? extends AssociateDatasetKmsKeyRequest.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfigurationMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
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.- Returns:
- 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.
-
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:
- 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.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<AssociateDatasetKmsKeyRequest.Builder,AssociateDatasetKmsKeyRequest> - Specified by:
toBuilderin classCloudWatchRequest
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode()- Overrides:
hashCodein classAwsRequest
-
equals
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-