Interface AwsKmsKeyDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AwsKmsKeyDetails.Builder,
,AwsKmsKeyDetails> SdkBuilder<AwsKmsKeyDetails.Builder,
,AwsKmsKeyDetails> SdkPojo
- Enclosing class:
AwsKmsKeyDetails
-
Method Summary
Modifier and TypeMethodDescriptionawsAccountId
(String awsAccountId) The twelve-digit account ID of the Amazon Web Services account that owns the KMS key.creationDate
(Double creationDate) Indicates when the KMS key was created.description
(String description) A description of the KMS key.The globally unique identifier for the KMS key.keyManager
(String keyManager) The manager of the KMS key.keyRotationStatus
(Boolean keyRotationStatus) Whether the key has key rotation enabled.The state of the KMS key.The source of the KMS key material.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
awsAccountId
The twelve-digit account ID of the Amazon Web Services account that owns the KMS key.
- Parameters:
awsAccountId
- The twelve-digit account ID of the Amazon Web Services account that owns the KMS key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationDate
Indicates when the KMS key was created.
For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps.
- Parameters:
creationDate
- Indicates when the KMS key was created.For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keyId
The globally unique identifier for the KMS key.
- Parameters:
keyId
- The globally unique identifier for the KMS key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keyManager
The manager of the KMS key. KMS keys in your Amazon Web Services account are either customer managed or Amazon Web Services managed.
- Parameters:
keyManager
- The manager of the KMS key. KMS keys in your Amazon Web Services account are either customer managed or Amazon Web Services managed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keyState
The state of the KMS key. Valid values are as follows:
-
Disabled
-
Enabled
-
PendingDeletion
-
PendingImport
-
Unavailable
- Parameters:
keyState
- The state of the KMS key. Valid values are as follows:-
Disabled
-
Enabled
-
PendingDeletion
-
PendingImport
-
Unavailable
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
origin
The source of the KMS key material.
When this value is
AWS_KMS
, KMS created the key material.When this value is
EXTERNAL
, the key material was imported from your existing key management infrastructure or the KMS key lacks key material.When this value is
AWS_CLOUDHSM
, the key material was created in the CloudHSM cluster associated with a custom key store.- Parameters:
origin
- The source of the KMS key material.When this value is
AWS_KMS
, KMS created the key material.When this value is
EXTERNAL
, the key material was imported from your existing key management infrastructure or the KMS key lacks key material.When this value is
AWS_CLOUDHSM
, the key material was created in the CloudHSM cluster associated with a custom key store.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of the KMS key.
- Parameters:
description
- A description of the KMS key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keyRotationStatus
Whether the key has key rotation enabled.
- Parameters:
keyRotationStatus
- Whether the key has key rotation enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-