TagDetailsInner Class
- java.
lang. Object - com.
azure. resourcemanager. resources. fluent. models. TagDetailsInner
- com.
Implements
public final class TagDetailsInner
implements JsonSerializable<TagDetailsInner>
Tag details.
Constructor Summary
Constructor | Description |
---|---|
TagDetailsInner() |
Creates an instance of Tag |
Method Summary
Modifier and Type | Method and Description |
---|---|
Tag |
count()
Get the count property: The total number of resources that use the resource tag. |
static
Tag |
fromJson(JsonReader jsonReader)
Reads an instance of Tag |
String |
id()
Get the id property: The tag name ID. |
String |
tagName()
Get the tag |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
List<Tag |
values()
Get the values property: The list of tag values. |
Tag |
withCount(TagCount count)
Set the count property: The total number of resources that use the resource tag. |
Tag |
withTagName(String tagName)
Set the tag |
Tag |
withValues(List<TagValueInner> values)
Set the values property: The list of tag values. |
Methods inherited from java.lang.Object
Constructor Details
TagDetailsInner
public TagDetailsInner()
Creates an instance of TagDetailsInner class.
Method Details
count
public TagCount count()
Get the count property: The total number of resources that use the resource tag. When a tag is initially created and has no associated resources, the value is 0.
Returns:
fromJson
public static TagDetailsInner fromJson(JsonReader jsonReader)
Reads an instance of TagDetailsInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: The tag name ID.
Returns:
tagName
public String tagName()
Get the tagName property: The tag name.
Returns:
toJson
validate
public void validate()
Validates the instance.
values
public List
Get the values property: The list of tag values.
Returns:
withCount
public TagDetailsInner withCount(TagCount count)
Set the count property: The total number of resources that use the resource tag. When a tag is initially created and has no associated resources, the value is 0.
Parameters:
Returns:
withTagName
public TagDetailsInner withTagName(String tagName)
Set the tagName property: The tag name.
Parameters:
Returns:
withValues
public TagDetailsInner withValues(List
Set the values property: The list of tag values.
Parameters:
Returns:
Applies to
Azure SDK for Java