Class Event.Builder

  • Enclosing class:
    Event

    public static final class Event.Builder
    extends java.lang.Object
    Builder class for Event.
    • Constructor Summary

      Constructors 
      Constructor Description
      Builder()
      Constructor with parameters for the required properties of Event.
    • Constructor Detail

      • Builder

        public Builder()
        Constructor with parameters for the required properties of Event.
    • 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)
        Parameters:
        source - New value for the property. When clients pass a value of this class as a parameter, the property must contain all the properties defined in Source. When methods return a value of this class as a return value, the property will contain all the properties defined in Source.
      • build

        public Event build()