public class GeneralAugMatchRpcRemoveFlowWriteActionsSetFieldBuilder extends Object implements org.opendaylight.yangtools.concepts.Builder<GeneralAugMatchRpcRemoveFlowWriteActionsSetField>
GeneralAugMatchRpcRemoveFlowWriteActionsSetFieldBuilder
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:
GeneralAugMatchRpcRemoveFlowWriteActionsSetFieldBuilder createTarget(int fooXyzzy, int barBaz) {
return new GeneralAugMatchRpcRemoveFlowWriteActionsSetFieldBuilderBuilder()
.setFoo(new FooBuilder().setXyzzy(fooXyzzy).build())
.setBar(new BarBuilder().setBaz(barBaz).build())
.build();
}
This pattern is supported by the immutable nature of GeneralAugMatchRpcRemoveFlowWriteActionsSetFieldBuilder, 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 methodGeneralAugMatchRpcRemoveFlowWriteActionsSetFieldBuilder
,
Builder
Modifier and Type | Method and Description |
---|---|
GeneralAugMatchRpcRemoveFlowWriteActionsSetField |
build() |
void |
fieldsFrom(org.opendaylight.yangtools.yang.binding.DataObject arg)
Set fields from given grouping argument.
|
List<ExtensionList> |
getExtensionList() |
GeneralAugMatchRpcRemoveFlowWriteActionsSetFieldBuilder |
setExtensionList(List<ExtensionList> values) |
public GeneralAugMatchRpcRemoveFlowWriteActionsSetFieldBuilder()
public GeneralAugMatchRpcRemoveFlowWriteActionsSetFieldBuilder(GeneralExtensionListGrouping arg)
public GeneralAugMatchRpcRemoveFlowWriteActionsSetFieldBuilder(GeneralAugMatchRpcRemoveFlowWriteActionsSetField base)
public void fieldsFrom(org.opendaylight.yangtools.yang.binding.DataObject arg)
arg
- grouping objectIllegalArgumentException
- if given argument is none of valid typespublic List<ExtensionList> getExtensionList()
public GeneralAugMatchRpcRemoveFlowWriteActionsSetFieldBuilder setExtensionList(List<ExtensionList> values)
public GeneralAugMatchRpcRemoveFlowWriteActionsSetField build()
build
in interface org.opendaylight.yangtools.concepts.CheckedBuilder<GeneralAugMatchRpcRemoveFlowWriteActionsSetField,IllegalArgumentException>
Copyright © 2020 OpenDaylight. All rights reserved.