Class RsaKeyMaterial.Builder
- java.lang.Object
-
- software.amazon.encryption.s3.materials.RsaKeyMaterial.Builder
-
- Enclosing class:
- RsaKeyMaterial
public static class RsaKeyMaterial.Builder extends Object
Builder for RsaKeyMaterial.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RsaKeyMaterialbuild()RsaKeyMaterial.BuilderkeyMaterial(PartialRsaKeyPair keyMaterial)Sets the RSA key material.RsaKeyMaterial.BuildermaterialsDescription(MaterialsDescription materialsDescription)Sets the materials description for this RSA key material.
-
-
-
Method Detail
-
materialsDescription
public RsaKeyMaterial.Builder materialsDescription(MaterialsDescription materialsDescription)
Sets the materials description for this RSA key material.- Parameters:
materialsDescription- the materials description- Returns:
- a reference to this object so that method calls can be chained together.
-
keyMaterial
public RsaKeyMaterial.Builder keyMaterial(PartialRsaKeyPair keyMaterial)
Sets the RSA key material.- Parameters:
keyMaterial- the RSA key material- Returns:
- a reference to this object so that method calls can be chained together.
-
build
public RsaKeyMaterial build()
- Returns:
- the built RsaKeyMaterial
-
-