public static class Schema.Validation extends Object
Schema.createCollection(String, CreateCollectionOptions)
or
Schema.modifyCollection(String, ModifyCollectionOptions)
.
Allowed options are:
Schema.Validation.ValidationLevel
Modifier and Type | Class and Description |
---|---|
static class |
Schema.Validation.ValidationLevel
Defines how validation options are applied.
|
Modifier and Type | Field and Description |
---|---|
private Schema.Validation.ValidationLevel |
level |
private String |
schema |
Constructor and Description |
---|
Validation() |
Modifier and Type | Method and Description |
---|---|
Schema.Validation.ValidationLevel |
getLevel() |
String |
getSchema() |
Schema.Validation |
setLevel(Schema.Validation.ValidationLevel level) |
Schema.Validation |
setSchema(String schema) |
private Schema.Validation.ValidationLevel level
private String schema
public Schema.Validation setLevel(Schema.Validation.ValidationLevel level)
public Schema.Validation.ValidationLevel getLevel()
public Schema.Validation setSchema(String schema)
public String getSchema()