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