public class NxActionCtMarkCaseBuilder extends Object implements org.opendaylight.yangtools.concepts.Builder<NxActionCtMarkCase>
NxActionCtMarkCaseBuilder 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:
NxActionCtMarkCaseBuilder createTarget(int fooXyzzy, int barBaz) {
return new NxActionCtMarkCaseBuilderBuilder()
.setFoo(new FooBuilder().setXyzzy(fooXyzzy).build())
.setBar(new BarBuilder().setBaz(barBaz).build())
.build();
}
This pattern is supported by the immutable nature of NxActionCtMarkCaseBuilder, 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 methodNxActionCtMarkCaseBuilder,
Builder| Constructor and Description |
|---|
NxActionCtMarkCaseBuilder() |
NxActionCtMarkCaseBuilder(NxActionCtMarkCase base) |
| Modifier and Type | Method and Description |
|---|---|
NxActionCtMarkCaseBuilder |
addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<NxActionCtMarkCase>> augmentationType,
org.opendaylight.yangtools.yang.binding.Augmentation<NxActionCtMarkCase> augmentationValue) |
<E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<NxActionCtMarkCase>> |
augmentation(Class<E$$> augmentationType) |
NxActionCtMarkCase |
build() |
NxActionCtMark |
getNxActionCtMark() |
NxActionCtMarkCaseBuilder |
removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<NxActionCtMarkCase>> augmentationType) |
NxActionCtMarkCaseBuilder |
setNxActionCtMark(NxActionCtMark value) |
public NxActionCtMarkCaseBuilder()
public NxActionCtMarkCaseBuilder(NxActionCtMarkCase base)
public NxActionCtMark getNxActionCtMark()
public <E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<NxActionCtMarkCase>> E$$ augmentation(Class<E$$> augmentationType)
public NxActionCtMarkCaseBuilder setNxActionCtMark(NxActionCtMark value)
public NxActionCtMarkCaseBuilder addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<NxActionCtMarkCase>> augmentationType, org.opendaylight.yangtools.yang.binding.Augmentation<NxActionCtMarkCase> augmentationValue)
public NxActionCtMarkCaseBuilder removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<NxActionCtMarkCase>> augmentationType)
public NxActionCtMarkCase build()
build in interface org.opendaylight.yangtools.concepts.CheckedBuilder<NxActionCtMarkCase,IllegalArgumentException>Copyright © 2019 OpenDaylight. All rights reserved.