public UpdateDetectorRequest withEnable(Boolean enable) {
        setEnable(enable);
        return this;
    }
<p>
Specifies whether the detector is enabled or not enabled.
</p>

@param enable
       Specifies whether the detector is enabled or not enabled.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-guardduty/src/main/java/com/amazonaws/services/guardduty/model/UpdateDetectorRequest.java