ClusterUpgradeSettings Class

  • java.lang.Object
    • com.azure.resourcemanager.containerservice.models.ClusterUpgradeSettings

Implements

public final class ClusterUpgradeSettings
implements JsonSerializable<ClusterUpgradeSettings>

Settings for upgrading a cluster.

Constructor Summary

Constructor Description
ClusterUpgradeSettings()

Creates an instance of ClusterUpgradeSettings class.

Method Summary

Modifier and Type Method and Description
static ClusterUpgradeSettings fromJson(JsonReader jsonReader)

Reads an instance of ClusterUpgradeSettings from the JsonReader.

UpgradeOverrideSettings overrideSettings()

Get the overrideSettings property: Settings for overrides.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ClusterUpgradeSettings withOverrideSettings(UpgradeOverrideSettings overrideSettings)

Set the overrideSettings property: Settings for overrides.

Methods inherited from java.lang.Object

Constructor Details

ClusterUpgradeSettings

public ClusterUpgradeSettings()

Creates an instance of ClusterUpgradeSettings class.

Method Details

fromJson

public static ClusterUpgradeSettings fromJson(JsonReader jsonReader)

Reads an instance of ClusterUpgradeSettings from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ClusterUpgradeSettings 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 ClusterUpgradeSettings.

overrideSettings

public UpgradeOverrideSettings overrideSettings()

Get the overrideSettings property: Settings for overrides.

Returns:

the overrideSettings value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withOverrideSettings

public ClusterUpgradeSettings withOverrideSettings(UpgradeOverrideSettings overrideSettings)

Set the overrideSettings property: Settings for overrides.

Parameters:

overrideSettings - the overrideSettings value to set.

Returns:

the ClusterUpgradeSettings object itself.

Applies to