Class InstanceViewStatus
java.lang.Object
com.microsoft.azure.management.compute.InstanceViewStatus
Instance view status.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncode()
Get the status code.Get the short localizable label for the status.level()
Get the level code.message()
Get the detailed status message, including for alerts and error messages.org.joda.time.DateTime
time()
Get the time of the status.Set the status code.withDisplayStatus
(String displayStatus) Set the short localizable label for the status.withLevel
(StatusLevelTypes level) Set the level code.withMessage
(String message) Set the detailed status message, including for alerts and error messages.withTime
(org.joda.time.DateTime time) Set the time of the status.
-
Constructor Details
-
InstanceViewStatus
public InstanceViewStatus()
-
-
Method Details
-
code
Get the status code.- Returns:
- the code value
-
withCode
Set the status code.- Parameters:
code
- the code value to set- Returns:
- the InstanceViewStatus object itself.
-
level
Get the level code. Possible values include: 'Info', 'Warning', 'Error'.- Returns:
- the level value
-
withLevel
Set the level code. Possible values include: 'Info', 'Warning', 'Error'.- Parameters:
level
- the level value to set- Returns:
- the InstanceViewStatus object itself.
-
displayStatus
Get the short localizable label for the status.- Returns:
- the displayStatus value
-
withDisplayStatus
Set the short localizable label for the status.- Parameters:
displayStatus
- the displayStatus value to set- Returns:
- the InstanceViewStatus object itself.
-
message
Get the detailed status message, including for alerts and error messages.- Returns:
- the message value
-
withMessage
Set the detailed status message, including for alerts and error messages.- Parameters:
message
- the message value to set- Returns:
- the InstanceViewStatus object itself.
-
time
public org.joda.time.DateTime time()Get the time of the status.- Returns:
- the time value
-
withTime
Set the time of the status.- Parameters:
time
- the time value to set- Returns:
- the InstanceViewStatus object itself.
-