public DeviceTemplate withDeviceType(String deviceType) {
        setDeviceType(deviceType);
        return this;
    }
<p>
The device type, which currently must be <code>"button"</code>.
</p>

@param deviceType
       The device type, which currently must be <code>"button"</code>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iot1clickprojects/src/main/java/com/amazonaws/services/iot1clickprojects/model/DeviceTemplate.java