Class CreateServiceInstanceRouteBindingResponse
java.lang.Object
org.springframework.cloud.servicebroker.model.AsyncServiceBrokerResponse
org.springframework.cloud.servicebroker.model.binding.CreateServiceInstanceBindingResponse
org.springframework.cloud.servicebroker.model.binding.CreateServiceInstanceRouteBindingResponse
Details of a response to a request to create a new service instance binding associated
with a route.
Objects of this type are constructed by the service broker application, and used to build the response to the platform.
- Author:
- Scott Frederick, Roy Clarkson
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Provides a fluent API for constructing aCreateServiceInstanceAppBindingResponse
.Nested classes/interfaces inherited from class org.springframework.cloud.servicebroker.model.binding.CreateServiceInstanceBindingResponse
CreateServiceInstanceBindingResponse.CreateServiceInstanceBindingResponseBuilder
-
Field Summary
Fields inherited from class org.springframework.cloud.servicebroker.model.binding.CreateServiceInstanceBindingResponse
bindingExisted
Fields inherited from class org.springframework.cloud.servicebroker.model.AsyncServiceBrokerResponse
async, operation
-
Constructor Summary
ConstructorDescriptionConstruct a newCreateServiceInstanceRouteBindingResponse
.CreateServiceInstanceRouteBindingResponse
(boolean async, String operation, boolean bindingExisted, BindingMetadata metadata, String routeServiceUrl) Construct a newCreateServiceInstanceRouteBindingResponse
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Create a builder that provides a fluent API for constructing a CreateServiceInstanceRouteBindingResponse.final boolean
Is another object type compatible with this object.final boolean
Get a URL to which the platform should proxy requests for the bound route.final int
hashCode()
toString()
Methods inherited from class org.springframework.cloud.servicebroker.model.binding.CreateServiceInstanceBindingResponse
getMetadata, isBindingExisted
Methods inherited from class org.springframework.cloud.servicebroker.model.AsyncServiceBrokerResponse
getOperation, isAsync, validateOperationLength
-
Constructor Details
-
CreateServiceInstanceRouteBindingResponse
public CreateServiceInstanceRouteBindingResponse()Construct a newCreateServiceInstanceRouteBindingResponse
. -
CreateServiceInstanceRouteBindingResponse
public CreateServiceInstanceRouteBindingResponse(boolean async, String operation, boolean bindingExisted, BindingMetadata metadata, String routeServiceUrl) Construct a newCreateServiceInstanceRouteBindingResponse
.- Parameters:
async
- is the operation asynchronousoperation
- description of the operation being performedbindingExisted
- does the service binding already existmetadata
- the service binding metadatarouteServiceUrl
- the route service URL
-
-
Method Details
-
getRouteServiceUrl
Get a URL to which the platform should proxy requests for the bound route.- Returns:
- the route service URL
-
builder
public static CreateServiceInstanceRouteBindingResponse.CreateServiceInstanceRouteBindingResponseBuilder builder()Create a builder that provides a fluent API for constructing a CreateServiceInstanceRouteBindingResponse.- Returns:
- the builder
-
equals
- Overrides:
equals
in classCreateServiceInstanceBindingResponse
-
canEqual
Description copied from class:AsyncServiceBrokerResponse
Is another object type compatible with this object.- Overrides:
canEqual
in classCreateServiceInstanceBindingResponse
- Parameters:
other
- the other object- Returns:
- true of compatible
-
hashCode
public final int hashCode()- Overrides:
hashCode
in classCreateServiceInstanceBindingResponse
-
toString
- Overrides:
toString
in classCreateServiceInstanceBindingResponse
-