public String getKey() {
        return this.key;
    }
<p>
The input attribute key used to identify a device or system to create a detector (an instance of the detector
model) and then to route each input received to the appropriate detector (instance). This parameter uses a
JSON-path expression in the message payload of each input to specify the attribute-value pair that is used to
identify the device associated with the input.
</p>

@return The input attribute key used to identify a device or system to create a detector (an instance of the
        detector model) and then to route each input received to the appropriate detector (instance). This
        parameter uses a JSON-path expression in the message payload of each input to specify the attribute-value
        pair that is used to identify the device associated with the input.
aws-java-sdk-iotevents/src/main/java/com/amazonaws/services/iotevents/model/CreateDetectorModelRequest.java