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
Modifier and TypeClassDescriptionstatic final class
Provides a fluent API for constructing aGetServiceInstanceRouteBindingResponse
. -
Constructor Summary
ConstructorDescriptionConstruct a newGetServiceInstanceRouteBindingResponse
.GetServiceInstanceRouteBindingResponse
(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 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.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:
equals
in classGetServiceInstanceBindingResponse
-
canEqual
Description copied from class:GetServiceInstanceBindingResponse
Is another object type compatible with this object.- Overrides:
canEqual
in classGetServiceInstanceBindingResponse
- Parameters:
other
- the other object- Returns:
- true of compatible
-
hashCode
public final int hashCode()- Overrides:
hashCode
in classGetServiceInstanceBindingResponse
-
toString
- Overrides:
toString
in classGetServiceInstanceBindingResponse
-