Interface EncryptionKey.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<EncryptionKey.Builder,EncryptionKey>,SdkBuilder<EncryptionKey.Builder,EncryptionKey>,SdkPojo
- Enclosing class:
- EncryptionKey
public static interface EncryptionKey.Builder extends SdkPojo, CopyableBuilder<EncryptionKey.Builder,EncryptionKey>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EncryptionKey.Builderid(String id)The ID used to identify the key.EncryptionKey.Buildertype(String type)The type of encryption key, such as an Amazon Web Services KMS key.EncryptionKey.Buildertype(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
id
EncryptionKey.Builder id(String 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
EncryptionKey.Builder type(String 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:
EncryptionKeyType,EncryptionKeyType
-
type
EncryptionKey.Builder type(EncryptionKeyType 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:
EncryptionKeyType,EncryptionKeyType
-
-