public static class CreateServiceInstanceRouteBindingResponse.CreateServiceInstanceRouteBindingResponseBuilder extends Object
CreateServiceInstanceAppBindingResponse
.Modifier and Type | Method and Description |
---|---|
CreateServiceInstanceRouteBindingResponse.CreateServiceInstanceRouteBindingResponseBuilder |
bindingExisted(boolean bindingExisted)
Set a boolean value indicating whether the service binding already exists with the same parameters as the
requested service binding.
|
CreateServiceInstanceRouteBindingResponse |
build()
Construct a
CreateServiceInstanceRouteBindingResponse from the provided values. |
CreateServiceInstanceRouteBindingResponse.CreateServiceInstanceRouteBindingResponseBuilder |
routeServiceUrl(String routeServiceUrl)
Set a URL to which the platform should proxy requests for the bound route.
|
public CreateServiceInstanceRouteBindingResponse.CreateServiceInstanceRouteBindingResponseBuilder routeServiceUrl(String routeServiceUrl)
This value will set the route_service_url field in the body of the response to the platform
routeServiceUrl
- the route service URLpublic CreateServiceInstanceRouteBindingResponse.CreateServiceInstanceRouteBindingResponseBuilder bindingExisted(boolean bindingExisted)
false
indicates that new resources were created.
This value will be used to determine the HTTP response code to the platform. A true value will result in a response code 200 OK, and a false value will result in a response code 201 CREATED.
bindingExisted
- true to indicate that the binding exists, false otherwisepublic CreateServiceInstanceRouteBindingResponse build()
CreateServiceInstanceRouteBindingResponse
from the provided values.