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 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: