public GrantEntitlementRequest withEncryption(Encryption encryption) {
        setEncryption(encryption);
        return this;
    }
The type of encryption that will be used on the output that is associated with this entitlement. Allowable
encryption types: static-key, speke.

@param encryption
       The type of encryption that will be used on the output that is associated with this entitlement. Allowable
       encryption types: static-key, speke.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-mediaconnect/src/main/java/com/amazonaws/services/mediaconnect/model/GrantEntitlementRequest.java