Class GetServiceInstanceRequest.GetServiceInstanceRequestBuilder
java.lang.Object
org.springframework.cloud.servicebroker.model.instance.GetServiceInstanceRequest.GetServiceInstanceRequestBuilder
- Enclosing class:
- GetServiceInstanceRequest
Provides a fluent API for constructing a
GetServiceInstanceRequest
.-
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.build()
Construct aGetServiceInstanceRequest
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 GetServiceInstanceRequest.GetServiceInstanceRequestBuilder 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 GetServiceInstanceRequest.GetServiceInstanceRequestBuilder 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
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 GetServiceInstanceRequest.GetServiceInstanceRequestBuilder 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 GetServiceInstanceRequest.GetServiceInstanceRequestBuilder 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 GetServiceInstanceRequest.GetServiceInstanceRequestBuilder 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 GetServiceInstanceRequest.GetServiceInstanceRequestBuilder 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 aGetServiceInstanceRequest
from the provided values.- Returns:
- the newly constructed GetServiceInstanceRequest
-