Class GetServiceInstanceRouteBindingResponse
java.lang.Object
org.springframework.cloud.servicebroker.model.binding.GetServiceInstanceBindingResponse
org.springframework.cloud.servicebroker.model.binding.GetServiceInstanceRouteBindingResponse
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 aGetServiceInstanceRouteBindingResponse. -
Constructor Summary
ConstructorsConstructorDescriptionConstruct a newGetServiceInstanceRouteBindingResponseGetServiceInstanceRouteBindingResponse(Map<String, Object> parameters, BindingMetadata metadata, String routeServiceUrl) Construct a newGetServiceInstanceRouteBindingResponse -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Create a builder that provides a fluent API for constructing a GetServiceInstanceRouteBindingResponse.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.GetServiceInstanceBindingResponse
getMetadata, getParameters
-
Constructor Details
-
GetServiceInstanceRouteBindingResponse
public GetServiceInstanceRouteBindingResponse()Construct a newGetServiceInstanceRouteBindingResponse -
GetServiceInstanceRouteBindingResponse
public GetServiceInstanceRouteBindingResponse(Map<String, Object> parameters, BindingMetadata metadata, String routeServiceUrl) Construct a newGetServiceInstanceRouteBindingResponse- Parameters:
parameters- the parametersmetadata- the service instance 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 GetServiceInstanceRouteBindingResponse.GetServiceInstanceRouteBindingResponseBuilder builder()Create a builder that provides a fluent API for constructing a GetServiceInstanceRouteBindingResponse.- Returns:
- the builder
-
equals
- Overrides:
equalsin classGetServiceInstanceBindingResponse
-
canEqual
Description copied from class:GetServiceInstanceBindingResponseIs another object type compatible with this object- Overrides:
canEqualin classGetServiceInstanceBindingResponse- Parameters:
other- the other object- Returns:
- true of compatible
-
hashCode
public final int hashCode()- Overrides:
hashCodein classGetServiceInstanceBindingResponse
-
toString
- Overrides:
toStringin classGetServiceInstanceBindingResponse
-