다음을 통해 공유


TagResult Class

  • java.lang.Object
    • com.microsoft.azure.cognitiveservices.vision.computervision.models.TagResult

public class TagResult

The results of a image tag operation, including any tags and image metadata.

Method Summary

Modifier and Type Method and Description
ImageMetadata metadata()

Get the metadata value.

String modelVersion()

Get the modelVersion value.

String requestId()

Get the requestId value.

List<ImageTag> tags()

Get the tags value.

TagResult withMetadata(ImageMetadata metadata)

Set the metadata value.

TagResult withModelVersion(String modelVersion)

Set the modelVersion value.

TagResult withRequestId(String requestId)

Set the requestId value.

TagResult withTags(List<ImageTag> tags)

Set the tags value.

Method Details

metadata

public ImageMetadata metadata()

Get the metadata value.

Returns:

the metadata value

modelVersion

public String modelVersion()

Get the modelVersion value.

Returns:

the modelVersion value

requestId

public String requestId()

Get the requestId value.

Returns:

the requestId value

tags

public List tags()

Get the tags value.

Returns:

the tags value

withMetadata

public TagResult withMetadata(ImageMetadata metadata)

Set the metadata value.

Parameters:

metadata - the metadata value to set

Returns:

the TagResult object itself.

withModelVersion

public TagResult withModelVersion(String modelVersion)

Set the modelVersion value.

Parameters:

modelVersion - the modelVersion value to set

Returns:

the TagResult object itself.

withRequestId

public TagResult withRequestId(String requestId)

Set the requestId value.

Parameters:

requestId - the requestId value to set

Returns:

the TagResult object itself.

withTags

public TagResult withTags(List tags)

Set the tags value.

Parameters:

tags - the tags value to set

Returns:

the TagResult object itself.

Applies to