@ParametersAreNonnullByDefault @Generated(value={"Immutables.generator","org.opendaylight.yangtools.yang.model.api.type.BitsTypeDefinition.Bit"}) @NotThreadSafe public final class BitBuilder extends Object
Constructor and Description |
---|
BitBuilder()
Creates a builder for
Bit instances. |
Modifier and Type | Method and Description |
---|---|
BitsTypeDefinition.Bit |
build()
Builds a new
Bit . |
BitBuilder |
name(String name)
Initializes the value for the
name attribute. |
BitBuilder |
path(SchemaPath path)
Initializes the value for the
path attribute. |
BitBuilder |
position(long position)
Initializes the value for the
position attribute. |
BitBuilder |
qName(QName qName)
Initializes the value for the
qName attribute. |
BitBuilder |
status(Status status)
Initializes the value for the
status attribute. |
public BitBuilder()
Bit
instances.public final BitBuilder name(String name)
name
attribute.name
- The value for namethis
builder for use in a chained invocationpublic final BitBuilder position(long position)
position
attribute.position
- The value for positionthis
builder for use in a chained invocationpublic final BitBuilder qName(QName qName)
qName
attribute.qName
- The value for qNamethis
builder for use in a chained invocationpublic final BitBuilder path(SchemaPath path)
path
attribute.path
- The value for paththis
builder for use in a chained invocationpublic final BitBuilder status(Status status)
status
attribute.status
- The value for statusthis
builder for use in a chained invocationpublic BitsTypeDefinition.Bit build()
Bit
.IllegalStateException
- if any required attributes are missingCopyright © 2018 OpenDaylight. All rights reserved.