KubernetesPatchVersion Class
- java.
lang. Object - com.
azure. resourcemanager. containerservice. models. KubernetesPatchVersion
- com.
Implements
public final class KubernetesPatchVersion
implements JsonSerializable<KubernetesPatchVersion>
Kubernetes patch version profile.
Constructor Summary
Constructor | Description |
---|---|
KubernetesPatchVersion() |
Creates an instance of Kubernetes |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Kubernetes |
fromJson(JsonReader jsonReader)
Reads an instance of Kubernetes |
Json |
toJson(JsonWriter jsonWriter) |
List<String> |
upgrades()
Get the upgrades property: Possible upgrade path for given patch version. |
void |
validate()
Validates the instance. |
Kubernetes |
withUpgrades(List<String> upgrades)
Set the upgrades property: Possible upgrade path for given patch version. |
Methods inherited from java.lang.Object
Constructor Details
KubernetesPatchVersion
public KubernetesPatchVersion()
Creates an instance of KubernetesPatchVersion class.
Method Details
fromJson
public static KubernetesPatchVersion fromJson(JsonReader jsonReader)
Reads an instance of KubernetesPatchVersion from the JsonReader.
Parameters:
Returns:
Throws:
toJson
upgrades
public List
Get the upgrades property: Possible upgrade path for given patch version.
Returns:
validate
public void validate()
Validates the instance.
withUpgrades
public KubernetesPatchVersion withUpgrades(List
Set the upgrades property: Possible upgrade path for given patch version.
Parameters:
Returns:
Applies to
Azure SDK for Java