public class GetServiceInstanceBindingRequest extends ServiceBrokerRequest
Objects of this type are constructed by the framework from the headers, path variables, query parameters and message body passed to the service broker by the platform.
Modifier and Type | Class and Description |
---|---|
static class |
GetServiceInstanceBindingRequest.GetServiceInstanceBindingRequestBuilder
Provides a fluent API for constructing a
CreateServiceInstanceBindingRequest . |
API_INFO_LOCATION_HEADER, apiInfoLocation, BINDING_ID_PATH_VARIABLE, INSTANCE_ID_PATH_VARIABLE, ORIGINATING_IDENTITY_HEADER, originatingIdentity, PLAN_ID_PARAMETER, PLATFORM_INSTANCE_ID_VARIABLE, platformInstanceId, SERVICE_ID_PARAMETER
Constructor and Description |
---|
GetServiceInstanceBindingRequest(String serviceInstanceId,
String bindingId,
String platformInstanceId,
String apiInfoLocation,
Context originatingIdentity)
Construct a new
GetServiceInstanceBindingRequest |
Modifier and Type | Method and Description |
---|---|
static GetServiceInstanceBindingRequest.GetServiceInstanceBindingRequestBuilder |
builder()
Create a builder that provides a fluent API for constructing a GetServiceInstanceBindingRequest.
|
boolean |
canEqual(Object other)
Is another object type compatible with this object
|
boolean |
equals(Object o) |
String |
getBindingId()
Get the ID of the service binding to create.
|
String |
getServiceInstanceId()
Get the ID of the service instance associated with the binding.
|
int |
hashCode() |
String |
toString() |
getApiInfoLocation, getOriginatingIdentity, getPlatformInstanceId, setApiInfoLocation, setOriginatingIdentity, setPlatformInstanceId
public GetServiceInstanceBindingRequest(String serviceInstanceId, String bindingId, String platformInstanceId, String apiInfoLocation, Context originatingIdentity)
GetServiceInstanceBindingRequest
serviceInstanceId
- the service instance IDbindingId
- the service binding IDplatformInstanceId
- the platform instance IDapiInfoLocation
- location of the API info endpoint of the platform instanceoriginatingIdentity
- identity of the user that initiated the request from the platformpublic String getServiceInstanceId()
This value is set from the :instance_id path element of the request from the platform.
public String getBindingId()
This value is set from the :binding_id path element of the request from the platform.
public static GetServiceInstanceBindingRequest.GetServiceInstanceBindingRequestBuilder builder()
This builder is provided to support testing of
ServiceInstanceBindingService
implementations.
public final boolean equals(Object o)
equals
in class ServiceBrokerRequest
public final boolean canEqual(Object other)
ServiceBrokerRequest
canEqual
in class ServiceBrokerRequest
other
- the other objectpublic final int hashCode()
hashCode
in class ServiceBrokerRequest
public String toString()
toString
in class ServiceBrokerRequest