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