Class UpgradableVersionsListInner

java.lang.Object
com.azure.resourcemanager.elastic.fluent.models.UpgradableVersionsListInner

public final class UpgradableVersionsListInner extends Object
Stack Versions that this version can upgrade to.
  • Constructor Details

    • UpgradableVersionsListInner

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

    • currentVersion

      public String currentVersion()
      Get the currentVersion property: Current version of the elastic monitor.
      Returns:
      the currentVersion value.
    • withCurrentVersion

      public UpgradableVersionsListInner withCurrentVersion(String currentVersion)
      Set the currentVersion property: Current version of the elastic monitor.
      Parameters:
      currentVersion - the currentVersion value to set.
      Returns:
      the UpgradableVersionsListInner object itself.
    • upgradableVersions

      public List<String> upgradableVersions()
      Get the upgradableVersions property: Stack Versions that this version can upgrade to.
      Returns:
      the upgradableVersions value.
    • withUpgradableVersions

      public UpgradableVersionsListInner withUpgradableVersions(List<String> upgradableVersions)
      Set the upgradableVersions property: Stack Versions that this version can upgrade to.
      Parameters:
      upgradableVersions - the upgradableVersions value to set.
      Returns:
      the UpgradableVersionsListInner object itself.
    • validate

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