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