public static class JsonSchemaProperty.JsonSchemaPropertyBuilder extends Object
IdentifiableJsonSchemaProperty.| Modifier and Type | Method and Description |
|---|---|
IdentifiableJsonSchemaProperty<TypedJsonSchemaObject> |
ofType(Class<?> type)
Configure the
Type for the property by deriving it from the given type. |
IdentifiableJsonSchemaProperty<TypedJsonSchemaObject> |
ofType(JsonSchemaObject.Type type)
Configure a
Type for the property. |
IdentifiableJsonSchemaProperty<TypedJsonSchemaObject> |
with(TypedJsonSchemaObject schemaObject)
Configure a
TypedJsonSchemaObject for the property. |
IdentifiableJsonSchemaProperty<UntypedJsonSchemaObject> |
withoutType() |
public IdentifiableJsonSchemaProperty<TypedJsonSchemaObject> ofType(JsonSchemaObject.Type type)
Type for the property.type - must not be null.IdentifiableJsonSchemaProperty.public IdentifiableJsonSchemaProperty<TypedJsonSchemaObject> ofType(@Nullable Class<?> type)
Type for the property by deriving it from the given type.type - must not be null.IdentifiableJsonSchemaProperty.public IdentifiableJsonSchemaProperty<TypedJsonSchemaObject> with(TypedJsonSchemaObject schemaObject)
TypedJsonSchemaObject for the property.schemaObject - must not be null.IdentifiableJsonSchemaProperty.public IdentifiableJsonSchemaProperty<UntypedJsonSchemaObject> withoutType()
IdentifiableJsonSchemaProperty.Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.