InstanceViewStatus Class

  • java.lang.Object
    • com.microsoft.azure.batch.protocol.models.InstanceViewStatus

public class InstanceViewStatus

The instance view status.

Constructor Summary

Constructor Description
InstanceViewStatus()

Method Summary

Modifier and Type Method and Description
String code()

Get the code value.

String displayStatus()

Get the displayStatus value.

StatusLevelTypes level()

Get possible values include: 'Error', 'Info', 'Warning'.

String message()

Get the message value.

String time()

Get the time of the status.

InstanceViewStatus withCode(String code)

Set the code value.

InstanceViewStatus withDisplayStatus(String displayStatus)

Set the displayStatus value.

InstanceViewStatus withLevel(StatusLevelTypes level)

Set possible values include: 'Error', 'Info', 'Warning'.

InstanceViewStatus withMessage(String message)

Set the message value.

InstanceViewStatus withTime(String time)

Set the time of the status.

Methods inherited from java.lang.Object

Constructor Details

InstanceViewStatus

public InstanceViewStatus()

Method Details

code

public String code()

Get the code value.

Returns:

the code value

displayStatus

public String displayStatus()

Get the displayStatus value.

Returns:

the displayStatus value

level

public StatusLevelTypes level()

Get possible values include: 'Error', 'Info', 'Warning'.

Returns:

the level value

message

public String message()

Get the message value.

Returns:

the message value

time

public String time()

Get the time of the status.

Returns:

the time value

withCode

public InstanceViewStatus withCode(String code)

Set the code value.

Parameters:

code - the code value to set

Returns:

the InstanceViewStatus object itself.

withDisplayStatus

public InstanceViewStatus withDisplayStatus(String displayStatus)

Set the displayStatus value.

Parameters:

displayStatus - the displayStatus value to set

Returns:

the InstanceViewStatus object itself.

withLevel

public InstanceViewStatus withLevel(StatusLevelTypes level)

Set possible values include: 'Error', 'Info', 'Warning'.

Parameters:

level - the level value to set

Returns:

the InstanceViewStatus object itself.

withMessage

public InstanceViewStatus withMessage(String message)

Set the message value.

Parameters:

message - the message value to set

Returns:

the InstanceViewStatus object itself.

withTime

public InstanceViewStatus withTime(String time)

Set the time of the status.

Parameters:

time - the time value to set

Returns:

the InstanceViewStatus object itself.

Applies to