Package | Description |
---|---|
software.amazon.awssdk.services.kms |
|
software.amazon.awssdk.services.kms.model |
Modifier and Type | Method and Description |
---|---|
default CreateKeyResponse |
KmsClient.createKey(Consumer<CreateKeyRequest.Builder> createKeyRequest)
Creates a unique customer managed KMS key in your Amazon
Web Services account and Region.
|
default CompletableFuture<CreateKeyResponse> |
KmsAsyncClient.createKey(Consumer<CreateKeyRequest.Builder> createKeyRequest)
Creates a unique customer managed KMS key in your Amazon
Web Services account and Region.
|
Modifier and Type | Method and Description |
---|---|
static CreateKeyRequest.Builder |
CreateKeyRequest.builder() |
CreateKeyRequest.Builder |
CreateKeyRequest.Builder.bypassPolicyLockoutSafetyCheck(Boolean bypassPolicyLockoutSafetyCheck)
A flag to indicate whether to bypass the key policy lockout safety check.
|
CreateKeyRequest.Builder |
CreateKeyRequest.Builder.customerMasterKeySpec(CustomerMasterKeySpec customerMasterKeySpec)
Deprecated.
This parameter has been deprecated. Instead, use the KeySpec parameter.
|
CreateKeyRequest.Builder |
CreateKeyRequest.Builder.customerMasterKeySpec(String customerMasterKeySpec)
Deprecated.
This parameter has been deprecated. Instead, use the KeySpec parameter.
|
CreateKeyRequest.Builder |
CreateKeyRequest.Builder.customKeyStoreId(String customKeyStoreId)
Creates the KMS key in the specified custom key
store and the key material in its associated CloudHSM cluster.
|
CreateKeyRequest.Builder |
CreateKeyRequest.Builder.description(String description)
A description of the KMS key.
|
CreateKeyRequest.Builder |
CreateKeyRequest.Builder.keySpec(KeySpec keySpec)
Specifies the type of KMS key to create.
|
CreateKeyRequest.Builder |
CreateKeyRequest.Builder.keySpec(String keySpec)
Specifies the type of KMS key to create.
|
CreateKeyRequest.Builder |
CreateKeyRequest.Builder.keyUsage(KeyUsageType keyUsage)
Determines the cryptographic operations for which you can use the KMS key.
|
CreateKeyRequest.Builder |
CreateKeyRequest.Builder.keyUsage(String keyUsage)
Determines the cryptographic operations for which you can use the KMS key.
|
CreateKeyRequest.Builder |
CreateKeyRequest.Builder.multiRegion(Boolean multiRegion)
Creates a multi-Region primary key that you can replicate into other Amazon Web Services Regions.
|
CreateKeyRequest.Builder |
CreateKeyRequest.Builder.origin(OriginType origin)
The source of the key material for the KMS key.
|
CreateKeyRequest.Builder |
CreateKeyRequest.Builder.origin(String origin)
The source of the key material for the KMS key.
|
CreateKeyRequest.Builder |
CreateKeyRequest.Builder.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateKeyRequest.Builder |
CreateKeyRequest.Builder.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateKeyRequest.Builder |
CreateKeyRequest.Builder.policy(String policy)
The key policy to attach to the KMS key.
|
CreateKeyRequest.Builder |
CreateKeyRequest.Builder.tags(Collection<Tag> tags)
Assigns one or more tags to the KMS key.
|
CreateKeyRequest.Builder |
CreateKeyRequest.Builder.tags(Consumer<Tag.Builder>... tags)
Assigns one or more tags to the KMS key.
|
CreateKeyRequest.Builder |
CreateKeyRequest.Builder.tags(Tag... tags)
Assigns one or more tags to the KMS key.
|
CreateKeyRequest.Builder |
CreateKeyRequest.toBuilder() |
Modifier and Type | Method and Description |
---|---|
static Class<? extends CreateKeyRequest.Builder> |
CreateKeyRequest.serializableBuilderClass() |
Copyright © 2022. All rights reserved.