public class QosEntriesBuilder extends Object implements org.opendaylight.yangtools.concepts.Builder<QosEntries>
QosEntriesBuilder
instances. Overall design of the class is that of a
fluent interface, where method chaining is used.
In general, this class is supposed to be used like this template:
QosEntriesBuilder createTarget(int fooXyzzy, int barBaz) {
return new QosEntriesBuilderBuilder()
.setFoo(new FooBuilder().setXyzzy(fooXyzzy).build())
.setBar(new BarBuilder().setBaz(barBaz).build())
.build();
}
This pattern is supported by the immutable nature of QosEntriesBuilder, as instances can be freely passed around without worrying about synchronization issues.
As a side note: method chaining results in:
build()
, which is then returned from the methodQosEntriesBuilder
,
Builder
Constructor and Description |
---|
QosEntriesBuilder() |
QosEntriesBuilder(QosEntries base) |
Modifier and Type | Method and Description |
---|---|
QosEntriesBuilder |
addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<QosEntries>> augmentationType,
org.opendaylight.yangtools.yang.binding.Augmentation<QosEntries> augmentationValue) |
<E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<QosEntries>> |
augmentation(Class<E$$> augmentationType) |
QosEntries |
build() |
List<QosExternalIds> |
getQosExternalIds() |
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Uri |
getQosId() |
List<QosOtherConfig> |
getQosOtherConfig() |
Class<? extends QosTypeBase> |
getQosType() |
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid |
getQosUuid() |
List<QueueList> |
getQueueList() |
QosEntriesKey |
key() |
QosEntriesBuilder |
removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<QosEntries>> augmentationType) |
QosEntriesBuilder |
setQosExternalIds(List<QosExternalIds> values) |
QosEntriesBuilder |
setQosId(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Uri value) |
QosEntriesBuilder |
setQosOtherConfig(List<QosOtherConfig> values) |
QosEntriesBuilder |
setQosType(Class<? extends QosTypeBase> value) |
QosEntriesBuilder |
setQosUuid(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid value) |
QosEntriesBuilder |
setQueueList(List<QueueList> values) |
QosEntriesBuilder |
withKey(QosEntriesKey key) |
public QosEntriesBuilder()
public QosEntriesBuilder(QosEntries base)
public QosEntriesKey key()
public List<QosExternalIds> getQosExternalIds()
public org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Uri getQosId()
public List<QosOtherConfig> getQosOtherConfig()
public Class<? extends QosTypeBase> getQosType()
public org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid getQosUuid()
public <E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<QosEntries>> E$$ augmentation(Class<E$$> augmentationType)
public QosEntriesBuilder withKey(QosEntriesKey key)
public QosEntriesBuilder setQosExternalIds(List<QosExternalIds> values)
public QosEntriesBuilder setQosId(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Uri value)
public QosEntriesBuilder setQosOtherConfig(List<QosOtherConfig> values)
public QosEntriesBuilder setQosType(Class<? extends QosTypeBase> value)
public QosEntriesBuilder setQosUuid(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid value)
public QosEntriesBuilder setQueueList(List<QueueList> values)
public QosEntriesBuilder addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<QosEntries>> augmentationType, org.opendaylight.yangtools.yang.binding.Augmentation<QosEntries> augmentationValue)
public QosEntriesBuilder removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<QosEntries>> augmentationType)
public QosEntries build()
build
in interface org.opendaylight.yangtools.concepts.CheckedBuilder<QosEntries,IllegalArgumentException>
Copyright © 2019 OpenDaylight. All rights reserved.