|Modifier and Type||Method and Description|
Set a boolean value indicating whether the current asynchronous operation is a delete operation.
Set a user-facing description of the operation that the platform can display to the API client.
Set the current state of the asynchronous operation.
public GetLastServiceBindingOperationResponse.GetLastServiceBindingOperationResponseBuilder operationState(OperationState state)
A value of
OperationState.IN_PROGRESS will cause the platform to continue polling the service broker
for status. A value of
OperationState.FAILED will cause the
platform to stop polling the service broker.
This value will set the state field in the body of the response to the platform.
state- the current state
public GetLastServiceBindingOperationResponse.GetLastServiceBindingOperationResponseBuilder description(String description)
This value will set the description field in the body of the response to the platform.
description- the description
public GetLastServiceBindingOperationResponse.GetLastServiceBindingOperationResponseBuilder deleteOperation(boolean deleteOperation)
truein response to a request for the status of an asynchronous delete request, and
This value is used to determine the HTTP response code to the platform. If the
OperationState.SUCCEEDED and the value provided here is true will result in a response code 410 GONE. Otherwise the response code will be 200
deleteOperation- the boolean value