ConnectedCachePatchResource Class

  • java.lang.Object
    • com.azure.resourcemanager.connectedcache.models.ConnectedCachePatchResource

Implements

public final class ConnectedCachePatchResource
implements JsonSerializable<ConnectedCachePatchResource>

Mcc PATCH operation properties.

Constructor Summary

Constructor Description
ConnectedCachePatchResource()

Creates an instance of ConnectedCachePatchResource class.

Method Summary

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

Reads an instance of ConnectedCachePatchResource from the JsonReader.

Map<String,String> tags()

Get the tags property: Resource tags.

JsonWriter toJson(JsonWriter jsonWriter)
ConnectedCachePatchResource withTags(Map<String,String> tags)

Set the tags property: Resource tags.

Methods inherited from java.lang.Object

Constructor Details

ConnectedCachePatchResource

public ConnectedCachePatchResource()

Creates an instance of ConnectedCachePatchResource class.

Method Details

fromJson

public static ConnectedCachePatchResource fromJson(JsonReader jsonReader)

Reads an instance of ConnectedCachePatchResource from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

tags

public Map<String,String> tags()

Get the tags property: Resource tags.

Returns:

the tags value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

withTags

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

Set the tags property: Resource tags.

Parameters:

tags - the tags value to set.

Returns:

the ConnectedCachePatchResource object itself.

Applies to