Class TagCount
- java.lang.Object
-
- com.azure.resourcemanager.resources.models.TagCount
-
public final class TagCount extends Object
Tag count.
-
-
Constructor Summary
Constructors Constructor Description TagCount()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringtype()Get the type property: Type of count.voidvalidate()Validates the instance.Integervalue()Get the value property: Value of count.TagCountwithType(String type)Set the type property: Type of count.TagCountwithValue(Integer value)Set the value property: Value of count.
-
-
-
Method Detail
-
type
public String type()
Get the type property: Type of count.- Returns:
- the type value.
-
withType
public TagCount withType(String type)
Set the type property: Type of count.- Parameters:
type- the type value to set.- Returns:
- the TagCount object itself.
-
value
public Integer value()
Get the value property: Value of count.- Returns:
- the value value.
-
withValue
public TagCount withValue(Integer value)
Set the value property: Value of count.- Parameters:
value- the value value to set.- Returns:
- the TagCount object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-