Dela via


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