Class StreamAlertRuleWrapper
java.lang.Object
com.eqixiac.equinix.core.model.ResourceImpl<StreamAlertRule>
com.eqixiac.equinix.fabric.model.wrappers.StreamAlertRuleWrapper
- All Implemented Interfaces:
Resource<StreamAlertRule>, DeletableResource, StreamAlertRule
public class StreamAlertRuleWrapper
extends ResourceImpl<StreamAlertRule>
implements StreamAlertRule
-
Constructor Summary
ConstructorsConstructorDescriptionStreamAlertRuleWrapper(StreamAlertRuleJson jsonObject, Pageable<StreamAlertRule> serviceClient) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns whetherdelete(...)was called successfully on this model instance.voidBegins a fluent update of this alert rule on its parent stream.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Resource
getServiceClientMethods inherited from interface StreamAlertRule
getChangeLog, getDescription, getDetectionMethod, getEnabled, getHref, getMetricSelector, getName, getResourceSelector, getState, getType, getUuid
-
Constructor Details
-
StreamAlertRuleWrapper
public StreamAlertRuleWrapper(StreamAlertRuleJson jsonObject, Pageable<StreamAlertRule> serviceClient)
-
-
Method Details
-
update
Description copied from interface:StreamAlertRuleBegins a fluent update of this alert rule on its parent stream.- Specified by:
updatein interfaceStreamAlertRule- Parameters:
streamId- the uuid of the parent stream- Returns:
- a
StreamAlertRuleOperator.StreamAlertRuleUpdater
-
delete
- Specified by:
deletein interfaceStreamAlertRule
-
isDeleted
public boolean isDeleted()Description copied from interface:DeletableResourceReturns whetherdelete(...)was called successfully on this model instance.- Specified by:
isDeletedin interfaceDeletableResource- Returns:
trueonce this instance has been deleted
-
refresh
- Specified by:
refreshin interfaceStreamAlertRule
-