Partager via


Tag Class

  • java.lang.Object
    • com.microsoft.azure.cognitiveservices.vision.customvision.training.models.Tag

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.

TagType 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:

the description value

id

public UUID id()

Get the id value.

Returns:

the id value

imageCount

public int imageCount()

Get the imageCount value.

Returns:

the imageCount value

name

public String name()

Get the name value.

Returns:

the name value

type

public TagType type()

Get the type value.

Returns:

the type value

withDescription

public Tag withDescription(String description)

Set the description value.

Parameters:

description - the description value to set

Returns:

the Tag object itself.

withName

public Tag withName(String name)

Set the name value.

Parameters:

name - the name value to set

Returns:

the Tag object itself.

withType

public Tag withType(TagType type)

Set the type value.

Parameters:

type - the type value to set

Returns:

the Tag object itself.

Applies to