Class UpgradableVersionsListInner
java.lang.Object
com.azure.resourcemanager.elastic.fluent.models.UpgradableVersionsListInner
Stack Versions that this version can upgrade to.
-
Constructor Summary
ConstructorDescriptionCreates an instance of UpgradableVersionsListInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the currentVersion property: Current version of the elastic monitor.Get the upgradableVersions property: Stack Versions that this version can upgrade to.void
validate()
Validates the instance.withCurrentVersion
(String currentVersion) Set the currentVersion property: Current version of the elastic monitor.withUpgradableVersions
(List<String> upgradableVersions) Set the upgradableVersions property: Stack Versions that this version can upgrade to.
-
Constructor Details
-
UpgradableVersionsListInner
public UpgradableVersionsListInner()Creates an instance of UpgradableVersionsListInner class.
-
-
Method Details
-
currentVersion
Get the currentVersion property: Current version of the elastic monitor.- Returns:
- the currentVersion value.
-
withCurrentVersion
Set the currentVersion property: Current version of the elastic monitor.- Parameters:
currentVersion
- the currentVersion value to set.- Returns:
- the UpgradableVersionsListInner object itself.
-
upgradableVersions
Get the upgradableVersions property: Stack Versions that this version can upgrade to.- Returns:
- the upgradableVersions value.
-
withUpgradableVersions
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.
-