Modifier and Type | Method and Description |
---|---|
Schema |
build()
Builds the Schema instance.
|
Schema.Builder |
reference(Reference reference)
Sets the schema reference.
|
Schema.Builder |
schema(JsonValue schema)
Sets the schema.
|
Schema.Builder |
schema(String key,
Object value)
Sets the schema by json key-value pairs.
|
Schema.Builder |
type(Class<?> type)
Sets the schema.
|
public Schema.Builder reference(Reference reference)
reference
- The reference.public Schema.Builder schema(JsonValue schema)
schema
- The schema.public Schema.Builder schema(String key, Object value)
key
- json parameter namevalue
- json parametr valuepublic Schema.Builder type(Class<?> type)
type
- The type to derive the schema from.public Schema build()
Copyright © 2010-2018, ForgeRock All Rights Reserved.