public class FlowRemovedBuilder extends Object implements org.opendaylight.yangtools.concepts.Builder<FlowRemoved>
FlowRemovedBuilder
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:
FlowRemovedBuilder createTarget(int fooXyzzy, int barBaz) {
return new FlowRemovedBuilderBuilder()
.setFoo(new FooBuilder().setXyzzy(fooXyzzy).build())
.setBar(new BarBuilder().setBaz(barBaz).build())
.build();
}
This pattern is supported by the immutable nature of FlowRemovedBuilder, 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 methodFlowRemovedBuilder
,
Builder
Constructor and Description |
---|
FlowRemovedBuilder() |
FlowRemovedBuilder(Flow arg) |
FlowRemovedBuilder(FlowRemoved base) |
FlowRemovedBuilder(GenericFlowAttributes arg) |
FlowRemovedBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeContextRef arg) |
FlowRemovedBuilder(NodeFlow arg) |
FlowRemovedBuilder(TransactionAware arg) |
FlowRemovedBuilder(TransactionMetadata arg) |
public FlowRemovedBuilder()
public FlowRemovedBuilder(TransactionMetadata arg)
public FlowRemovedBuilder(TransactionAware arg)
public FlowRemovedBuilder(NodeFlow arg)
public FlowRemovedBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeContextRef arg)
public FlowRemovedBuilder(Flow arg)
public FlowRemovedBuilder(GenericFlowAttributes arg)
public FlowRemovedBuilder(FlowRemoved base)
public void fieldsFrom(org.opendaylight.yangtools.yang.binding.DataObject arg)
arg
- grouping objectIllegalArgumentException
- if given argument is none of valid typespublic Long getBufferId()
public String getContainerName()
public FlowCookie getCookie()
public FlowCookie getCookieMask()
public FlowModFlags getFlags()
public String getFlowName()
public FlowRef getFlowRef()
public FlowTableRef getFlowTable()
public Integer getHardTimeout()
public Integer getIdleTimeout()
public Instructions getInstructions()
public Match getMatch()
public org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeRef getNode()
public Long getOutGroup()
public BigInteger getOutPort()
public Integer getPriority()
public RemovedFlowReason getReason()
public Short getTableId()
public TransactionId getTransactionId()
public org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Uri getTransactionUri()
public Boolean isBarrier()
public Boolean isInstallHw()
public Boolean isStrict()
public <E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<FlowRemoved>> E$$ augmentation(Class<E$$> augmentationType)
public FlowRemovedBuilder setBufferId(Long value)
public FlowRemovedBuilder setContainerName(String value)
public FlowRemovedBuilder setCookie(FlowCookie value)
public FlowRemovedBuilder setCookieMask(FlowCookie value)
public FlowRemovedBuilder setFlags(FlowModFlags value)
public FlowRemovedBuilder setFlowName(String value)
public FlowRemovedBuilder setFlowRef(FlowRef value)
public FlowRemovedBuilder setFlowTable(FlowTableRef value)
public FlowRemovedBuilder setHardTimeout(Integer value)
public FlowRemovedBuilder setIdleTimeout(Integer value)
public FlowRemovedBuilder setInstructions(Instructions value)
public FlowRemovedBuilder setMatch(Match value)
public FlowRemovedBuilder setNode(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeRef value)
public FlowRemovedBuilder setOutGroup(Long value)
public FlowRemovedBuilder setOutPort(BigInteger value)
public FlowRemovedBuilder setPriority(Integer value)
public FlowRemovedBuilder setReason(RemovedFlowReason value)
public FlowRemovedBuilder setTableId(Short value)
public FlowRemovedBuilder setTransactionId(TransactionId value)
public FlowRemovedBuilder setTransactionUri(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Uri value)
public FlowRemovedBuilder setBarrier(Boolean value)
public FlowRemovedBuilder setInstallHw(Boolean value)
public FlowRemovedBuilder setStrict(Boolean value)
public FlowRemovedBuilder addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<FlowRemoved>> augmentationType, org.opendaylight.yangtools.yang.binding.Augmentation<FlowRemoved> augmentationValue)
public FlowRemovedBuilder removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<FlowRemoved>> augmentationType)
public FlowRemoved build()
build
in interface org.opendaylight.yangtools.concepts.CheckedBuilder<FlowRemoved,IllegalArgumentException>
Copyright © 2020 OpenDaylight. All rights reserved.