Partager via


TagValueInner Class

  • java.lang.Object
    • com.azure.resourcemanager.resources.fluent.models.TagValueInner

Implements

public final class TagValueInner
implements JsonSerializable<TagValueInner>

Tag information.

Constructor Summary

Constructor Description
TagValueInner()

Creates an instance of TagValueInner class.

Method Summary

Modifier and Type Method and Description
TagCount count()

Get the count property: The tag value count.

static TagValueInner fromJson(JsonReader jsonReader)

Reads an instance of TagValueInner from the JsonReader.

String id()

Get the id property: The tag value ID.

String tagValue()

Get the tagValue property: The tag value.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

TagValueInner withCount(TagCount count)

Set the count property: The tag value count.

TagValueInner withTagValue(String tagValue)

Set the tagValue property: The tag value.

Methods inherited from java.lang.Object

Constructor Details

TagValueInner

public TagValueInner()

Creates an instance of TagValueInner class.

Method Details

count

public TagCount count()

Get the count property: The tag value count.

Returns:

the count value.

fromJson

public static TagValueInner fromJson(JsonReader jsonReader)

Reads an instance of TagValueInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

id

public String id()

Get the id property: The tag value ID.

Returns:

the id value.

tagValue

public String tagValue()

Get the tagValue property: The tag value.

Returns:

the tagValue value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withCount

public TagValueInner withCount(TagCount count)

Set the count property: The tag value count.

Parameters:

count - the count value to set.

Returns:

the TagValueInner object itself.

withTagValue

public TagValueInner withTagValue(String tagValue)

Set the tagValue property: The tag value.

Parameters:

tagValue - the tagValue value to set.

Returns:

the TagValueInner object itself.

Applies to