public class InstanceViewStatus extends Object
Constructor and Description |
---|
InstanceViewStatus() |
Modifier and Type | Method and Description |
---|---|
String |
code()
Get the status code.
|
String |
displayStatus()
Get the short localizable label for the status.
|
StatusLevelTypes |
level()
Get the level code.
|
String |
message()
Get the detailed status message, including for alerts and error messages.
|
org.joda.time.DateTime |
time()
Get the time of the status.
|
InstanceViewStatus |
withCode(String code)
Set the status code.
|
InstanceViewStatus |
withDisplayStatus(String displayStatus)
Set the short localizable label for the status.
|
InstanceViewStatus |
withLevel(StatusLevelTypes level)
Set the level code.
|
InstanceViewStatus |
withMessage(String message)
Set the detailed status message, including for alerts and error messages.
|
InstanceViewStatus |
withTime(org.joda.time.DateTime time)
Set the time of the status.
|
public String code()
public InstanceViewStatus withCode(String code)
code
- the code value to setpublic StatusLevelTypes level()
public InstanceViewStatus withLevel(StatusLevelTypes level)
level
- the level value to setpublic String displayStatus()
public InstanceViewStatus withDisplayStatus(String displayStatus)
displayStatus
- the displayStatus value to setpublic String message()
public InstanceViewStatus withMessage(String message)
message
- the message value to setpublic org.joda.time.DateTime time()
public InstanceViewStatus withTime(org.joda.time.DateTime time)
time
- the time value to setCopyright © 2019. All rights reserved.