public final class ComputeVmInstanceViewStatus extends Object
Constructor and Description |
---|
ComputeVmInstanceViewStatus() |
Modifier and Type | Method and Description |
---|---|
String |
code()
Get the code property: Gets the status Code.
|
String |
displayStatus()
Get the displayStatus property: Gets the short localizable label for the status.
|
String |
message()
Get the message property: Gets the message associated with the status.
|
void |
validate()
Validates the instance.
|
ComputeVmInstanceViewStatus |
withCode(String code)
Set the code property: Gets the status Code.
|
ComputeVmInstanceViewStatus |
withDisplayStatus(String displayStatus)
Set the displayStatus property: Gets the short localizable label for the status.
|
ComputeVmInstanceViewStatus |
withMessage(String message)
Set the message property: Gets the message associated with the status.
|
public String code()
public ComputeVmInstanceViewStatus withCode(String code)
code
- the code value to set.public String displayStatus()
public ComputeVmInstanceViewStatus withDisplayStatus(String displayStatus)
displayStatus
- the displayStatus value to set.public String message()
public ComputeVmInstanceViewStatus withMessage(String message)
message
- the message value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.