Class GetServiceInstanceAppBindingResponse
java.lang.Object
org.springframework.cloud.servicebroker.model.binding.GetServiceInstanceBindingResponse
org.springframework.cloud.servicebroker.model.binding.GetServiceInstanceAppBindingResponse
Details of a response to a request to retrieve a service instance binding associated
with an application.
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 aGetServiceInstanceAppBindingResponse
. -
Constructor Summary
ConstructorDescriptionConstruct a newGetServiceInstanceAppBindingResponse
.GetServiceInstanceAppBindingResponse
(Map<String, Object> parameters, BindingMetadata metadata, Map<String, Object> credentials, String syslogDrainUrl, List<VolumeMount> volumeMounts, List<Endpoint> endpoints) Construct a newGetServiceInstanceAppBindingResponse
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Create a builder that provides a fluent API for constructing a GetServiceInstanceAppBindingResponse.final boolean
Is another object type compatible with this object.final boolean
Get the credentials that the bound application can use to access the service instance.Get the set of endpoints that can be used by an application to connect to the service instance.Get the URL to which the platform should drain logs for the bound application.Get the set of volume mounts that can be used in an application container file system.final int
hashCode()
toString()
Methods inherited from class org.springframework.cloud.servicebroker.model.binding.GetServiceInstanceBindingResponse
getMetadata, getParameters
-
Constructor Details
-
GetServiceInstanceAppBindingResponse
public GetServiceInstanceAppBindingResponse()Construct a newGetServiceInstanceAppBindingResponse
. -
GetServiceInstanceAppBindingResponse
public GetServiceInstanceAppBindingResponse(Map<String, Object> parameters, BindingMetadata metadata, Map<String, Object> credentials, String syslogDrainUrl, List<VolumeMount> volumeMounts, List<Endpoint> endpoints) Construct a newGetServiceInstanceAppBindingResponse
.- Parameters:
parameters
- the parametersmetadata
- the service instance binding metadatacredentials
- the service binding credentialssyslogDrainUrl
- the syslog drain URLvolumeMounts
- the set of volume mountsendpoints
- the set of endpoints
-
-
Method Details
-
getCredentials
Get the credentials that the bound application can use to access the service instance.- Returns:
- the service binding credentials
-
getSyslogDrainUrl
Get the URL to which the platform should drain logs for the bound application.- Returns:
- the syslog drain URL
-
getVolumeMounts
Get the set of volume mounts that can be used in an application container file system.- Returns:
- the set of volume mounts
-
getEndpoints
Get the set of endpoints that can be used by an application to connect to the service instance.- Returns:
- the set of endpoints
-
builder
public static GetServiceInstanceAppBindingResponse.GetServiceInstanceAppBindingResponseBuilder builder()Create a builder that provides a fluent API for constructing a GetServiceInstanceAppBindingResponse.- 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
-