Class MeshUpgradeProfileProperties
java.lang.Object
com.azure.resourcemanager.containerservice.models.MeshRevision
com.azure.resourcemanager.containerservice.models.MeshUpgradeProfileProperties
Mesh upgrade profile properties for a major.minor release.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MeshUpgradeProfileProperties class. -
Method Summary
Modifier and TypeMethodDescriptionvoidvalidate()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.Methods inherited from class com.azure.resourcemanager.containerservice.models.MeshRevision
compatibleWith, revision, upgrades
-
Constructor Details
-
MeshUpgradeProfileProperties
public MeshUpgradeProfileProperties()Creates an instance of MeshUpgradeProfileProperties class.
-
-
Method Details
-
withRevision
Set the revision property: The revision of the mesh release.- Overrides:
withRevisionin classMeshRevision- Parameters:
revision- the revision value to set.- Returns:
- the MeshRevision object itself.
-
withUpgrades
Set the upgrades property: List of revisions available for upgrade of a specific mesh revision.- Overrides:
withUpgradesin classMeshRevision- Parameters:
upgrades- the upgrades value to set.- Returns:
- the MeshRevision object itself.
-
withCompatibleWith
Set the compatibleWith property: List of items this revision of service mesh is compatible with, and their associated versions.- Overrides:
withCompatibleWithin classMeshRevision- Parameters:
compatibleWith- the compatibleWith value to set.- Returns:
- the MeshRevision object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classMeshRevision- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-