public static class GetLastServiceBindingOperationResponse.GetLastServiceBindingOperationResponseBuilder extends Object
GetLastServiceBindingOperationResponse.| Modifier and Type | Method and Description |
|---|---|
GetLastServiceBindingOperationResponse |
build()
Construct a
GetLastServiceBindingOperationResponse from the provided values. |
GetLastServiceBindingOperationResponse.GetLastServiceBindingOperationResponseBuilder |
deleteOperation(boolean deleteOperation)
Set a boolean value indicating whether the current asynchronous operation is a delete operation.
|
GetLastServiceBindingOperationResponse.GetLastServiceBindingOperationResponseBuilder |
description(String description)
Set a user-facing description of the operation that the platform can display to the API client.
|
GetLastServiceBindingOperationResponse.GetLastServiceBindingOperationResponseBuilder |
operationState(OperationState state)
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.SUCCEEDED or 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 statepublic GetLastServiceBindingOperationResponse.GetLastServiceBindingOperationResponseBuilder description(String description)
This value will set the description field in the body of the response to the platform.
description - the descriptionpublic GetLastServiceBindingOperationResponse.GetLastServiceBindingOperationResponseBuilder deleteOperation(boolean deleteOperation)
true in response to a request for the status of an asynchronous
delete request, and false otherwise.
This value is used to determine the HTTP response code to the platform. If the
operationState(OperationState) is OperationState.SUCCEEDED and the value provided
here is true will result in a response code 410 GONE. Otherwise the response
code will be 200 OK.
deleteOperation - the boolean valuepublic GetLastServiceBindingOperationResponse build()
GetLastServiceBindingOperationResponse from the provided values.