public UpdateEncryption withDeviceId(String deviceId) {
        setDeviceId(deviceId);
        return this;
    }
The value of one of the devices that you configured with your digital rights management (DRM) platform key
provider. This parameter is required for SPEKE encryption and is not valid for static key encryption.

@param deviceId
       The value of one of the devices that you configured with your digital rights management (DRM) platform key
       provider. This parameter is required for SPEKE encryption and is not valid for static key encryption.
@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/UpdateEncryption.java