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