KubernetesClusterFeaturePatchParameters Class

  • java.lang.Object
    • com.azure.resourcemanager.networkcloud.models.KubernetesClusterFeaturePatchParameters

Implements

public final class KubernetesClusterFeaturePatchParameters
implements JsonSerializable<KubernetesClusterFeaturePatchParameters>

KubernetesClusterFeaturePatchParameters represents the body of the request to patch the Kubernetes cluster feature.

Constructor Summary

Constructor Description
KubernetesClusterFeaturePatchParameters()

Creates an instance of KubernetesClusterFeaturePatchParameters class.

Method Summary

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

Reads an instance of KubernetesClusterFeaturePatchParameters from the JsonReader.

List<StringKeyValuePair> options()

Get the options property: The configured options for the feature.

Map<String,String> tags()

Get the tags property: The Azure resource tags that will replace the existing ones.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

KubernetesClusterFeaturePatchParameters withOptions(List<StringKeyValuePair> options)

Set the options property: The configured options for the feature.

KubernetesClusterFeaturePatchParameters withTags(Map<String,String> tags)

Set the tags property: The Azure resource tags that will replace the existing ones.

Methods inherited from java.lang.Object

Constructor Details

KubernetesClusterFeaturePatchParameters

public KubernetesClusterFeaturePatchParameters()

Creates an instance of KubernetesClusterFeaturePatchParameters class.

Method Details

fromJson

public static KubernetesClusterFeaturePatchParameters fromJson(JsonReader jsonReader)

Reads an instance of KubernetesClusterFeaturePatchParameters from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

options

public List<StringKeyValuePair> options()

Get the options property: The configured options for the feature.

Returns:

the options value.

tags

public Map<String,String> tags()

Get the tags property: The Azure resource tags that will replace the existing ones.

Returns:

the tags value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withOptions

public KubernetesClusterFeaturePatchParameters withOptions(List<StringKeyValuePair> options)

Set the options property: The configured options for the feature.

Parameters:

options - the options value to set.

Returns:

the KubernetesClusterFeaturePatchParameters object itself.

withTags

public KubernetesClusterFeaturePatchParameters withTags(Map<String,String> tags)

Set the tags property: The Azure resource tags that will replace the existing ones.

Parameters:

tags - the tags value to set.

Returns:

the KubernetesClusterFeaturePatchParameters object itself.

Applies to