Class CSEMaterials

java.lang.Object
org.apache.hadoop.fs.s3a.impl.CSEMaterials

public class CSEMaterials extends Object
This class is for storing information about key type and corresponding key to be used for client side encryption.
  • Constructor Details

    • CSEMaterials

      public CSEMaterials()
  • Method Details

    • withKmsKeyId

      public CSEMaterials withKmsKeyId(String value)
      Kms key id to use.
      Parameters:
      value - new value
      Returns:
      the builder
    • withCustomCryptographicClassName

      public CSEMaterials withCustomCryptographicClassName(String value)
      Custom cryptographic class name to use.
      Parameters:
      value - cryptographic manager class name
      Returns:
      the builder
    • withConf

      public CSEMaterials withConf(org.apache.hadoop.conf.Configuration value)
      Configuration.
      Parameters:
      value - configuration
      Returns:
      the builder
    • getKmsKeyId

      public String getKmsKeyId()
      Get the Kms key id to use.
      Returns:
      the kms key id.
    • getConf

      public org.apache.hadoop.conf.Configuration getConf()
    • getCustomKeyringClassName

      public String getCustomKeyringClassName()
      Get the custom cryptographic class name.
      Returns:
      custom keyring class name
    • withCSEKeyType

      public CSEMaterials withCSEKeyType(CSEMaterials.CSEKeyType value)
      CSE key type to use.
      Parameters:
      value - new value
      Returns:
      the builder
    • getCseKeyType

      public CSEMaterials.CSEKeyType getCseKeyType()
      Get the CSE key type.
      Returns:
      CSE key type