public class PcmonrepBuilder extends Object implements org.opendaylight.yangtools.concepts.Builder<Pcmonrep>
PcmonrepBuilder 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:
PcmonrepBuilder createTarget(int fooXyzzy, int barBaz) {
return new PcmonrepBuilderBuilder()
.setFoo(new FooBuilder().setXyzzy(fooXyzzy).build())
.setBar(new BarBuilder().setBaz(barBaz).build())
.build();
}
This pattern is supported by the immutable nature of PcmonrepBuilder, 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 methodPcmonrepBuilder,
Builder| Constructor and Description |
|---|
PcmonrepBuilder() |
PcmonrepBuilder(Message arg) |
PcmonrepBuilder(Pcmonrep base) |
PcmonrepBuilder(PcmonrepMessage arg) |
| Modifier and Type | Method and Description |
|---|---|
PcmonrepBuilder |
addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<Pcmonrep>> augmentationType,
org.opendaylight.yangtools.yang.binding.Augmentation<Pcmonrep> augmentationValue) |
<E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<Pcmonrep>> |
augmentation(Class<E$$> augmentationType) |
Pcmonrep |
build() |
void |
fieldsFrom(org.opendaylight.yangtools.yang.binding.DataObject arg)
Set fields from given grouping argument.
|
PcmonrepMessage |
getPcmonrepMessage() |
PcmonrepBuilder |
removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<Pcmonrep>> augmentationType) |
PcmonrepBuilder |
setPcmonrepMessage(PcmonrepMessage value) |
public PcmonrepBuilder()
public PcmonrepBuilder(PcmonrepMessage arg)
public PcmonrepBuilder(Message arg)
public PcmonrepBuilder(Pcmonrep base)
public void fieldsFrom(org.opendaylight.yangtools.yang.binding.DataObject arg)
arg - grouping objectIllegalArgumentException - if given argument is none of valid typespublic PcmonrepMessage getPcmonrepMessage()
public <E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<Pcmonrep>> E$$ augmentation(Class<E$$> augmentationType)
public PcmonrepBuilder setPcmonrepMessage(PcmonrepMessage value)
public PcmonrepBuilder addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<Pcmonrep>> augmentationType, org.opendaylight.yangtools.yang.binding.Augmentation<Pcmonrep> augmentationValue)
public PcmonrepBuilder removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<Pcmonrep>> augmentationType)
public Pcmonrep build()
build in interface org.opendaylight.yangtools.concepts.CheckedBuilder<Pcmonrep,IllegalArgumentException>Copyright © 2020 OpenDaylight. All rights reserved.