Class UpdateServiceInstanceResponse
java.lang.Object
org.springframework.cloud.servicebroker.model.AsyncServiceBrokerResponse
org.springframework.cloud.servicebroker.model.instance.UpdateServiceInstanceResponse
Details of a response to a request to update 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
Nested ClassesModifier and TypeClassDescriptionstatic final classProvides a fluent API for constructing anUpdateServiceInstanceResponse. -
Field Summary
Fields inherited from class org.springframework.cloud.servicebroker.model.AsyncServiceBrokerResponse
async, operation -
Constructor Summary
ConstructorsConstructorDescriptionConstruct a newUpdateServiceInstanceResponseUpdateServiceInstanceResponse(boolean async, String operation, String dashboardUrl, ServiceInstanceMetadata metadata) Construct a newUpdateServiceInstanceResponse -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Create a builder that provides a fluent API for constructing an UpdateServiceInstanceResponse.booleanIs another object type compatible with this objectfinal booleanGet the URL of a web-based management user interface for the service instance.Get object containing metadata for the service instancefinal inthashCode()toString()Methods inherited from class org.springframework.cloud.servicebroker.model.AsyncServiceBrokerResponse
getOperation, isAsync, validateOperationLength
-
Constructor Details
-
UpdateServiceInstanceResponse
public UpdateServiceInstanceResponse()Construct a newUpdateServiceInstanceResponse -
UpdateServiceInstanceResponse
public UpdateServiceInstanceResponse(boolean async, String operation, String dashboardUrl, ServiceInstanceMetadata metadata) Construct a newUpdateServiceInstanceResponse- Parameters:
async- is the operation asynchronousoperation- description of the operation being performeddashboardUrl- the dashboard URLmetadata- containing metadata for the service instance
-
-
Method Details
-
getDashboardUrl
Get the URL of a web-based management user interface for the service instance.- Returns:
- the dashboard URL, or null if not provided
-
getMetadata
Get object containing metadata for the service instance- Returns:
- the service instance metadata
-
builder
Create a builder that provides a fluent API for constructing an UpdateServiceInstanceResponse.- Returns:
- the builder
-
equals
- Overrides:
equalsin classAsyncServiceBrokerResponse
-
canEqual
Description copied from class:AsyncServiceBrokerResponseIs another object type compatible with this object- Overrides:
canEqualin classAsyncServiceBrokerResponse- Parameters:
other- the other object- Returns:
- true of compatible
-
hashCode
public final int hashCode()- Overrides:
hashCodein classAsyncServiceBrokerResponse
-
toString
- Overrides:
toStringin classAsyncServiceBrokerResponse
-