@ParametersAreNonnullByDefault @Generated(value={"Immutables.generator","org.opendaylight.yangtools.yang.model.api.LeafSchemaNode"}) @NotThreadSafe public final class LeafSchemaNodeBuilder extends Object
LeafSchemaNode.
Initialize attributes and then invoke the build() method to create an
immutable instance.
LeafSchemaNodeBuilder is not thread-safe and generally should not be stored in a field or collection,
but instead used immediately to create instances.
| Constructor and Description |
|---|
LeafSchemaNodeBuilder()
Creates a builder for
LeafSchemaNode instances. |
| Modifier and Type | Method and Description |
|---|---|
LeafSchemaNode |
build()
Builds a new
LeafSchemaNode. |
LeafSchemaNodeBuilder |
constraints(ConstraintDefinition constraints)
Initializes the value for the
constraints attribute. |
LeafSchemaNodeBuilder |
getDefault(String getDefault)
Initializes the value for the
default attribute. |
LeafSchemaNodeBuilder |
isAddedByUses(boolean isAddedByUses)
Initializes the value for the
isAddedByUses attribute. |
LeafSchemaNodeBuilder |
isAugmenting(boolean isAugmenting)
Initializes the value for the
isAugmenting attribute. |
LeafSchemaNodeBuilder |
isConfiguration(boolean isConfiguration)
Initializes the value for the
isConfiguration attribute. |
LeafSchemaNodeBuilder |
path(SchemaPath path)
Initializes the value for the
path attribute. |
LeafSchemaNodeBuilder |
qName(QName qName)
Initializes the value for the
qName attribute. |
LeafSchemaNodeBuilder |
status(Status status)
Initializes the value for the
status attribute. |
LeafSchemaNodeBuilder |
type(TypeDefinition<? extends TypeDefinition<?>> type)
Initializes the value for the
type attribute. |
LeafSchemaNodeBuilder |
units(String units)
Initializes the value for the
units attribute. |
public LeafSchemaNodeBuilder()
LeafSchemaNode instances.public final LeafSchemaNodeBuilder getDefault(String getDefault)
default attribute.getDefault - The value for getDefaultthis builder for use in a chained invocationpublic final LeafSchemaNodeBuilder units(String units)
units attribute.units - The value for unitsthis builder for use in a chained invocationpublic final LeafSchemaNodeBuilder type(TypeDefinition<? extends TypeDefinition<?>> type)
type attribute.type - The value for typethis builder for use in a chained invocationpublic final LeafSchemaNodeBuilder isAugmenting(boolean isAugmenting)
isAugmenting attribute.isAugmenting - The value for isAugmentingthis builder for use in a chained invocationpublic final LeafSchemaNodeBuilder isAddedByUses(boolean isAddedByUses)
isAddedByUses attribute.isAddedByUses - The value for isAddedByUsesthis builder for use in a chained invocationpublic final LeafSchemaNodeBuilder isConfiguration(boolean isConfiguration)
isConfiguration attribute.isConfiguration - The value for isConfigurationthis builder for use in a chained invocationpublic final LeafSchemaNodeBuilder constraints(ConstraintDefinition constraints)
constraints attribute.constraints - The value for constraintsthis builder for use in a chained invocationpublic final LeafSchemaNodeBuilder qName(QName qName)
qName attribute.qName - The value for qNamethis builder for use in a chained invocationpublic final LeafSchemaNodeBuilder path(SchemaPath path)
path attribute.path - The value for paththis builder for use in a chained invocationpublic final LeafSchemaNodeBuilder status(Status status)
status attribute.status - The value for statusthis builder for use in a chained invocationpublic LeafSchemaNode build()
LeafSchemaNode.IllegalStateException - if any required attributes are missingCopyright © 2018 OpenDaylight. All rights reserved.