EDIT: Original problem solved, single question still open - please see #2033 (comment) . 
Problem: 
I am trying to use the aws-encryption-sdk and followed the examples (which work fine), but the methods the examples are using are deprecated:
How can I migrate to the non-deprecated methods?
Source-Context:
[...]
 // Create a KMS master key provider 
var  masterKeyProvider  = KmsMasterKeyProvider .builder ()
        .buildStrict (kmsKeyId );
// Create a caching cryptographic materials manager 
this .cachingMaterialsManager  = CachingCryptoMaterialsManager .newBuilder ()
        .withMasterKeyProvider (masterKeyProvider )
        .withCache (new  LocalCryptoMaterialsCache (MAX_CACHE_ENTRIES ))
        .withMaxAge (MAX_ENTRY_AGE_MILLISECONDS , TimeUnit .MILLISECONDS )
        .withMessageUseLimit (MAX_ENTRY_USES )
        .build ();
[...]
var  result  = this .crypto .encryptData (
        this .cachingMaterialsManager ,
        value .getBytes (StandardCharsets .UTF_8 ),
        new  HashMap <>() // encryption context 
);
[...]
// ToDO: Verify the encryption context 
var  result  = this .crypto .decryptData (
        this .cachingMaterialsManager ,
        encrypted 
); 👍 React with 👍 1gwynlionhart