MeshRevision Class
- java.
lang. Object - com.
azure. resourcemanager. containerservice. models. MeshRevision
- com.
Implements
public class MeshRevision
implements JsonSerializable<MeshRevision>
Holds information on upgrades and compatibility for given major.minor mesh release.
Constructor Summary
Constructor | Description |
---|---|
MeshRevision() |
Creates an instance of Mesh |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Compatible |
compatibleWith()
Get the compatible |
static
Mesh |
fromJson(JsonReader jsonReader)
Reads an instance of Mesh |
String |
revision()
Get the revision property: The revision of the mesh release. |
Json |
toJson(JsonWriter jsonWriter) |
List<String> |
upgrades()
Get the upgrades property: List of revisions available for upgrade of a specific mesh revision. |
void |
validate()
Validates the instance. |
Mesh |
withCompatibleWith(List<CompatibleVersions> compatibleWith)
Set the compatible |
Mesh |
withRevision(String revision)
Set the revision property: The revision of the mesh release. |
Mesh |
withUpgrades(List<String> upgrades)
Set the upgrades property: List of revisions available for upgrade of a specific mesh revision. |
Methods inherited from java.lang.Object
Constructor Details
MeshRevision
public MeshRevision()
Creates an instance of MeshRevision class.
Method Details
compatibleWith
public List
Get the compatibleWith property: List of items this revision of service mesh is compatible with, and their associated versions.
Returns:
fromJson
public static MeshRevision fromJson(JsonReader jsonReader)
Reads an instance of MeshRevision from the JsonReader.
Parameters:
Returns:
Throws:
revision
public String revision()
Get the revision property: The revision of the mesh release.
Returns:
toJson
upgrades
public List
Get the upgrades property: List of revisions available for upgrade of a specific mesh revision.
Returns:
validate
public void validate()
Validates the instance.
withCompatibleWith
public MeshRevision withCompatibleWith(List
Set the compatibleWith property: List of items this revision of service mesh is compatible with, and their associated versions.
Parameters:
Returns:
withRevision
public MeshRevision withRevision(String revision)
Set the revision property: The revision of the mesh release.
Parameters:
Returns:
withUpgrades
public MeshRevision withUpgrades(List
Set the upgrades property: List of revisions available for upgrade of a specific mesh revision.
Parameters:
Returns:
Applies to
Azure SDK for Java