ZoneUpdate Class

  • java.lang.Object
    • com.azure.resourcemanager.dns.models.ZoneUpdate

Implements

public final class ZoneUpdate
implements JsonSerializable<ZoneUpdate>

Describes a request to update a DNS zone.

Constructor Summary

Constructor Description
ZoneUpdate()

Creates an instance of ZoneUpdate class.

Method Summary

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

Reads an instance of ZoneUpdate from the JsonReader.

Map<String,String> tags()

Get the tags property: Resource tags.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ZoneUpdate withTags(Map<String,String> tags)

Set the tags property: Resource tags.

Methods inherited from java.lang.Object

Constructor Details

ZoneUpdate

public ZoneUpdate()

Creates an instance of ZoneUpdate class.

Method Details

fromJson

public static ZoneUpdate fromJson(JsonReader jsonReader)

Reads an instance of ZoneUpdate from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

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 ZoneUpdate withTags(Map<String,String> tags)

Set the tags property: Resource tags.

Parameters:

tags - the tags value to set.

Returns:

the ZoneUpdate object itself.

Applies to