你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ImageFileCreateEntry 类
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. vision. customvision. training. models. ImageFileCreateEntry
- com.
public class ImageFileCreateEntry
ImageFileCreateEntry 模型。
方法摘要
修饰符和类型 | 方法和描述 |
---|---|
byte [] |
contents()
获取内容值。 |
String |
name()
获取名称值。 |
List<Region> |
regions()
获取区域值。 |
List<UUID> |
tagIds()
获取 tagIds 值。 |
Image |
withContents(byte[] contents)
设置 contents 值。 |
Image |
withName(String name)
设置名称值。 |
Image |
withRegions(List<Region> regions)
设置区域值。 |
Image |
withTagIds(List<UUID> tagIds)
设置 tagIds 值。 |
方法详细信息
contents
public byte [] contents()
获取内容值。
Returns:
name
public String name()
获取名称值。
Returns:
regions
public List
获取区域值。
Returns:
tagIds
public List
获取 tagIds 值。
Returns:
withContents
public ImageFileCreateEntry withContents(byte[] contents)
设置 contents 值。
Parameters:
Returns:
withName
public ImageFileCreateEntry withName(String name)
设置名称值。
Parameters:
Returns:
withRegions
public ImageFileCreateEntry withRegions(List
设置区域值。
Parameters:
Returns:
withTagIds
public ImageFileCreateEntry withTagIds(List
设置 tagIds 值。
Parameters:
Returns: