Class ServiceInstanceSchema.ServiceInstanceSchemaBuilder
java.lang.Object
org.springframework.cloud.servicebroker.model.catalog.ServiceInstanceSchema.ServiceInstanceSchemaBuilder
- Enclosing class:
- ServiceInstanceSchema
Provides a fluent API for constructing a ServiceInstanceSchema.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Construct aServiceInstanceSchema
from the provided values.createMethodSchema
(MethodSchema createMethodSchema) The JSON schema for configuration parameters when creating a service instance.updateMethodSchema
(MethodSchema updateMethodSchema) The JSON schema for configuration parameters when updating a service instance.
-
Method Details
-
createMethodSchema
public ServiceInstanceSchema.ServiceInstanceSchemaBuilder createMethodSchema(MethodSchema createMethodSchema) The JSON schema for configuration parameters when creating a service instance.- Parameters:
createMethodSchema
- the schema- Returns:
- the binder instance
-
updateMethodSchema
public ServiceInstanceSchema.ServiceInstanceSchemaBuilder updateMethodSchema(MethodSchema updateMethodSchema) The JSON schema for configuration parameters when updating a service instance.- Parameters:
updateMethodSchema
- the schema- Returns:
- the binder instance
-
build
Construct aServiceInstanceSchema
from the provided values.- Returns:
- the newly constructed ServiceInstanceSchema
-