Class InstanceViewStatus
- java.lang.Object
-
- com.microsoft.azure.batch.protocol.models.InstanceViewStatus
-
public class InstanceViewStatus extends Object
The instance view status.
-
-
Constructor Summary
Constructors Constructor Description InstanceViewStatus()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
code
public String code()
Get the code value.- Returns:
- the code value
-
withCode
public InstanceViewStatus withCode(String code)
Set the code value.- Parameters:
code
- the code value to set- Returns:
- the InstanceViewStatus object itself.
-
displayStatus
public String displayStatus()
Get the displayStatus value.- Returns:
- the displayStatus value
-
withDisplayStatus
public InstanceViewStatus withDisplayStatus(String displayStatus)
Set the displayStatus value.- Parameters:
displayStatus
- the displayStatus value to set- Returns:
- the InstanceViewStatus object itself.
-
level
public StatusLevelTypes level()
Get possible values include: 'Error', 'Info', 'Warning'.- Returns:
- the level value
-
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.
-
message
public String message()
Get the message value.- Returns:
- the message value
-
withMessage
public InstanceViewStatus withMessage(String message)
Set the message value.- Parameters:
message
- the message value to set- Returns:
- the InstanceViewStatus object itself.
-
time
public String time()
Get the time of the status.- Returns:
- the time value
-
withTime
public InstanceViewStatus withTime(String time)
Set the time of the status.- Parameters:
time
- the time value to set- Returns:
- the InstanceViewStatus object itself.
-
-