Class UpdateServiceInstanceRequest.PreviousValues.PreviousValuesBuilder
java.lang.Object
org.springframework.cloud.servicebroker.model.instance.UpdateServiceInstanceRequest.PreviousValues.PreviousValuesBuilder
- Enclosing class:
- UpdateServiceInstanceRequest.PreviousValues
public static final class UpdateServiceInstanceRequest.PreviousValues.PreviousValuesBuilder
extends Object
Provides a fluent API for constructing a
UpdateServiceInstanceRequest.PreviousValues
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Construct aUpdateServiceInstanceRequest.PreviousValues
from the provided values.maintenanceInfo
(MaintenanceInfo maintenanceInfo) Set the maintenance info as would be provided in the request from the platform.organizationId
(String organizationId) Set the organization ID as would be provided in the request from the platform.Set the plan ID as would be provided in the request from the platform.serviceDefinitionId
(String serviceDefinitionId) Set the service definition ID as would be provided in the request from the platform.Set the space ID as would be provided in the request from the platform.
-
Method Details
-
serviceDefinitionId
public UpdateServiceInstanceRequest.PreviousValues.PreviousValuesBuilder 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:
-
organizationId
public UpdateServiceInstanceRequest.PreviousValues.PreviousValuesBuilder organizationId(String organizationId) Set the organization ID as would be provided in the request from the platform.- Parameters:
organizationId
- the organization ID- Returns:
- the builder
- See Also:
-
spaceId
Set the space ID as would be provided in the request from the platform.- Parameters:
spaceId
- the space ID- Returns:
- the builder
- See Also:
-
maintenanceInfo
public UpdateServiceInstanceRequest.PreviousValues.PreviousValuesBuilder maintenanceInfo(MaintenanceInfo maintenanceInfo) Set the maintenance info as would be provided in the request from the platform.- Parameters:
maintenanceInfo
- the maintenance info- Returns:
- the builder
- See Also:
-
build
Construct aUpdateServiceInstanceRequest.PreviousValues
from the provided values.- Returns:
- the newly constructed PreviousValues
-