Class GetServiceInstanceResponse
java.lang.Object
org.springframework.cloud.servicebroker.model.instance.GetServiceInstanceResponse
Details of a response to a request to get the details a service instance.
Objects of this type are constructed by the service broker application, and used to build the response to the platform.
- Author:
- Scott Frederick
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Provides a fluent API for constructing aGetServiceInstanceResponse
. -
Constructor Summary
ConstructorDescriptionConstruct a newGetServiceInstanceResponse
.GetServiceInstanceResponse
(String serviceDefinitionId, String planId, String dashboardUrl, Map<String, Object> parameters) Construct a newGetServiceInstanceResponse
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Create a builder that provides a fluent API for constructing a GetServiceInstanceResponse.final boolean
Is another object type compatible with this object.final boolean
Get the URL of a web-based management user interface for the service instance.Get any parameters provided to the service broker when the service instance was created.Get the ID of the plan associated with the service instance.Get the ID of the service definition associated with the service instance.final int
hashCode()
toString()
-
Constructor Details
-
GetServiceInstanceResponse
public GetServiceInstanceResponse()Construct a newGetServiceInstanceResponse
. -
GetServiceInstanceResponse
public GetServiceInstanceResponse(String serviceDefinitionId, String planId, String dashboardUrl, Map<String, Object> parameters) Construct a newGetServiceInstanceResponse
.- Parameters:
serviceDefinitionId
- the service definition IDplanId
- the plan IDdashboardUrl
- the dashboard URLparameters
- the parameters
-
-
Method Details
-
getServiceDefinitionId
Get the ID of the service definition associated with the service instance.- Returns:
- the service definition ID
-
getPlanId
Get the ID of the plan associated with the service instance.- Returns:
- the plan ID
-
getDashboardUrl
Get the URL of a web-based management user interface for the service instance.- Returns:
- the dashboard URL, or null if not provided
-
getParameters
Get any parameters provided to the service broker when the service instance was created.- Returns:
- the parameters, or null if parameters were not provided at creation or retrieval of parameters is not supported by the service broker
-
builder
Create a builder that provides a fluent API for constructing a GetServiceInstanceResponse.- Returns:
- the builder
-
equals
-
canEqual
Is another object type compatible with this object.- Parameters:
other
- the other object- Returns:
- true of compatible
-
hashCode
public final int hashCode() -
toString
-