AsyncOperationResultInner Class
- java.
lang. Object - com.
azure. resourcemanager. deviceprovisioningservices. fluent. models. AsyncOperationResultInner
- com.
public final class AsyncOperationResultInner
Result of a long running operation.
Constructor Summary
Constructor | Description | |
---|---|---|
AsyncOperationResultInner() |
Method Summary
Modifier and Type | Method and Description |
---|---|
Error |
error()
Get the error property: Error message containing code, description and details. |
String |
status()
Get the status property: current status of a long running operation. |
void |
validate()
Validates the instance. |
Async |
withError(ErrorMesssage error)
Set the error property: Error message containing code, description and details. |
Async |
withStatus(String status)
Set the status property: current status of a long running operation. |
Methods inherited from java.lang.Object
Constructor Details
AsyncOperationResultInner
public AsyncOperationResultInner()
Method Details
error
public ErrorMesssage error()
Get the error property: Error message containing code, description and details.
Returns:
status
public String status()
Get the status property: current status of a long running operation.
Returns:
validate
public void validate()
Validates the instance.
withError
public AsyncOperationResultInner withError(ErrorMesssage error)
Set the error property: Error message containing code, description and details.
Parameters:
Returns:
withStatus
public AsyncOperationResultInner withStatus(String status)
Set the status property: current status of a long running operation.
Parameters:
Returns:
Applies to
Azure SDK for Java