public AddOutputRequest withEncryption(Encryption encryption) {
        setEncryption(encryption);
        return this;
    }
The type of key used for the encryption. If no keyType is provided, the service will use the default setting
(static-key). Allowable encryption types: static-key.

@param encryption
       The type of key used for the encryption. If no keyType is provided, the service will use the default
       setting (static-key). Allowable encryption types: static-key.
@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/AddOutputRequest.java