PatchResourceGuardInput Class

  • java.lang.Object
    • com.azure.resourcemanager.dataprotection.models.PatchResourceGuardInput

Implements

public final class PatchResourceGuardInput
implements JsonSerializable<PatchResourceGuardInput>

Patch Request content for Microsoft.DataProtection Resource Guard resources.

Constructor Summary

Constructor Description
PatchResourceGuardInput()

Creates an instance of PatchResourceGuardInput class.

Method Summary

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

Reads an instance of PatchResourceGuardInput from the JsonReader.

Map<String,String> tags()

Get the tags property: Resource Guard tags.

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

Set the tags property: Resource Guard tags.

Methods inherited from java.lang.Object

Constructor Details

PatchResourceGuardInput

public PatchResourceGuardInput()

Creates an instance of PatchResourceGuardInput class.

Method Details

fromJson

public static PatchResourceGuardInput fromJson(JsonReader jsonReader)

Reads an instance of PatchResourceGuardInput from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

tags

public Map<String,String> tags()

Get the tags property: Resource Guard tags.

Returns:

the tags value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

withTags

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

Set the tags property: Resource Guard tags.

Parameters:

tags - the tags value to set.

Returns:

the PatchResourceGuardInput object itself.

Applies to