public class DeleteServiceInstanceRequest 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 |
DeleteServiceInstanceRequest.DeleteServiceInstanceRequestBuilder
Provides a fluent API for constructing a
DeleteServiceInstanceRequest. |
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, SERVICE_ID_PARAMETER| Constructor and Description |
|---|
DeleteServiceInstanceRequest(String serviceInstanceId,
String serviceDefinitionId,
String planId,
ServiceDefinition serviceDefinition,
Plan plan,
boolean asyncAccepted,
String platformInstanceId,
String apiInfoLocation,
Context originatingIdentity)
Construct a new
DeleteServiceInstanceRequest |
| Modifier and Type | Method and Description |
|---|---|
static DeleteServiceInstanceRequest.DeleteServiceInstanceRequestBuilder |
builder()
Create a builder that provides a fluent API for constructing a DeleteServiceInstanceRequest.
|
boolean |
canEqual(Object other)
Is another object type compatible with this object
|
boolean |
equals(Object o) |
Plan |
getPlan()
Get the plan for the service definition to delete
|
String |
getPlanId()
Get the ID of the plan for to the service instance to delete.
|
ServiceDefinition |
getServiceDefinition()
Get the service definition of the service to delete.
|
String |
getServiceDefinitionId()
Get the ID of the service definition for to the service instance to delete.
|
String |
getServiceInstanceId()
Get the ID of the service instance to delete.
|
int |
hashCode() |
boolean |
isAsyncAccepted()
Get the value indicating whether the platform allows the broker to complete the request
asynchronously.
|
String |
toString() |
setAsyncAcceptedgetApiInfoLocation, getOriginatingIdentity, getPlatformInstanceId, setApiInfoLocation, setOriginatingIdentity, setPlatformInstanceIdpublic DeleteServiceInstanceRequest(String serviceInstanceId, String serviceDefinitionId, String planId, ServiceDefinition serviceDefinition, Plan plan, boolean asyncAccepted, String platformInstanceId, String apiInfoLocation, Context originatingIdentity)
DeleteServiceInstanceRequestserviceInstanceId - the service instance IDserviceDefinitionId - the service definition IDplanId - the plan IDserviceDefinition - the service definitionplan - the planasyncAccepted - 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 platformpublic String getServiceInstanceId()
This value is set from the :instance_id path element of the request from the platform.
public String getServiceDefinitionId()
Catalog.
This value is set from the service_id request parameter of the request from the platform
public String getPlanId()
Catalog within the specified
ServiceDefinition.
This value is set from the plan_id request parameter of the request from the platform.
public ServiceDefinition getServiceDefinition()
The service definition is retrieved from the
Catalog as a convenience.
public 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 Plan getPlan()
The plan is retrieved from the
Catalog as a convenience.
public static DeleteServiceInstanceRequest.DeleteServiceInstanceRequestBuilder builder()
This builder is provided to support testing of
ServiceInstanceService 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