Class DeleteImportedKeyMaterialRequest
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DeleteImportedKeyMaterialRequest.Builder,DeleteImportedKeyMaterialRequest>
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringkeyId()Identifies the KMS key from which you are deleting imported key material.final StringIdentifies the imported key material you are deleting.static Class<? extends DeleteImportedKeyMaterialRequest.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
-
keyId
Identifies the KMS key from which you are deleting imported key material. The
Originof the KMS key must beEXTERNAL.Specify the key ID or key ARN of the KMS key.
For example:
-
Key ID:
1234abcd-12ab-34cd-56ef-1234567890ab -
Key ARN:
arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
To get the key ID and key ARN for a KMS key, use ListKeys or DescribeKey.
- Returns:
- Identifies the KMS key from which you are deleting imported key material. The
Originof the KMS key must beEXTERNAL.Specify the key ID or key ARN of the KMS key.
For example:
-
Key ID:
1234abcd-12ab-34cd-56ef-1234567890ab -
Key ARN:
arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
To get the key ID and key ARN for a KMS key, use ListKeys or DescribeKey.
-
-
-
keyMaterialId
Identifies the imported key material you are deleting.
If no KeyMaterialId is specified, KMS deletes the current key material.
To get the list of key material IDs associated with a KMS key, use ListKeyRotations.
- Returns:
- Identifies the imported key material you are deleting.
If no KeyMaterialId is specified, KMS deletes the current key material.
To get the list of key material IDs associated with a KMS key, use ListKeyRotations.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<DeleteImportedKeyMaterialRequest.Builder,DeleteImportedKeyMaterialRequest> - Specified by:
toBuilderin classKmsRequest
-
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
-