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