public class OperationStatusResponse extends OperationResponse
| Modifier and Type | Class and Description |
|---|---|
static class |
OperationStatusResponse.ErrorDetails
If the asynchronous operation failed, the response body includes the HTTP
status code for the failed request, and also includes error information
regarding the failure.
|
| Constructor and Description |
|---|
OperationStatusResponse() |
| Modifier and Type | Method and Description |
|---|---|
OperationStatusResponse.ErrorDetails |
getError()
If the asynchronous operation failed, the response body includes the HTTP
status code for the failed request, and also includes error information
regarding the failure.
|
Integer |
getHttpStatusCode()
The HTTP status code for the asynchronous request.
|
String |
getId()
The request ID of the asynchronous request.
|
OperationStatus |
getStatus()
The status of the asynchronous request.
|
void |
setError(OperationStatusResponse.ErrorDetails errorValue)
If the asynchronous operation failed, the response body includes the HTTP
status code for the failed request, and also includes error information
regarding the failure.
|
void |
setHttpStatusCode(Integer httpStatusCodeValue)
The HTTP status code for the asynchronous request.
|
void |
setId(String idValue)
The request ID of the asynchronous request.
|
void |
setStatus(OperationStatus statusValue)
The status of the asynchronous request.
|
getRequestId, getStatusCode, setRequestId, setStatusCodepublic OperationStatusResponse.ErrorDetails getError()
public void setError(OperationStatusResponse.ErrorDetails errorValue)
errorValue - The Error value.public Integer getHttpStatusCode()
public void setHttpStatusCode(Integer httpStatusCodeValue)
httpStatusCodeValue - The HttpStatusCode value.public String getId()
public void setId(String idValue)
idValue - The Id value.public OperationStatus getStatus()
public void setStatus(OperationStatus statusValue)
statusValue - The Status value./**
* Copyright Microsoft Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/