public class DeleteServiceInstanceBindingRequest extends AsyncServiceBrokerRequest
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 |
DeleteServiceInstanceBindingRequest.DeleteServiceInstanceBindingRequestBuilder
Provides a fluent API for constructing a
DeleteServiceInstanceBindingRequest. |
ASYNC_REQUEST_PARAMETER, asyncAcceptedAPI_INFO_LOCATION_HEADER, apiInfoLocation, BINDING_ID_PATH_VARIABLE, INSTANCE_ID_PATH_VARIABLE, ORIGINATING_IDENTITY_HEADER, originatingIdentity, PLAN_ID_PARAMETER, PLATFORM_INSTANCE_ID_VARIABLE, platformInstanceId, REQUEST_IDENTITY_HEADER, requestIdentity, SERVICE_ID_PARAMETER| Constructor and Description |
|---|
DeleteServiceInstanceBindingRequest(String serviceInstanceId,
String serviceDefinitionId,
String planId,
String bindingId,
ServiceDefinition serviceDefinition,
Plan plan,
boolean acceptsAsync,
String platformInstanceId,
String apiInfoLocation,
Context originatingIdentity,
String requestIdentity)
Construct a new
DeleteServiceInstanceBindingRequest |
| Modifier and Type | Method and Description |
|---|---|
static DeleteServiceInstanceBindingRequest.DeleteServiceInstanceBindingRequestBuilder |
builder()
Create a builder that provides a fluent API for constructing a DeleteServiceInstanceBindingRequest.
|
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 delete.
|
Plan |
getPlan()
Get the plan of the service instance associated with the binding.
|
String |
getPlanId()
Get the ID of the plan for to the service instance associated with the binding.
|
ServiceDefinition |
getServiceDefinition()
Get the service definition of the service instance associated with the binding.
|
String |
getServiceDefinitionId()
Get the ID of the service definition for the service instance associated with the binding.
|
String |
getServiceInstanceId()
Get the ID of the service instance associated with the binding.
|
int |
hashCode() |
boolean |
isAsyncAccepted()
Get the value indicating whether the platform allows the broker to complete the request asynchronously.
|
String |
toString() |
setAsyncAcceptedgetApiInfoLocation, getOriginatingIdentity, getPlatformInstanceId, getRequestIdentity, setApiInfoLocation, setOriginatingIdentity, setPlatformInstanceId, setRequestIdentitypublic DeleteServiceInstanceBindingRequest(String serviceInstanceId, String serviceDefinitionId, String planId, String bindingId, ServiceDefinition serviceDefinition, Plan plan, boolean acceptsAsync, String platformInstanceId, String apiInfoLocation, Context originatingIdentity, String requestIdentity)
DeleteServiceInstanceBindingRequestserviceInstanceId - the service instance IDserviceDefinitionId - the service definition IDplanId - the plan IDbindingId - the service binding IDserviceDefinition - the service definitionplan - the planacceptsAsync - does the platform accept asynchronous requestsplatformInstanceId - the platform instance IDapiInfoLocation - location of the API info endpoint of the platform instanceoriginatingIdentity - identity of the user that initiated the request from the platformrequestIdentity - identity of the request sent from the platformpublic boolean isAsyncAccepted()
AsyncServiceBrokerRequestThis value is set from the async_accepted request parameter of the request from the platform.
A false value indicates that clients do not allow asynchronous processing of requests, a
true value indicates that clients do allow asynchronous processing.
isAsyncAccepted in class AsyncServiceBrokerRequestpublic 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 String getServiceDefinitionId()
Catalog.
This value is set from the service_id field in the body of the request from the platform
public String getPlanId()
Catalog within the specified
ServiceDefinition.
This value is set from the plan_id field in the body of the request from the platform.
public ServiceDefinition getServiceDefinition()
The service definition is retrieved from the Catalog
as a convenience.
public Plan getPlan()
The plan is retrieved from the Catalog as a
convenience.
public static DeleteServiceInstanceBindingRequest.DeleteServiceInstanceBindingRequestBuilder builder()
This builder is provided to support testing of ServiceInstanceBindingService
implementations.
public final boolean equals(Object o)
equals in class AsyncServiceBrokerRequestpublic final boolean canEqual(Object other)
ServiceBrokerRequestcanEqual in class AsyncServiceBrokerRequestother - the other objectpublic final int hashCode()
hashCode in class AsyncServiceBrokerRequestpublic String toString()
toString in class AsyncServiceBrokerRequest