Class DeleteServiceInstanceBindingRequest.DeleteServiceInstanceBindingRequestBuilder
java.lang.Object
org.springframework.cloud.servicebroker.model.binding.DeleteServiceInstanceBindingRequest.DeleteServiceInstanceBindingRequestBuilder
- Enclosing class:
- DeleteServiceInstanceBindingRequest
public static final class DeleteServiceInstanceBindingRequest.DeleteServiceInstanceBindingRequestBuilder
extends Object
Provides a fluent API for constructing a
DeleteServiceInstanceBindingRequest
.-
Method Summary
Modifier and TypeMethodDescriptionapiInfoLocation
(String apiInfoLocation) Set the location of the API info endpoint as would be provided in the request from the platform.asyncAccepted
(boolean asyncAccepted) Set the value of the flag indicating whether the platform supports asynchronous operations as would be provided in the request from the platform.Set the binding ID as would be provided in the request from the platform.build()
Construct aDeleteServiceInstanceBindingRequest
from the provided values.originatingIdentity
(Context originatingIdentity) Set the identity of the user making the request as would be provided in the request from the platform.Set the fully resolved plan.Set the plan ID as would be provided in the request from the platform.platformInstanceId
(String platformInstanceId) Set the ID of the platform instance as would be provided in the request from the platform.requestIdentity
(String requestIdentity) Set the identity of the request sent from the platform.serviceDefinition
(ServiceDefinition serviceDefinition) Set the fully resolved service definition.serviceDefinitionId
(String serviceDefinitionId) Set the service definition ID as would be provided in the request from the platform.serviceInstanceId
(String serviceInstanceId) Set the service instance ID as would be provided in the request from the platform.
-
Method Details
-
serviceInstanceId
public DeleteServiceInstanceBindingRequest.DeleteServiceInstanceBindingRequestBuilder serviceInstanceId(String serviceInstanceId) Set the service instance ID as would be provided in the request from the platform.- Parameters:
serviceInstanceId
- the service instance ID- Returns:
- the builder
- See Also:
-
serviceDefinitionId
public DeleteServiceInstanceBindingRequest.DeleteServiceInstanceBindingRequestBuilder serviceDefinitionId(String serviceDefinitionId) Set the service definition ID as would be provided in the request from the platform.- Parameters:
serviceDefinitionId
- the service definition ID- Returns:
- the builder
- See Also:
-
planId
public DeleteServiceInstanceBindingRequest.DeleteServiceInstanceBindingRequestBuilder planId(String planId) Set the plan ID as would be provided in the request from the platform.- Parameters:
planId
- the plan ID- Returns:
- the builder
- See Also:
-
bindingId
public DeleteServiceInstanceBindingRequest.DeleteServiceInstanceBindingRequestBuilder bindingId(String bindingId) Set the binding ID as would be provided in the request from the platform.- Parameters:
bindingId
- the service binding ID- Returns:
- the builder
- See Also:
-
asyncAccepted
public DeleteServiceInstanceBindingRequest.DeleteServiceInstanceBindingRequestBuilder asyncAccepted(boolean asyncAccepted) Set the value of the flag indicating whether the platform supports asynchronous operations as would be provided in the request from the platform.- Parameters:
asyncAccepted
- the boolean value of the flag- Returns:
- the builder
- See Also:
-
serviceDefinition
public DeleteServiceInstanceBindingRequest.DeleteServiceInstanceBindingRequestBuilder serviceDefinition(ServiceDefinition serviceDefinition) Set the fully resolved service definition.- Parameters:
serviceDefinition
- the service definition- Returns:
- the builder
- See Also:
-
plan
public DeleteServiceInstanceBindingRequest.DeleteServiceInstanceBindingRequestBuilder plan(Plan plan) Set the fully resolved plan.- Parameters:
plan
- the plan- Returns:
- the builder
- See Also:
-
platformInstanceId
public DeleteServiceInstanceBindingRequest.DeleteServiceInstanceBindingRequestBuilder platformInstanceId(String platformInstanceId) Set the ID of the platform instance as would be provided in the request from the platform.- Parameters:
platformInstanceId
- the platform instance ID- Returns:
- the builder
- See Also:
-
apiInfoLocation
public DeleteServiceInstanceBindingRequest.DeleteServiceInstanceBindingRequestBuilder apiInfoLocation(String apiInfoLocation) Set the location of the API info endpoint as would be provided in the request from the platform.- Parameters:
apiInfoLocation
- location of the API info endpoint of the platform instance- Returns:
- the builder
- See Also:
-
originatingIdentity
public DeleteServiceInstanceBindingRequest.DeleteServiceInstanceBindingRequestBuilder originatingIdentity(Context originatingIdentity) Set the identity of the user making the request as would be provided in the request from the platform.- Parameters:
originatingIdentity
- the user identity- Returns:
- the builder
- See Also:
-
requestIdentity
public DeleteServiceInstanceBindingRequest.DeleteServiceInstanceBindingRequestBuilder requestIdentity(String requestIdentity) Set the identity of the request sent from the platform.- Parameters:
requestIdentity
- the request identity- Returns:
- the builder
- See Also:
-
build
Construct aDeleteServiceInstanceBindingRequest
from the provided values.- Returns:
- the newly constructed DeleteServiceInstanceBindingRequest
-