Class TagDetailsInner
- java.lang.Object
-
- com.azure.resourcemanager.resources.fluent.models.TagDetailsInner
-
public final class TagDetailsInner extends Object
Tag details.
-
-
Constructor Summary
Constructors Constructor Description TagDetailsInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TagCountcount()Get the count property: The total number of resources that use the resource tag.Stringid()Get the id property: The tag name ID.StringtagName()Get the tagName property: The tag name.voidvalidate()Validates the instance.List<TagValueInner>values()Get the values property: The list of tag values.TagDetailsInnerwithCount(TagCount count)Set the count property: The total number of resources that use the resource tag.TagDetailsInnerwithTagName(String tagName)Set the tagName property: The tag name.TagDetailsInnerwithValues(List<TagValueInner> values)Set the values property: The list of tag values.
-
-
-
Method Detail
-
id
public String id()
Get the id property: The tag name ID.- Returns:
- the id value.
-
tagName
public String tagName()
Get the tagName property: The tag name.- Returns:
- the tagName value.
-
withTagName
public TagDetailsInner withTagName(String tagName)
Set the tagName property: The tag name.- Parameters:
tagName- the tagName value to set.- Returns:
- the TagDetailsInner object itself.
-
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:
- the count value.
-
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:
count- the count value to set.- Returns:
- the TagDetailsInner object itself.
-
values
public List<TagValueInner> values()
Get the values property: The list of tag values.- Returns:
- the values value.
-
withValues
public TagDetailsInner withValues(List<TagValueInner> values)
Set the values property: The list of tag values.- Parameters:
values- the values value to set.- Returns:
- the TagDetailsInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-