public static final class MethodSchema.MethodSchemaBuilder extends Object
Modifier and Type | Method and Description |
---|---|
MethodSchema |
build()
Construct a
MethodSchema from the provided values. |
MethodSchema.MethodSchemaBuilder |
parameters(Map<String,Object> parameters)
A map of JSON schema for configuration parameters.
|
MethodSchema.MethodSchemaBuilder |
parameters(String key,
Object value)
A key/value pair to add to the JSON schema configuration parameters
|
public MethodSchema.MethodSchemaBuilder parameters(Map<String,Object> parameters)
parameters
- the configuration parameterspublic MethodSchema.MethodSchemaBuilder parameters(String key, Object value)
key
- the unique keyvalue
- the valuepublic MethodSchema build()
MethodSchema
from the provided values.