public UpdateInputDeviceResult withType(String type) {
        setType(type);
        return this;
    }
The type of the input device.

@param type
       The type of the input device.
@return Returns a reference to this object so that method calls can be chained together.
@see InputDeviceType
aws-java-sdk-medialive/src/main/java/com/amazonaws/services/medialive/model/UpdateInputDeviceResult.java