TrainingStatus Class

  • java.lang.Object
    • com.microsoft.azure.cognitiveservices.vision.faceapi.models.TrainingStatus

public class TrainingStatus

Training status object.

Method Summary

Modifier and Type Method and Description
DateTime created()

Get the created value.

DateTime lastAction()

Get the lastAction value.

String message()

Get the message value.

TrainingStatusType status()

Get the status value.

TrainingStatus withCreated(DateTime created)

Set the created value.

TrainingStatus withLastAction(DateTime lastAction)

Set the lastAction value.

TrainingStatus withMessage(String message)

Set the message value.

TrainingStatus withStatus(TrainingStatusType status)

Set the status value.

Method Details

created

public DateTime created()

Get the created value.

Returns:

the created value

lastAction

public DateTime lastAction()

Get the lastAction value.

Returns:

the lastAction value

message

public String message()

Get the message value.

Returns:

the message value

status

public TrainingStatusType status()

Get the status value.

Returns:

the status value

withCreated

public TrainingStatus withCreated(DateTime created)

Set the created value.

Parameters:

created - the created value to set

Returns:

the TrainingStatus object itself.

withLastAction

public TrainingStatus withLastAction(DateTime lastAction)

Set the lastAction value.

Parameters:

lastAction - the lastAction value to set

Returns:

the TrainingStatus object itself.

withMessage

public TrainingStatus withMessage(String message)

Set the message value.

Parameters:

message - the message value to set

Returns:

the TrainingStatus object itself.

withStatus

public TrainingStatus withStatus(TrainingStatusType status)

Set the status value.

Parameters:

status - the status value to set

Returns:

the TrainingStatus object itself.

Applies to