public InputDeviceSummary withType(InputDeviceType type) {
        this.type = type.toString();
        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/InputDeviceSummary.java