ClusterManagerPatchParameters Class

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

Implements

public final class ClusterManagerPatchParameters
implements JsonSerializable<ClusterManagerPatchParameters>

ClusterManagerPatchParameters represents the body of the request to patch the cluster properties.

Constructor Summary

Constructor Description
ClusterManagerPatchParameters()

Creates an instance of ClusterManagerPatchParameters class.

Method Summary

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

Reads an instance of ClusterManagerPatchParameters from the JsonReader.

ManagedServiceIdentity identity()

Get the identity property: The identity for the resource.

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.

ClusterManagerPatchParameters withIdentity(ManagedServiceIdentity identity)

Set the identity property: The identity for the resource.

ClusterManagerPatchParameters 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

ClusterManagerPatchParameters

public ClusterManagerPatchParameters()

Creates an instance of ClusterManagerPatchParameters class.

Method Details

fromJson

public static ClusterManagerPatchParameters fromJson(JsonReader jsonReader)

Reads an instance of ClusterManagerPatchParameters from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

identity

public ManagedServiceIdentity identity()

Get the identity property: The identity for the resource.

Returns:

the identity 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.

withIdentity

public ClusterManagerPatchParameters withIdentity(ManagedServiceIdentity identity)

Set the identity property: The identity for the resource.

Parameters:

identity - the identity value to set.

Returns:

the ClusterManagerPatchParameters object itself.

withTags

public ClusterManagerPatchParameters 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 ClusterManagerPatchParameters object itself.

Applies to