Class MonitorServiceDetails

java.lang.Object
com.azure.resourcemanager.alertsmanagement.models.MonitorServiceDetails

public final class MonitorServiceDetails extends Object
Details of a monitor service.
  • Constructor Details

    • MonitorServiceDetails

      public MonitorServiceDetails()
  • Method Details

    • name

      public String name()
      Get the name property: Monitor service name.
      Returns:
      the name value.
    • withName

      public MonitorServiceDetails withName(String name)
      Set the name property: Monitor service name.
      Parameters:
      name - the name value to set.
      Returns:
      the MonitorServiceDetails object itself.
    • displayName

      public String displayName()
      Get the displayName property: Monitor service display name.
      Returns:
      the displayName value.
    • withDisplayName

      public MonitorServiceDetails withDisplayName(String displayName)
      Set the displayName property: Monitor service display name.
      Parameters:
      displayName - the displayName value to set.
      Returns:
      the MonitorServiceDetails object itself.
    • validate

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