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
Modifier and TypeClassDescriptionstatic final class
Provides a fluent API for constructing anUpdateServiceInstanceResponse
. -
Field Summary
Fields inherited from class org.springframework.cloud.servicebroker.model.AsyncServiceBrokerResponse
async, operation
-
Constructor Summary
ConstructorDescriptionConstruct a newUpdateServiceInstanceResponse
.UpdateServiceInstanceResponse
(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.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 object containing metadata for the service instance.final int
hashCode()
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:
equals
in classAsyncServiceBrokerResponse
-
canEqual
Description copied from class:AsyncServiceBrokerResponse
Is another object type compatible with this object.- Overrides:
canEqual
in classAsyncServiceBrokerResponse
- Parameters:
other
- the other object- Returns:
- true of compatible
-
hashCode
public final int hashCode()- Overrides:
hashCode
in classAsyncServiceBrokerResponse
-
toString
- Overrides:
toString
in classAsyncServiceBrokerResponse
-