Class ElasticMonitorUpgrade

java.lang.Object
com.azure.resourcemanager.elastic.models.ElasticMonitorUpgrade

public final class ElasticMonitorUpgrade extends Object
Upgrade elastic monitor version.
  • Constructor Details

    • ElasticMonitorUpgrade

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

    • version

      public String version()
      Get the version property: Version to which the elastic monitor should be upgraded to.
      Returns:
      the version value.
    • withVersion

      public ElasticMonitorUpgrade withVersion(String version)
      Set the version property: Version to which the elastic monitor should be upgraded to.
      Parameters:
      version - the version value to set.
      Returns:
      the ElasticMonitorUpgrade object itself.
    • validate

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