public class NxActionConntrackBuilder extends Object implements org.opendaylight.yangtools.concepts.Builder<NxActionConntrack>
NxActionConntrackBuilder
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:
NxActionConntrackBuilder createTarget(int fooXyzzy, int barBaz) {
return new NxActionConntrackBuilderBuilder()
.setFoo(new FooBuilder().setXyzzy(fooXyzzy).build())
.setBar(new BarBuilder().setBaz(barBaz).build())
.build();
}
This pattern is supported by the immutable nature of NxActionConntrackBuilder, 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 methodNxActionConntrackBuilder
,
Builder
Constructor and Description |
---|
NxActionConntrackBuilder() |
NxActionConntrackBuilder(NxActionConntrack base) |
public NxActionConntrackBuilder()
public NxActionConntrackBuilder(NxActionConntrack base)
public Integer getConntrackZone()
public ExperimenterId getExperimenterId()
public Integer getFlags()
public Short getRecircTable()
public Long getZoneSrc()
public <E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<NxActionConntrack>> E$$ augmentation(Class<E$$> augmentationType)
public NxActionConntrackBuilder setConntrackZone(Integer value)
public NxActionConntrackBuilder setCtActions(List<CtActions> values)
public NxActionConntrackBuilder setExperimenterId(ExperimenterId value)
public NxActionConntrackBuilder setFlags(Integer value)
public NxActionConntrackBuilder setRecircTable(Short value)
public NxActionConntrackBuilder setZoneSrc(Long value)
public NxActionConntrackBuilder addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<NxActionConntrack>> augmentationType, org.opendaylight.yangtools.yang.binding.Augmentation<NxActionConntrack> augmentationValue)
public NxActionConntrackBuilder removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<NxActionConntrack>> augmentationType)
public NxActionConntrack build()
build
in interface org.opendaylight.yangtools.concepts.CheckedBuilder<NxActionConntrack,IllegalArgumentException>
Copyright © 2020 OpenDaylight. All rights reserved.