public DetectorState withTimers(Timer... timers) {
        if (this.timers == null) {
            setTimers(new java.util.ArrayList<Timer>(timers.length));
        }
        for (Timer ele : timers) {
            this.timers.add(ele);
        }
        return this;
    }
<p>
The current state of the detector's timers.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setTimers(java.util.Collection)} or {@link #withTimers(java.util.Collection)} if you want to override the
existing values.
</p>

@param timers
       The current state of the detector's timers.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ioteventsdata/src/main/java/com/amazonaws/services/ioteventsdata/model/DetectorState.java