Class GetServiceInstanceBindingRequest.GetServiceInstanceBindingRequestBuilder
java.lang.Object
org.springframework.cloud.servicebroker.model.binding.GetServiceInstanceBindingRequest.GetServiceInstanceBindingRequestBuilder
- Enclosing class:
- GetServiceInstanceBindingRequest
public static final class GetServiceInstanceBindingRequest.GetServiceInstanceBindingRequestBuilder
extends Object
Provides a fluent API for constructing a
CreateServiceInstanceBindingRequest
.-
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.Set the binding ID as would be provided in the request from the platform.build()
Construct aGetServiceInstanceBindingRequest
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 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.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 GetServiceInstanceBindingRequest.GetServiceInstanceBindingRequestBuilder 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:
-
bindingId
public GetServiceInstanceBindingRequest.GetServiceInstanceBindingRequestBuilder 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:
-
serviceDefinitionId
public GetServiceInstanceBindingRequest.GetServiceInstanceBindingRequestBuilder 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 GetServiceInstanceBindingRequest.GetServiceInstanceBindingRequestBuilder 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:
-
platformInstanceId
public GetServiceInstanceBindingRequest.GetServiceInstanceBindingRequestBuilder 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 GetServiceInstanceBindingRequest.GetServiceInstanceBindingRequestBuilder 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 GetServiceInstanceBindingRequest.GetServiceInstanceBindingRequestBuilder 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 GetServiceInstanceBindingRequest.GetServiceInstanceBindingRequestBuilder 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 aGetServiceInstanceBindingRequest
from the provided values.- Returns:
- the newly constructed GetServiceInstanceBindingRequest
-