Class UpdateServiceInstanceRequest.UpdateServiceInstanceRequestBuilder
java.lang.Object
org.springframework.cloud.servicebroker.model.instance.UpdateServiceInstanceRequest.UpdateServiceInstanceRequestBuilder
- Enclosing class:
- UpdateServiceInstanceRequest
public static final class UpdateServiceInstanceRequest.UpdateServiceInstanceRequestBuilder
extends Object
Provides a fluent API for constructing a 
UpdateServiceInstanceRequest.- 
Method SummaryModifier 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.build()Construct aUpdateServiceInstanceRequestfrom the provided values.Set theContextof the request as would be provided in the request from the platform.maintenanceInfo(MaintenanceInfo maintenanceInfo) Set the maintenance info related to the plan.originatingIdentity(Context originatingIdentity) Set the identity of the user making the request as would be provided in the request from the platform.parameters(String key, Object value) Add a key/value pair to the request parameters as would be provided in the request from the platform.parameters(Map<String, Object> parameters) Add a set of parameters from the provided Map to the request parameters as would be provided in the request from the platform.Set the fully resolved plan for the service definition.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.previousValues(UpdateServiceInstanceRequest.PreviousValues previousValues) Set the previous values of the service instance details 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- 
serviceInstanceIdpublic UpdateServiceInstanceRequest.UpdateServiceInstanceRequestBuilder 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:
 
- 
serviceDefinitionIdpublic UpdateServiceInstanceRequest.UpdateServiceInstanceRequestBuilder 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:
 
- 
serviceDefinitionpublic UpdateServiceInstanceRequest.UpdateServiceInstanceRequestBuilder serviceDefinition(ServiceDefinition serviceDefinition) Set the fully resolved service definition.- Parameters:
- serviceDefinition- the service definition
- Returns:
- the builder
- See Also:
 
- 
planSet the fully resolved plan for the service definition.- Parameters:
- plan- the plan
- Returns:
- the builder
- See Also:
 
- 
planIdSet the plan ID as would be provided in the request from the platform.- Parameters:
- planId- the plan ID
- Returns:
- the builder
- See Also:
 
- 
previousValuespublic UpdateServiceInstanceRequest.UpdateServiceInstanceRequestBuilder previousValues(UpdateServiceInstanceRequest.PreviousValues previousValues) Set the previous values of the service instance details as would be provided in the request from the platform.- Parameters:
- previousValues- the previous values
- Returns:
- the builder
- See Also:
 
- 
parameterspublic UpdateServiceInstanceRequest.UpdateServiceInstanceRequestBuilder parameters(Map<String, Object> parameters) Add a set of parameters from the provided Map to the request parameters as would be provided in the request from the platform.- Parameters:
- parameters- the parameters to add
- Returns:
- the builder
- See Also:
 
- 
parameterspublic UpdateServiceInstanceRequest.UpdateServiceInstanceRequestBuilder parameters(String key, Object value) Add a key/value pair to the request parameters as would be provided in the request from the platform.- Parameters:
- key- the parameter key to add
- value- the parameter value to add
- Returns:
- the builder
- See Also:
 
- 
contextSet theContextof the request as would be provided in the request from the platform.- Parameters:
- context- the context
- Returns:
- the builder
- See Also:
 
- 
asyncAcceptedpublic UpdateServiceInstanceRequest.UpdateServiceInstanceRequestBuilder 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:
 
- 
platformInstanceIdpublic UpdateServiceInstanceRequest.UpdateServiceInstanceRequestBuilder 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:
 
- 
apiInfoLocationpublic UpdateServiceInstanceRequest.UpdateServiceInstanceRequestBuilder 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:
 
- 
originatingIdentitypublic UpdateServiceInstanceRequest.UpdateServiceInstanceRequestBuilder 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:
 
- 
requestIdentitypublic UpdateServiceInstanceRequest.UpdateServiceInstanceRequestBuilder requestIdentity(String requestIdentity) Set the identity of the request sent from the platform.- Parameters:
- requestIdentity- the request identity
- Returns:
- the builder
- See Also:
 
- 
maintenanceInfopublic UpdateServiceInstanceRequest.UpdateServiceInstanceRequestBuilder maintenanceInfo(MaintenanceInfo maintenanceInfo) Set the maintenance info related to the plan.- Parameters:
- maintenanceInfo- the maintenance info
- Returns:
- the builder
- See Also:
 
- 
buildConstruct aUpdateServiceInstanceRequestfrom the provided values.- Returns:
- the newly constructed UpdateServiceInstanceRequest
 
 
-