你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ImageFileCreateEntry 类

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

public class ImageFileCreateEntry

ImageFileCreateEntry 模型。

方法摘要

修饰符和类型 方法和描述
byte [] contents()

获取内容值。

String name()

获取名称值。

List<Region> regions()

获取区域值。

List<UUID> tagIds()

获取 tagIds 值。

ImageFileCreateEntry withContents(byte[] contents)

设置 contents 值。

ImageFileCreateEntry withName(String name)

设置名称值。

ImageFileCreateEntry withRegions(List<Region> regions)

设置区域值。

ImageFileCreateEntry withTagIds(List<UUID> tagIds)

设置 tagIds 值。

方法详细信息

contents

public byte [] contents()

获取内容值。

Returns:

contents 值

name

public String name()

获取名称值。

Returns:

名称值

regions

public List regions()

获取区域值。

Returns:

区域值

tagIds

public List tagIds()

获取 tagIds 值。

Returns:

tagIds 值

withContents

public ImageFileCreateEntry withContents(byte[] contents)

设置 contents 值。

Parameters:

contents - 要设置的内容值

Returns:

ImageFileCreateEntry 对象本身。

withName

public ImageFileCreateEntry withName(String name)

设置名称值。

Parameters:

name - 要设置的名称值

Returns:

ImageFileCreateEntry 对象本身。

withRegions

public ImageFileCreateEntry withRegions(List regions)

设置区域值。

Parameters:

regions - 要设置的区域值

Returns:

ImageFileCreateEntry 对象本身。

withTagIds

public ImageFileCreateEntry withTagIds(List tagIds)

设置 tagIds 值。

Parameters:

tagIds - 要设置的 tagIds 值

Returns:

ImageFileCreateEntry 对象本身。

适用于