public class ServiceBindingNxActionResubmitWriteActionsCaseBuilder extends Object implements org.opendaylight.yangtools.concepts.Builder<ServiceBindingNxActionResubmitWriteActionsCase>
ServiceBindingNxActionResubmitWriteActionsCaseBuilder
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:
ServiceBindingNxActionResubmitWriteActionsCaseBuilder createTarget(int fooXyzzy, int barBaz) {
return new ServiceBindingNxActionResubmitWriteActionsCaseBuilderBuilder()
.setFoo(new FooBuilder().setXyzzy(fooXyzzy).build())
.setBar(new BarBuilder().setBaz(barBaz).build())
.build();
}
This pattern is supported by the immutable nature of ServiceBindingNxActionResubmitWriteActionsCaseBuilder, 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 methodServiceBindingNxActionResubmitWriteActionsCaseBuilder
,
Builder
Constructor and Description |
---|
ServiceBindingNxActionResubmitWriteActionsCaseBuilder() |
ServiceBindingNxActionResubmitWriteActionsCaseBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.nicira.action.rev140714.NxActionResubmitGrouping arg) |
ServiceBindingNxActionResubmitWriteActionsCaseBuilder(ServiceBindingNxActionResubmitWriteActionsCase base) |
Modifier and Type | Method and Description |
---|---|
ServiceBindingNxActionResubmitWriteActionsCaseBuilder |
addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<ServiceBindingNxActionResubmitWriteActionsCase>> augmentationType,
org.opendaylight.yangtools.yang.binding.Augmentation<ServiceBindingNxActionResubmitWriteActionsCase> augmentationValue) |
<E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<ServiceBindingNxActionResubmitWriteActionsCase>> |
augmentation(Class<E$$> augmentationType) |
ServiceBindingNxActionResubmitWriteActionsCase |
build() |
void |
fieldsFrom(org.opendaylight.yangtools.yang.binding.DataObject arg)
Set fields from given grouping argument.
|
org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.nicira.action.rev140714.nx.action.resubmit.grouping.NxResubmit |
getNxResubmit() |
ServiceBindingNxActionResubmitWriteActionsCaseBuilder |
removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<ServiceBindingNxActionResubmitWriteActionsCase>> augmentationType) |
ServiceBindingNxActionResubmitWriteActionsCaseBuilder |
setNxResubmit(org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.nicira.action.rev140714.nx.action.resubmit.grouping.NxResubmit value) |
public ServiceBindingNxActionResubmitWriteActionsCaseBuilder()
public ServiceBindingNxActionResubmitWriteActionsCaseBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.nicira.action.rev140714.NxActionResubmitGrouping arg)
public ServiceBindingNxActionResubmitWriteActionsCaseBuilder(ServiceBindingNxActionResubmitWriteActionsCase base)
public void fieldsFrom(org.opendaylight.yangtools.yang.binding.DataObject arg)
arg
- grouping objectIllegalArgumentException
- if given argument is none of valid typespublic org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.nicira.action.rev140714.nx.action.resubmit.grouping.NxResubmit getNxResubmit()
public <E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<ServiceBindingNxActionResubmitWriteActionsCase>> E$$ augmentation(Class<E$$> augmentationType)
public ServiceBindingNxActionResubmitWriteActionsCaseBuilder setNxResubmit(org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.nicira.action.rev140714.nx.action.resubmit.grouping.NxResubmit value)
public ServiceBindingNxActionResubmitWriteActionsCaseBuilder addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<ServiceBindingNxActionResubmitWriteActionsCase>> augmentationType, org.opendaylight.yangtools.yang.binding.Augmentation<ServiceBindingNxActionResubmitWriteActionsCase> augmentationValue)
public ServiceBindingNxActionResubmitWriteActionsCaseBuilder removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<ServiceBindingNxActionResubmitWriteActionsCase>> augmentationType)
public ServiceBindingNxActionResubmitWriteActionsCase build()
build
in interface org.opendaylight.yangtools.concepts.CheckedBuilder<ServiceBindingNxActionResubmitWriteActionsCase,IllegalArgumentException>
Copyright © 2019 OpenDaylight. All rights reserved.