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