public static final class SchemaResult.Builder
extends java.lang.Object
SchemaResult
.Constructor and Description |
---|
Builder(java.lang.String schema)
Constructor with parameters for the required properties of
SchemaResult . |
Modifier and Type | Method and Description |
---|---|
SchemaResult |
build() |
SchemaResult.Builder |
setReferenceHost(ReferenceHostInfo referenceHost)
If the source of this schema was a reference, this field will be populated with
the current status of the host.
|
SchemaResult.Builder |
setSource(SchemaResult.Source source)
The source of this schema.
|
public Builder(java.lang.String schema)
SchemaResult
.public SchemaResult.Builder setSource(SchemaResult.Source source)
source
- New value for the property.public SchemaResult.Builder setReferenceHost(ReferenceHostInfo referenceHost)
getSource()
is SchemaResult.Source.HOST
.referenceHost
- New value for the property.public SchemaResult build()