@ParametersAreNonnullByDefault @Generated(value={"Immutables.generator","org.opendaylight.yangtools.yang.model.api.LeafListSchemaNode"}) @NotThreadSafe public final class LeafListSchemaNodeBuilder extends Object
LeafListSchemaNode.
Initialize attributes and then invoke the build() method to create an
immutable instance.
LeafListSchemaNodeBuilder 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 |
|---|
LeafListSchemaNodeBuilder()
Creates a builder for
LeafListSchemaNode instances. |
| Modifier and Type | Method and Description |
|---|---|
LeafListSchemaNode |
build()
Builds a new
LeafListSchemaNode. |
LeafListSchemaNodeBuilder |
constraints(ConstraintDefinition constraints)
Initializes the value for the
constraints attribute. |
LeafListSchemaNodeBuilder |
isAddedByUses(boolean isAddedByUses)
Initializes the value for the
isAddedByUses attribute. |
LeafListSchemaNodeBuilder |
isAugmenting(boolean isAugmenting)
Initializes the value for the
isAugmenting attribute. |
LeafListSchemaNodeBuilder |
isConfiguration(boolean isConfiguration)
Initializes the value for the
isConfiguration attribute. |
LeafListSchemaNodeBuilder |
isUserOrdered(boolean isUserOrdered)
Initializes the value for the
isUserOrdered attribute. |
LeafListSchemaNodeBuilder |
path(SchemaPath path)
Initializes the value for the
path attribute. |
LeafListSchemaNodeBuilder |
qName(QName qName)
Initializes the value for the
qName attribute. |
LeafListSchemaNodeBuilder |
status(Status status)
Initializes the value for the
status attribute. |
LeafListSchemaNodeBuilder |
type(TypeDefinition<? extends TypeDefinition<?>> type)
Initializes the value for the
type attribute. |
public LeafListSchemaNodeBuilder()
LeafListSchemaNode instances.public final LeafListSchemaNodeBuilder isUserOrdered(boolean isUserOrdered)
isUserOrdered attribute.isUserOrdered - The value for isUserOrderedthis builder for use in a chained invocationpublic final LeafListSchemaNodeBuilder type(TypeDefinition<? extends TypeDefinition<?>> type)
type attribute.type - The value for typethis builder for use in a chained invocationpublic final LeafListSchemaNodeBuilder isAugmenting(boolean isAugmenting)
isAugmenting attribute.isAugmenting - The value for isAugmentingthis builder for use in a chained invocationpublic final LeafListSchemaNodeBuilder isAddedByUses(boolean isAddedByUses)
isAddedByUses attribute.isAddedByUses - The value for isAddedByUsesthis builder for use in a chained invocationpublic final LeafListSchemaNodeBuilder isConfiguration(boolean isConfiguration)
isConfiguration attribute.isConfiguration - The value for isConfigurationthis builder for use in a chained invocationpublic final LeafListSchemaNodeBuilder constraints(ConstraintDefinition constraints)
constraints attribute.constraints - The value for constraintsthis builder for use in a chained invocationpublic final LeafListSchemaNodeBuilder qName(QName qName)
qName attribute.qName - The value for qNamethis builder for use in a chained invocationpublic final LeafListSchemaNodeBuilder path(SchemaPath path)
path attribute.path - The value for paththis builder for use in a chained invocationpublic final LeafListSchemaNodeBuilder status(Status status)
status attribute.status - The value for statusthis builder for use in a chained invocationpublic LeafListSchemaNode build()
LeafListSchemaNode.IllegalStateException - if any required attributes are missingCopyright © 2018 OpenDaylight. All rights reserved.