public static final class UpdateServiceInstanceResponse.UpdateServiceInstanceResponseBuilder extends Object
UpdateServiceInstanceResponse
.Modifier and Type | Method and Description |
---|---|
UpdateServiceInstanceResponse.UpdateServiceInstanceResponseBuilder |
async(boolean async)
Set a boolean value indicating whether the requested operation is being performed synchronously or
asynchronously.
|
UpdateServiceInstanceResponse |
build()
Construct an
UpdateServiceInstanceResponse from the provided values. |
UpdateServiceInstanceResponse.UpdateServiceInstanceResponseBuilder |
dashboardUrl(String dashboardUrl)
Set the URL of a web-based management user interface provided by the service broker for the service instance.
|
UpdateServiceInstanceResponse.UpdateServiceInstanceResponseBuilder |
operation(String operation)
Set a value to inform the user of the operation being performed in support of an asynchronous response.
|
public UpdateServiceInstanceResponse.UpdateServiceInstanceResponseBuilder dashboardUrl(String dashboardUrl)
This value will set the dashboard_url field in the body of the response to the platform.
dashboardUrl
- the dashboard URLpublic UpdateServiceInstanceResponse.UpdateServiceInstanceResponseBuilder async(boolean async)
This value will be used to determine the HTTP response code to the platform. A true value will result in a response code 202 ACCEPTED, and a false value will result in a response code 200 OK.
async
- true to indicate that the operation is being performed asynchronously, false to indicate that the operation was completedpublic UpdateServiceInstanceResponse.UpdateServiceInstanceResponseBuilder operation(String operation)
GetLastServiceOperationRequest
requests.
This value will set the operation field in the body of the response to the platform.
operation
- the informational valuepublic UpdateServiceInstanceResponse build()
UpdateServiceInstanceResponse
from the provided values.