public UpdateInputRequest withInputDevices(InputDeviceRequest... inputDevices) {
        if (this.inputDevices == null) {
            setInputDevices(new java.util.ArrayList<InputDeviceRequest>(inputDevices.length));
        }
        for (InputDeviceRequest ele : inputDevices) {
            this.inputDevices.add(ele);
        }
        return this;
    }
Settings for the devices.
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setInputDevices(java.util.Collection)} or {@link #withInputDevices(java.util.Collection)} if you want to
override the existing values.
</p>

@param inputDevices
       Settings for the devices.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-medialive/src/main/java/com/amazonaws/services/medialive/model/UpdateInputRequest.java