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