public Sensor withDeprecationMessage(String deprecationMessage) {
        setDeprecationMessage(deprecationMessage);
        return this;
    }
<p>
The deprecation message for the node or the branch that was moved or deleted.
</p>

@param deprecationMessage
       The deprecation message for the node or the branch that was moved or deleted.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iotfleetwise/src/main/java/com/amazonaws/services/iotfleetwise/model/Sensor.java