public static final class SchemaOptions.Builder
extends java.lang.Object
SchemaOptions
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SchemaOptions |
build()
Builds the configured instance.
|
SchemaOptions.Builder |
filePath(java.lang.String filePath)
Sets the value of
SchemaOptions.getFilePath() |
public SchemaOptions.Builder filePath(java.lang.String filePath)
SchemaOptions.getFilePath()
filePath
- The file path for the schema.
When this option is
configured, then the schema will be generated from an
existing file from disk.this
public SchemaOptions build()
SchemaOptions
java.lang.NullPointerException
- if any required attribute was not provided