public static class DataModelField.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(String label)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
DataModelField |
build()
Builds a DataModelField.
|
DataModelField.Builder |
classification(String classification)
Set the classification.
|
DataModelField.Builder |
description(String description)
Set the description.
|
DataModelField.Builder |
indexed(Boolean indexed)
Set the indexed.
|
DataModelField.Builder |
label(String label)
Set the label.
|
public Builder()
public Builder(String label)
label
- the labelpublic DataModelField build()
public DataModelField.Builder indexed(Boolean indexed)
indexed
- the indexedpublic DataModelField.Builder classification(String classification)
classification
- the classificationpublic DataModelField.Builder description(String description)
description
- the descriptionpublic DataModelField.Builder label(String label)
label
- the labelCopyright © 2021 IBM Cloud. All rights reserved.