public CmafGroupSettings withEncryption(CmafEncryptionSettings encryption) {
        setEncryption(encryption);
        return this;
    }
DRM settings.

@param encryption
       DRM settings.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-mediaconvert/src/main/java/com/amazonaws/services/mediaconvert/model/CmafGroupSettings.java