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