ImageFileCreateEntry Class

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

public class ImageFileCreateEntry

The ImageFileCreateEntry model.

Method Summary

Modifier and Type Method and Description
byte [] contents()

Get the contents value.

String name()

Get the name value.

List<Region> regions()

Get the regions value.

List<UUID> tagIds()

Get the tagIds value.

ImageFileCreateEntry withContents(byte[] contents)

Set the contents value.

ImageFileCreateEntry withName(String name)

Set the name value.

ImageFileCreateEntry withRegions(List<Region> regions)

Set the regions value.

ImageFileCreateEntry withTagIds(List<UUID> tagIds)

Set the tagIds value.

Method Details

contents

public byte [] contents()

Get the contents value.

Returns:

the contents value

name

public String name()

Get the name value.

Returns:

the name value

regions

public List regions()

Get the regions value.

Returns:

the regions value

tagIds

public List tagIds()

Get the tagIds value.

Returns:

the tagIds value

withContents

public ImageFileCreateEntry withContents(byte[] contents)

Set the contents value.

Parameters:

contents - the contents value to set

Returns:

the ImageFileCreateEntry object itself.

withName

public ImageFileCreateEntry withName(String name)

Set the name value.

Parameters:

name - the name value to set

Returns:

the ImageFileCreateEntry object itself.

withRegions

public ImageFileCreateEntry withRegions(List regions)

Set the regions value.

Parameters:

regions - the regions value to set

Returns:

the ImageFileCreateEntry object itself.

withTagIds

public ImageFileCreateEntry withTagIds(List tagIds)

Set the tagIds value.

Parameters:

tagIds - the tagIds value to set

Returns:

the ImageFileCreateEntry object itself.

Applies to