@Override
    protected AmazonS3EncryptionV2 build(AwsSyncClientParams clientParams) {
        return new AmazonS3EncryptionClientV2(
                new AmazonS3EncryptionClientV2ParamsWrapper(
                        clientParams,
                        resolveS3ClientOptions(),
                        encryptionMaterialsProvider,
                        cryptoConfig != null ? cryptoConfig : new CryptoConfigurationV2(),
                        kmsClient));
    }
Construct a synchronous implementation of AmazonS3Encryption using the current builder configuration.

@return Fully configured implementation of AmazonS3EncryptionV2.
aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/AmazonS3EncryptionClientV2Builder.java