TagCount Class
- java.
lang. Object - com.
azure. resourcemanager. resources. models. TagCount
- com.
Implements
public final class TagCount
implements JsonSerializable<TagCount>
Tag count.
Constructor Summary
Constructor | Description |
---|---|
TagCount() |
Creates an instance of Tag |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Tag |
fromJson(JsonReader jsonReader)
Reads an instance of Tag |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: Type of count. |
void |
validate()
Validates the instance. |
Integer |
value()
Get the value property: Value of count. |
Tag |
withType(String type)
Set the type property: Type of count. |
Tag |
withValue(Integer value)
Set the value property: Value of count. |
Methods inherited from java.lang.Object
Constructor Details
TagCount
public TagCount()
Creates an instance of TagCount class.
Method Details
fromJson
public static TagCount fromJson(JsonReader jsonReader)
Reads an instance of TagCount from the JsonReader.
Parameters:
Returns:
Throws:
toJson
type
public String type()
Get the type property: Type of count.
Returns:
validate
public void validate()
Validates the instance.
value
public Integer value()
Get the value property: Value of count.
Returns:
withType
public TagCount withType(String type)
Set the type property: Type of count.
Parameters:
Returns:
withValue
public TagCount withValue(Integer value)
Set the value property: Value of count.
Parameters:
Returns:
Applies to
Azure SDK for Java