Tag Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. vision. customvision. training. models. Tag
- com.
public class Tag
Represents a Tag.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
description()
Get the description value. |
UUID |
id()
Get the id value. |
int |
imageCount()
Get the imageCount value. |
String |
name()
Get the name value. |
Tag |
type()
Get the type value. |
Tag |
withDescription(String description)
Set the description value. |
Tag |
withName(String name)
Set the name value. |
Tag |
withType(TagType type)
Set the type value. |
Method Details
description
public String description()
Get the description value.
Returns:
id
public UUID id()
Get the id value.
Returns:
imageCount
public int imageCount()
Get the imageCount value.
Returns:
name
public String name()
Get the name value.
Returns:
type
public TagType type()
Get the type value.
Returns:
withDescription
public Tag withDescription(String description)
Set the description value.
Parameters:
Returns:
withName
public Tag withName(String name)
Set the name value.
Parameters:
Returns:
withType
public Tag withType(TagType type)
Set the type value.
Parameters:
Returns:
Applies to
Azure SDK for Java