public class FlowUpdatedBuilder extends Object implements org.opendaylight.yangtools.concepts.Builder<FlowUpdated>
FlowUpdatedBuilder
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:
FlowUpdatedBuilder createTarget(int fooXyzzy, int barBaz) {
return new FlowUpdatedBuilderBuilder()
.setFoo(new FooBuilder().setXyzzy(fooXyzzy).build())
.setBar(new BarBuilder().setBaz(barBaz).build())
.build();
}
This pattern is supported by the immutable nature of FlowUpdatedBuilder, 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 methodFlowUpdatedBuilder
,
Builder
Constructor and Description |
---|
FlowUpdatedBuilder() |
FlowUpdatedBuilder(Flow arg) |
FlowUpdatedBuilder(FlowUpdated base) |
FlowUpdatedBuilder(GenericFlowAttributes arg) |
FlowUpdatedBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeContextRef arg) |
FlowUpdatedBuilder(NodeFlow arg) |
FlowUpdatedBuilder(TransactionAware arg) |
FlowUpdatedBuilder(TransactionMetadata arg) |
public FlowUpdatedBuilder()
public FlowUpdatedBuilder(TransactionMetadata arg)
public FlowUpdatedBuilder(TransactionAware arg)
public FlowUpdatedBuilder(NodeFlow arg)
public FlowUpdatedBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeContextRef arg)
public FlowUpdatedBuilder(Flow arg)
public FlowUpdatedBuilder(GenericFlowAttributes arg)
public FlowUpdatedBuilder(FlowUpdated 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 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<FlowUpdated>> E$$ augmentation(Class<E$$> augmentationType)
public FlowUpdatedBuilder setBufferId(Long value)
public FlowUpdatedBuilder setContainerName(String value)
public FlowUpdatedBuilder setCookie(FlowCookie value)
public FlowUpdatedBuilder setCookieMask(FlowCookie value)
public FlowUpdatedBuilder setFlags(FlowModFlags value)
public FlowUpdatedBuilder setFlowName(String value)
public FlowUpdatedBuilder setFlowRef(FlowRef value)
public FlowUpdatedBuilder setFlowTable(FlowTableRef value)
public FlowUpdatedBuilder setHardTimeout(Integer value)
public FlowUpdatedBuilder setIdleTimeout(Integer value)
public FlowUpdatedBuilder setInstructions(Instructions value)
public FlowUpdatedBuilder setMatch(Match value)
public FlowUpdatedBuilder setNode(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeRef value)
public FlowUpdatedBuilder setOutGroup(Long value)
public FlowUpdatedBuilder setOutPort(BigInteger value)
public FlowUpdatedBuilder setPriority(Integer value)
public FlowUpdatedBuilder setTableId(Short value)
public FlowUpdatedBuilder setTransactionId(TransactionId value)
public FlowUpdatedBuilder setTransactionUri(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Uri value)
public FlowUpdatedBuilder setBarrier(Boolean value)
public FlowUpdatedBuilder setInstallHw(Boolean value)
public FlowUpdatedBuilder setStrict(Boolean value)
public FlowUpdatedBuilder addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<FlowUpdated>> augmentationType, org.opendaylight.yangtools.yang.binding.Augmentation<FlowUpdated> augmentationValue)
public FlowUpdatedBuilder removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<FlowUpdated>> augmentationType)
public FlowUpdated build()
build
in interface org.opendaylight.yangtools.concepts.CheckedBuilder<FlowUpdated,IllegalArgumentException>
Copyright © 2019 OpenDaylight. All rights reserved.