public class RpBuilder extends Object implements org.opendaylight.yangtools.concepts.Builder<Rp>
RpBuilder 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:
RpBuilder createTarget(int fooXyzzy, int barBaz) {
return new RpBuilderBuilder()
.setFoo(new FooBuilder().setXyzzy(fooXyzzy).build())
.setBar(new BarBuilder().setBaz(barBaz).build())
.build();
}
This pattern is supported by the immutable nature of RpBuilder, 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 methodRpBuilder,
Builder| Constructor and Description |
|---|
RpBuilder() |
RpBuilder(Object arg) |
RpBuilder(ObjectHeader arg) |
RpBuilder(Rp base) |
public RpBuilder()
public RpBuilder(Object arg)
public RpBuilder(ObjectHeader arg)
public RpBuilder(Rp base)
public void fieldsFrom(org.opendaylight.yangtools.yang.binding.DataObject arg)
arg - grouping objectIllegalArgumentException - if given argument is none of valid typespublic Short getPriority()
public RequestId getRequestId()
public Tlvs getTlvs()
public Boolean isBiDirectional()
public Boolean isEroCompression()
public Boolean isFragmentation()
public Boolean isIgnore()
public Boolean isLoose()
public Boolean isMakeBeforeBreak()
public Boolean isOrder()
public Boolean isP2mp()
public Boolean isPathKey()
public Boolean isProcessingRule()
public Boolean isReoptimization()
public Boolean isSupplyOf()
public <E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<Rp>> E$$ augmentation(Class<E$$> augmentationType)
public RpBuilder addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<Rp>> augmentationType, org.opendaylight.yangtools.yang.binding.Augmentation<Rp> augmentationValue)
public RpBuilder removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<Rp>> augmentationType)
public Rp build()
build in interface org.opendaylight.yangtools.concepts.CheckedBuilder<Rp,IllegalArgumentException>Copyright © 2020 OpenDaylight. All rights reserved.