Class MeshRevision
java.lang.Object
com.azure.resourcemanager.containerservice.models.MeshRevision
- Direct Known Subclasses:
MeshUpgradeProfileProperties
Holds information on upgrades and compatibility for given major.minor mesh release.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the compatibleWith property: List of items this revision of service mesh is compatible with, and their associated versions.revision()Get the revision property: The revision of the mesh release.upgrades()Get the upgrades property: List of revisions available for upgrade of a specific mesh revision.voidvalidate()Validates the instance.withCompatibleWith(List<CompatibleVersions> compatibleWith) Set the compatibleWith property: List of items this revision of service mesh is compatible with, and their associated versions.withRevision(String revision) Set the revision property: The revision of the mesh release.withUpgrades(List<String> upgrades) Set the upgrades property: List of revisions available for upgrade of a specific mesh revision.
-
Constructor Details
-
MeshRevision
public MeshRevision()Creates an instance of MeshRevision class.
-
-
Method Details
-
revision
Get the revision property: The revision of the mesh release.- Returns:
- the revision value.
-
withRevision
Set the revision property: The revision of the mesh release.- Parameters:
revision- the revision value to set.- Returns:
- the MeshRevision object itself.
-
upgrades
Get the upgrades property: List of revisions available for upgrade of a specific mesh revision.- Returns:
- the upgrades value.
-
withUpgrades
Set the upgrades property: List of revisions available for upgrade of a specific mesh revision.- Parameters:
upgrades- the upgrades value to set.- Returns:
- the MeshRevision object itself.
-
compatibleWith
Get the compatibleWith property: List of items this revision of service mesh is compatible with, and their associated versions.- Returns:
- the compatibleWith value.
-
withCompatibleWith
Set the compatibleWith property: List of items this revision of service mesh is compatible with, and their associated versions.- Parameters:
compatibleWith- the compatibleWith value to set.- Returns:
- the MeshRevision object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-