public class NxActionConntrackRpcUpdateFlowUpdatedApplyActionsCaseBuilder extends Object implements org.opendaylight.yangtools.concepts.Builder<NxActionConntrackRpcUpdateFlowUpdatedApplyActionsCase>
NxActionConntrackRpcUpdateFlowUpdatedApplyActionsCaseBuilder
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:
NxActionConntrackRpcUpdateFlowUpdatedApplyActionsCaseBuilder createTarget(int fooXyzzy, int barBaz) {
return new NxActionConntrackRpcUpdateFlowUpdatedApplyActionsCaseBuilderBuilder()
.setFoo(new FooBuilder().setXyzzy(fooXyzzy).build())
.setBar(new BarBuilder().setBaz(barBaz).build())
.build();
}
This pattern is supported by the immutable nature of NxActionConntrackRpcUpdateFlowUpdatedApplyActionsCaseBuilder, 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 methodNxActionConntrackRpcUpdateFlowUpdatedApplyActionsCaseBuilder
,
Builder
public NxActionConntrackRpcUpdateFlowUpdatedApplyActionsCaseBuilder()
public NxActionConntrackRpcUpdateFlowUpdatedApplyActionsCaseBuilder(NxActionConntrackGrouping arg)
public NxActionConntrackRpcUpdateFlowUpdatedApplyActionsCaseBuilder(NxActionConntrackRpcUpdateFlowUpdatedApplyActionsCase 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<NxActionConntrackRpcUpdateFlowUpdatedApplyActionsCase>> E$$ augmentation(Class<E$$> augmentationType)
public NxActionConntrackRpcUpdateFlowUpdatedApplyActionsCaseBuilder setNxConntrack(NxConntrack value)
public NxActionConntrackRpcUpdateFlowUpdatedApplyActionsCaseBuilder addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<NxActionConntrackRpcUpdateFlowUpdatedApplyActionsCase>> augmentationType, org.opendaylight.yangtools.yang.binding.Augmentation<NxActionConntrackRpcUpdateFlowUpdatedApplyActionsCase> augmentationValue)
public NxActionConntrackRpcUpdateFlowUpdatedApplyActionsCaseBuilder removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<NxActionConntrackRpcUpdateFlowUpdatedApplyActionsCase>> augmentationType)
public NxActionConntrackRpcUpdateFlowUpdatedApplyActionsCase build()
build
in interface org.opendaylight.yangtools.concepts.CheckedBuilder<NxActionConntrackRpcUpdateFlowUpdatedApplyActionsCase,IllegalArgumentException>
Copyright © 2020 OpenDaylight. All rights reserved.