InstanceViewStatus Class
- java.
lang. Object - com.
microsoft. azure. batch. protocol. models. InstanceViewStatus
- com.
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 display |
Status |
level()
Get possible values include: 'Error', 'Info', 'Warning'. |
String |
message()
Get the message value. |
String |
time()
Get the time of the status. |
Instance |
withCode(String code)
Set the code value. |
Instance |
withDisplayStatus(String displayStatus)
Set the display |
Instance |
withLevel(StatusLevelTypes level)
Set possible values include: 'Error', 'Info', 'Warning'. |
Instance |
withMessage(String message)
Set the message value. |
Instance |
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:
displayStatus
public String displayStatus()
Get the displayStatus value.
Returns:
level
public StatusLevelTypes level()
Get possible values include: 'Error', 'Info', 'Warning'.
Returns:
message
public String message()
Get the message value.
Returns:
time
public String time()
Get the time of the status.
Returns:
withCode
public InstanceViewStatus withCode(String code)
Set the code value.
Parameters:
Returns:
withDisplayStatus
public InstanceViewStatus withDisplayStatus(String displayStatus)
Set the displayStatus value.
Parameters:
Returns:
withLevel
public InstanceViewStatus withLevel(StatusLevelTypes level)
Set possible values include: 'Error', 'Info', 'Warning'.
Parameters:
Returns:
withMessage
public InstanceViewStatus withMessage(String message)
Set the message value.
Parameters:
Returns:
withTime
public InstanceViewStatus withTime(String time)
Set the time of the status.
Parameters:
Returns:
Applies to
Azure SDK for Java