Class MonitorResourceUpdate

java.lang.Object
com.azure.resourcemanager.dynatrace.models.MonitorResourceUpdate

public final class MonitorResourceUpdate extends Object
The updatable properties of the MonitorResource.
  • Constructor Details

    • MonitorResourceUpdate

      public MonitorResourceUpdate()
  • Method Details

    • tags

      public Map<String,String> tags()
      Get the tags property: Resource tags.
      Returns:
      the tags value.
    • withTags

      public MonitorResourceUpdate withTags(Map<String,String> tags)
      Set the tags property: Resource tags.
      Parameters:
      tags - the tags value to set.
      Returns:
      the MonitorResourceUpdate object itself.
    • monitoringStatus

      public MonitoringStatus monitoringStatus()
      Get the monitoringStatus property: Status of the monitor.
      Returns:
      the monitoringStatus value.
    • withMonitoringStatus

      public MonitorResourceUpdate withMonitoringStatus(MonitoringStatus monitoringStatus)
      Set the monitoringStatus property: Status of the monitor.
      Parameters:
      monitoringStatus - the monitoringStatus value to set.
      Returns:
      the MonitorResourceUpdate object itself.
    • marketplaceSubscriptionStatus

      public MarketplaceSubscriptionStatus marketplaceSubscriptionStatus()
      Get the marketplaceSubscriptionStatus property: Marketplace subscription status.
      Returns:
      the marketplaceSubscriptionStatus value.
    • withMarketplaceSubscriptionStatus

      public MonitorResourceUpdate withMarketplaceSubscriptionStatus(MarketplaceSubscriptionStatus marketplaceSubscriptionStatus)
      Set the marketplaceSubscriptionStatus property: Marketplace subscription status.
      Parameters:
      marketplaceSubscriptionStatus - the marketplaceSubscriptionStatus value to set.
      Returns:
      the MonitorResourceUpdate object itself.
    • dynatraceEnvironmentProperties

      public DynatraceEnvironmentProperties dynatraceEnvironmentProperties()
      Get the dynatraceEnvironmentProperties property: Properties of the Dynatrace environment.
      Returns:
      the dynatraceEnvironmentProperties value.
    • withDynatraceEnvironmentProperties

      public MonitorResourceUpdate withDynatraceEnvironmentProperties(DynatraceEnvironmentProperties dynatraceEnvironmentProperties)
      Set the dynatraceEnvironmentProperties property: Properties of the Dynatrace environment.
      Parameters:
      dynatraceEnvironmentProperties - the dynatraceEnvironmentProperties value to set.
      Returns:
      the MonitorResourceUpdate object itself.
    • userInfo

      public UserInfo userInfo()
      Get the userInfo property: User info.
      Returns:
      the userInfo value.
    • withUserInfo

      public MonitorResourceUpdate withUserInfo(UserInfo userInfo)
      Set the userInfo property: User info.
      Parameters:
      userInfo - the userInfo value to set.
      Returns:
      the MonitorResourceUpdate object itself.
    • planData

      public PlanData planData()
      Get the planData property: Billing plan information.
      Returns:
      the planData value.
    • withPlanData

      public MonitorResourceUpdate withPlanData(PlanData planData)
      Set the planData property: Billing plan information.
      Parameters:
      planData - the planData value to set.
      Returns:
      the MonitorResourceUpdate object itself.
    • validate

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