Package com.vmware.nsx_policy.model
Class Event.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.Event.Builder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Event
build()
Event.Builder
setCriteria(java.util.List<Criterion> criteria)
Criteria applied to the source and, if satisfied, would trigger the action.Event.Builder
setSource(com.vmware.vapi.bindings.Structure source)
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofEvent
.
-
-
Method Detail
-
setCriteria
public Event.Builder setCriteria(java.util.List<Criterion> criteria)
Criteria applied to the source and, if satisfied, would trigger the action. Criteria is composed of criterions. In order for the Criteria to be met, only one of the criterion must be fulfilled (implicit OR).- Parameters:
criteria
- New value for the property.
-
setSource
public Event.Builder setSource(com.vmware.vapi.bindings.Structure source)
-
build
public Event build()
-
-