Class EventGridAndResourceGraph

java.lang.Object
com.azure.resourcemanager.compute.models.EventGridAndResourceGraph

public final class EventGridAndResourceGraph extends Object
Specifies eventGridAndResourceGraph related Scheduled Event related configurations.
  • Constructor Details

    • EventGridAndResourceGraph

      public EventGridAndResourceGraph()
      Creates an instance of EventGridAndResourceGraph class.
  • Method Details

    • enable

      public Boolean enable()
      Get the enable property: Specifies if event grid and resource graph is enabled for Scheduled event related configurations.
      Returns:
      the enable value.
    • withEnable

      public EventGridAndResourceGraph withEnable(Boolean enable)
      Set the enable property: Specifies if event grid and resource graph is enabled for Scheduled event related configurations.
      Parameters:
      enable - the enable value to set.
      Returns:
      the EventGridAndResourceGraph object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.