Class EnableRequest

java.lang.Object
com.azure.resourcemanager.monitor.models.EnableRequest

public final class EnableRequest extends Object
Describes a receiver that should be resubscribed.
  • Constructor Details

    • EnableRequest

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

    • receiverName

      public String receiverName()
      Get the receiverName property: The name of the receiver to resubscribe.
      Returns:
      the receiverName value.
    • withReceiverName

      public EnableRequest withReceiverName(String receiverName)
      Set the receiverName property: The name of the receiver to resubscribe.
      Parameters:
      receiverName - the receiverName value to set.
      Returns:
      the EnableRequest object itself.
    • validate

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