PrivateLinkUpdate Class

  • java.lang.Object
    • com.azure.resourcemanager.security.models.PrivateLinkUpdate

Implements

public final class PrivateLinkUpdate
implements JsonSerializable<PrivateLinkUpdate>

Request payload for updating a private link resource. Used in PATCH operations to update specific mutable properties without affecting the entire resource configuration.

Constructor Summary

Constructor Description
PrivateLinkUpdate()

Creates an instance of PrivateLinkUpdate class.

Method Summary

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

Reads an instance of PrivateLinkUpdate from the JsonReader.

Map<String,String> tags()

Get the tags property: Resource tags.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

PrivateLinkUpdate withTags(Map<String,String> tags)

Set the tags property: Resource tags.

Methods inherited from java.lang.Object

Constructor Details

PrivateLinkUpdate

public PrivateLinkUpdate()

Creates an instance of PrivateLinkUpdate class.

Method Details

fromJson

public static PrivateLinkUpdate fromJson(JsonReader jsonReader)

Reads an instance of PrivateLinkUpdate from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

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:

validate

public void validate()

Validates the instance.

withTags

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

Set the tags property: Resource tags.

Parameters:

tags - the tags value to set.

Returns:

the PrivateLinkUpdate object itself.

Applies to