public class NxActionConntrackNodesNodeGroupBucketsBucketActionsCaseBuilder extends Object implements org.opendaylight.yangtools.concepts.Builder<NxActionConntrackNodesNodeGroupBucketsBucketActionsCase>
NxActionConntrackNodesNodeGroupBucketsBucketActionsCaseBuilder
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:
NxActionConntrackNodesNodeGroupBucketsBucketActionsCaseBuilder createTarget(int fooXyzzy, int barBaz) {
return new NxActionConntrackNodesNodeGroupBucketsBucketActionsCaseBuilderBuilder()
.setFoo(new FooBuilder().setXyzzy(fooXyzzy).build())
.setBar(new BarBuilder().setBaz(barBaz).build())
.build();
}
This pattern is supported by the immutable nature of NxActionConntrackNodesNodeGroupBucketsBucketActionsCaseBuilder, 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 methodNxActionConntrackNodesNodeGroupBucketsBucketActionsCaseBuilder
,
Builder
public NxActionConntrackNodesNodeGroupBucketsBucketActionsCaseBuilder()
public NxActionConntrackNodesNodeGroupBucketsBucketActionsCaseBuilder(NxActionConntrackGrouping arg)
public NxActionConntrackNodesNodeGroupBucketsBucketActionsCaseBuilder(NxActionConntrackNodesNodeGroupBucketsBucketActionsCase base)
public void fieldsFrom(org.opendaylight.yangtools.yang.binding.DataObject arg)
arg
- grouping objectIllegalArgumentException
- if given argument is none of valid typespublic NxConntrack getNxConntrack()
public <E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<NxActionConntrackNodesNodeGroupBucketsBucketActionsCase>> E$$ augmentation(Class<E$$> augmentationType)
public NxActionConntrackNodesNodeGroupBucketsBucketActionsCaseBuilder setNxConntrack(NxConntrack value)
public NxActionConntrackNodesNodeGroupBucketsBucketActionsCaseBuilder addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<NxActionConntrackNodesNodeGroupBucketsBucketActionsCase>> augmentationType, org.opendaylight.yangtools.yang.binding.Augmentation<NxActionConntrackNodesNodeGroupBucketsBucketActionsCase> augmentationValue)
public NxActionConntrackNodesNodeGroupBucketsBucketActionsCaseBuilder removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<NxActionConntrackNodesNodeGroupBucketsBucketActionsCase>> augmentationType)
public NxActionConntrackNodesNodeGroupBucketsBucketActionsCase build()
build
in interface org.opendaylight.yangtools.concepts.CheckedBuilder<NxActionConntrackNodesNodeGroupBucketsBucketActionsCase,IllegalArgumentException>
Copyright © 2020 OpenDaylight. All rights reserved.