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

TrainingType Class

  • java.lang.Object
    • com.microsoft.rest.ExpandableStringEnum<TrainingType>
      • com.microsoft.azure.cognitiveservices.vision.customvision.training.models.TrainingType

public class TrainingType

Defines values for TrainingType.

Field Summary

Modifier and Type Field and Description
final TrainingType ADVANCED

Static value Advanced for TrainingType.

final TrainingType REGULAR

Static value Regular for TrainingType.

Method Summary

Modifier and Type Method and Description
TrainingType fromString(String name)

Creates or finds a TrainingType from its string representation.

Collection<TrainingType> values()

Field Details

ADVANCED

public static final TrainingType ADVANCED= fromString("Advanced")

Static value Advanced for TrainingType.

REGULAR

public static final TrainingType REGULAR= fromString("Regular")

Static value Regular for TrainingType.

Method Details

fromString

public static TrainingType fromString(String name)

Creates or finds a TrainingType from its string representation.

Parameters:

name - a name to look for

Returns:

the corresponding TrainingType

values

public static Collection values()

Returns:

known TrainingType values

Applies to