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