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, asyncAccepted
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
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) |
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() |
setAsyncAccepted
getApiInfoLocation, getOriginatingIdentity, getPlatformInstanceId, setApiInfoLocation, setOriginatingIdentity, setPlatformInstanceId
public 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()
AsyncServiceBrokerRequest
This 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 AsyncServiceBrokerRequest
public 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 AsyncServiceBrokerRequest
public final boolean canEqual(Object other)
canEqual
in class AsyncServiceBrokerRequest
public final int hashCode()
hashCode
in class AsyncServiceBrokerRequest
public String toString()
toString
in class AsyncServiceBrokerRequest