Class MethodSchema.MethodSchemaBuilder
java.lang.Object
org.springframework.cloud.servicebroker.model.catalog.MethodSchema.MethodSchemaBuilder
- Enclosing class:
- MethodSchema
Provides a fluent API for constructing a MethodSchema.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Construct aMethodSchema
from the provided values.parameters
(String key, Object value) A key/value pair to add to the JSON schema configuration parameters.parameters
(Map<String, Object> parameters) A map of JSON schema for configuration parameters.
-
Method Details
-
parameters
A map of JSON schema for configuration parameters.- Parameters:
parameters
- the configuration parameters- Returns:
- the builder instance
-
parameters
A key/value pair to add to the JSON schema configuration parameters.- Parameters:
key
- the unique keyvalue
- the value- Returns:
- the builder instance
-
build
Construct aMethodSchema
from the provided values.- Returns:
- the newly constructed MethodSchema
-