public final class StatusMessage extends Object
| Constructor and Description |
|---|
StatusMessage() |
| Modifier and Type | Method and Description |
|---|---|
com.azure.core.management.exception.ManagementError |
error()
Get the error property: The error reported by the operation.
|
String |
status()
Get the status property: Status of the deployment operation.
|
void |
validate()
Validates the instance.
|
StatusMessage |
withError(com.azure.core.management.exception.ManagementError error)
Set the error property: The error reported by the operation.
|
StatusMessage |
withStatus(String status)
Set the status property: Status of the deployment operation.
|
public String status()
public StatusMessage withStatus(String status)
status - the status value to set.public com.azure.core.management.exception.ManagementError error()
public StatusMessage withError(com.azure.core.management.exception.ManagementError error)
error - the error value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.