public CreateDetectorModelRequest withDetectorModelDefinition(DetectorModelDefinition detectorModelDefinition) {
        setDetectorModelDefinition(detectorModelDefinition);
        return this;
    }
<p>
Information that defines how the detectors operate.
</p>

@param detectorModelDefinition
       Information that defines how the detectors operate.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iotevents/src/main/java/com/amazonaws/services/iotevents/model/CreateDetectorModelRequest.java