public class StatusMessage extends Object
| Constructor and Description |
|---|
StatusMessage() |
| Modifier and Type | Method and Description |
|---|---|
ErrorResponse |
error()
Get the error reported by the operation.
|
String |
status()
Get status of the deployment operation.
|
StatusMessage |
withError(ErrorResponse error)
Set the error reported by the operation.
|
StatusMessage |
withStatus(String status)
Set status of the deployment operation.
|
public String status()
public StatusMessage withStatus(String status)
status - the status value to setpublic ErrorResponse error()
public StatusMessage withError(ErrorResponse error)
error - the error value to set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/