مشاركة عبر


InstancePoolUpdate Class

  • java.lang.Object
    • com.azure.resourcemanager.sql.models.InstancePoolUpdate

Implements

public final class InstancePoolUpdate
implements JsonSerializable<InstancePoolUpdate>

An update to an Instance pool.

Constructor Summary

Constructor Description
InstancePoolUpdate()

Creates an instance of InstancePoolUpdate class.

Method Summary

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

Reads an instance of InstancePoolUpdate from the JsonReader.

Map<String,String> tags()

Get the tags property: Resource tags.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

InstancePoolUpdate withTags(Map<String,String> tags)

Set the tags property: Resource tags.

Methods inherited from java.lang.Object

Constructor Details

InstancePoolUpdate

public InstancePoolUpdate()

Creates an instance of InstancePoolUpdate class.

Method Details

fromJson

public static InstancePoolUpdate fromJson(JsonReader jsonReader)

Reads an instance of InstancePoolUpdate from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

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

Set the tags property: Resource tags.

Parameters:

tags - the tags value to set.

Returns:

the InstancePoolUpdate object itself.

Applies to