Share via


MeshUpgradeProfileProperties Class

public final class MeshUpgradeProfileProperties
extends MeshRevision

Mesh upgrade profile properties for a major.minor release.

Method Summary

Modifier and Type Method and Description
List<CompatibleVersions> compatibleWith()

Get the compatibleWith property: List of items this revision of service mesh is compatible with, and their associated versions.

static MeshUpgradeProfileProperties fromJson(JsonReader jsonReader)

Reads an instance of MeshUpgradeProfileProperties from the JsonReader.

String revision()

Get the revision property: The revision of the mesh release.

JsonWriter 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.

Methods inherited from MeshRevision

Methods inherited from java.lang.Object

Method Details

compatibleWith

public List<CompatibleVersions> compatibleWith()

Get the compatibleWith property: List of items this revision of service mesh is compatible with, and their associated versions.

Overrides:

MeshUpgradeProfileProperties.compatibleWith()

Returns:

the compatibleWith value.

fromJson

public static MeshUpgradeProfileProperties fromJson(JsonReader jsonReader)

Reads an instance of MeshUpgradeProfileProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MeshUpgradeProfileProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the MeshUpgradeProfileProperties.

revision

public String revision()

Get the revision property: The revision of the mesh release.

Overrides:

MeshUpgradeProfileProperties.revision()

Returns:

the revision value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MeshUpgradeProfileProperties.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

upgrades

public List<String> upgrades()

Get the upgrades property: List of revisions available for upgrade of a specific mesh revision.

Overrides:

MeshUpgradeProfileProperties.upgrades()

Returns:

the upgrades value.

validate

public void validate()

Validates the instance.

Overrides:

MeshUpgradeProfileProperties.validate()

Applies to