public class AzureAsyncOperationResult extends Object
| Constructor and Description |
|---|
AzureAsyncOperationResult() |
| Modifier and Type | Method and Description |
|---|---|
Error |
error()
Get details of the error occurred during specified asynchronous operation.
|
NetworkOperationStatus |
status()
Get status of the Azure async operation.
|
AzureAsyncOperationResult |
withError(Error error)
Set details of the error occurred during specified asynchronous operation.
|
AzureAsyncOperationResult |
withStatus(NetworkOperationStatus status)
Set status of the Azure async operation.
|
public NetworkOperationStatus status()
public AzureAsyncOperationResult withStatus(NetworkOperationStatus status)
status - the status value to setpublic Error error()
public AzureAsyncOperationResult withError(Error 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.
*/