Class RawKeyring.Builder<KeyringT extends RawKeyring,BuilderT extends RawKeyring.Builder<KeyringT,BuilderT>>
- java.lang.Object
-
- software.amazon.encryption.s3.materials.S3Keyring.Builder<KeyringT,BuilderT>
-
- software.amazon.encryption.s3.materials.RawKeyring.Builder<KeyringT,BuilderT>
-
- Type Parameters:
KeyringT
- the type of keyring being builtBuilderT
- the type of builder
- Direct Known Subclasses:
AesKeyring.Builder
,RsaKeyring.Builder
- Enclosing class:
- RawKeyring
public abstract static class RawKeyring.Builder<KeyringT extends RawKeyring,BuilderT extends RawKeyring.Builder<KeyringT,BuilderT>> extends S3Keyring.Builder<KeyringT,BuilderT>
Abstract builder for RawKeyring implementations. Provides common functionality for setting materials description on raw keyrings.
-
-
Field Summary
Fields Modifier and Type Field Description protected MaterialsDescription
_materialsDescription
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BuilderT
materialsDescription(MaterialsDescription materialsDescription)
Sets the materials description for this keyring.-
Methods inherited from class software.amazon.encryption.s3.materials.S3Keyring.Builder
build, builder, dataKeyGenerator, enableLegacyWrappingAlgorithms, secureRandom
-
-
-
-
Field Detail
-
_materialsDescription
protected MaterialsDescription _materialsDescription
-
-
Method Detail
-
materialsDescription
public BuilderT materialsDescription(MaterialsDescription materialsDescription)
Sets the materials description for this keyring. Materials description provides additional metadata for raw keyrings.- Parameters:
materialsDescription
- the materials description to associate with this keyring.- Returns:
- a reference to this object so that method calls can be chained together.
-
-