Interface EncryptionKey.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EncryptionKey.Builder,
,EncryptionKey> SdkBuilder<EncryptionKey.Builder,
,EncryptionKey> SdkPojo
- Enclosing class:
EncryptionKey
-
Method Summary
Modifier and TypeMethodDescriptionThe ID used to identify the key.The type of encryption key, such as an Amazon Web Services KMS key.type
(EncryptionKeyType type) The type of encryption key, such as an Amazon Web Services KMS key.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, sdkFields
-
Method Details
-
id
The ID used to identify the key. For an Amazon Web Services KMS key, you can use the key ID, the key ARN, or the alias ARN.
Aliases are recognized only in the account that created the KMS key. For cross-account actions, you can only use the key ID or key ARN to identify the key. Cross-account actions involve using the role from the other account (AccountB), so specifying the key ID will use the key from the other account (AccountB).
- Parameters:
id
- The ID used to identify the key. For an Amazon Web Services KMS key, you can use the key ID, the key ARN, or the alias ARN.Aliases are recognized only in the account that created the KMS key. For cross-account actions, you can only use the key ID or key ARN to identify the key. Cross-account actions involve using the role from the other account (AccountB), so specifying the key ID will use the key from the other account (AccountB).
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The type of encryption key, such as an Amazon Web Services KMS key. When creating or updating a pipeline, the value must be set to 'KMS'.
- Parameters:
type
- The type of encryption key, such as an Amazon Web Services KMS key. When creating or updating a pipeline, the value must be set to 'KMS'.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of encryption key, such as an Amazon Web Services KMS key. When creating or updating a pipeline, the value must be set to 'KMS'.
- Parameters:
type
- The type of encryption key, such as an Amazon Web Services KMS key. When creating or updating a pipeline, the value must be set to 'KMS'.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-