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
Nested ClassesModifier and TypeClassDescriptionstatic final classProvides 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
bindingExistedFields inherited from class org.springframework.cloud.servicebroker.model.AsyncServiceBrokerResponse
async, operation -
Constructor Summary
ConstructorsConstructorDescriptionConstruct a newCreateServiceInstanceRouteBindingResponseCreateServiceInstanceRouteBindingResponse(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 booleanIs another object type compatible with this objectfinal booleanGet a URL to which the platform should proxy requests for the bound route.final inthashCode()toString()Methods inherited from class org.springframework.cloud.servicebroker.model.binding.CreateServiceInstanceBindingResponse
getMetadata, isBindingExistedMethods 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:
equalsin classCreateServiceInstanceBindingResponse
-
canEqual
Description copied from class:AsyncServiceBrokerResponseIs another object type compatible with this object- Overrides:
canEqualin classCreateServiceInstanceBindingResponse- Parameters:
other- the other object- Returns:
- true of compatible
-
hashCode
public final int hashCode()- Overrides:
hashCodein classCreateServiceInstanceBindingResponse
-
toString
- Overrides:
toStringin classCreateServiceInstanceBindingResponse
-