Class GetLastServiceOperationRequest.GetLastServiceOperationRequestBuilder
java.lang.Object
org.springframework.cloud.servicebroker.model.instance.GetLastServiceOperationRequest.GetLastServiceOperationRequestBuilder
- Enclosing class:
- GetLastServiceOperationRequest
public static final class GetLastServiceOperationRequest.GetLastServiceOperationRequestBuilder
extends Object
Provides a fluent API for constructing a
GetLastServiceOperationRequest
.-
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 aGetLastServiceOperationRequest
from the provided values.Set the operation as would be provided in the request from the platform.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 GetLastServiceOperationRequest.GetLastServiceOperationRequestBuilder 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 GetLastServiceOperationRequest.GetLastServiceOperationRequestBuilder 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:
-
operation
public GetLastServiceOperationRequest.GetLastServiceOperationRequestBuilder operation(String operation) Set the operation as would be provided in the request from the platform.- Parameters:
operation
- the operation- Returns:
- the builder
-
platformInstanceId
public GetLastServiceOperationRequest.GetLastServiceOperationRequestBuilder 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 GetLastServiceOperationRequest.GetLastServiceOperationRequestBuilder 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 GetLastServiceOperationRequest.GetLastServiceOperationRequestBuilder 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 GetLastServiceOperationRequest.GetLastServiceOperationRequestBuilder 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 aGetLastServiceOperationRequest
from the provided values.- Returns:
- the newly constructed GetLastServiceOperationRequest
-