Class AsyncOperationResultInner
java.lang.Object
com.azure.resourcemanager.deviceprovisioningservices.fluent.models.AsyncOperationResultInner
Result of a long running operation.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionerror()
Get the error property: Error message containing code, description and details.status()
Get the status property: current status of a long running operation.void
validate()
Validates the instance.withError
(ErrorMessage error) Set the error property: Error message containing code, description and details.withStatus
(String status) Set the status property: current status of a long running operation.
-
Constructor Details
-
AsyncOperationResultInner
public AsyncOperationResultInner()
-
-
Method Details
-
status
Get the status property: current status of a long running operation.- Returns:
- the status value.
-
withStatus
Set the status property: current status of a long running operation.- Parameters:
status
- the status value to set.- Returns:
- the AsyncOperationResultInner object itself.
-
error
Get the error property: Error message containing code, description and details.- Returns:
- the error value.
-
withError
Set the error property: Error message containing code, description and details.- Parameters:
error
- the error value to set.- Returns:
- the AsyncOperationResultInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-