Package org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.nicira.match.rev140714
Class NxAugMatchRpcUpdateFlowUpdatedBuilder
- java.lang.Object
-
- org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.nicira.match.rev140714.NxAugMatchRpcUpdateFlowUpdatedBuilder
-
- All Implemented Interfaces:
org.opendaylight.yangtools.concepts.Builder<NxAugMatchRpcUpdateFlowUpdated>
,org.opendaylight.yangtools.concepts.CheckedBuilder<NxAugMatchRpcUpdateFlowUpdated,IllegalArgumentException>
,org.opendaylight.yangtools.concepts.Mutable
,org.opendaylight.yangtools.concepts.MutationBehaviour<org.opendaylight.yangtools.concepts.Mutable>
@Generated("mdsal-binding-generator") public class NxAugMatchRpcUpdateFlowUpdatedBuilder extends Object implements org.opendaylight.yangtools.concepts.Builder<NxAugMatchRpcUpdateFlowUpdated>
Class that buildsNxAugMatchRpcUpdateFlowUpdated
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:
NxAugMatchRpcUpdateFlowUpdated createNxAugMatchRpcUpdateFlowUpdated(int fooXyzzy, int barBaz) { return new NxAugMatchRpcUpdateFlowUpdatedBuilder() .setFoo(new FooBuilder().setXyzzy(fooXyzzy).build()) .setBar(new BarBuilder().setBaz(barBaz).build()) .build(); }
This pattern is supported by the immutable nature of NxAugMatchRpcUpdateFlowUpdated, as instances can be freely passed around without worrying about synchronization issues.
As a side note: method chaining results in:
- very efficient Java bytecode, as the method invocation result, in this case the Builder reference, is
on the stack, so further method invocations just need to fill method arguments for the next method
invocation, which is terminated by
build()
, which is then returned from the method - better understanding by humans, as the scope of mutable state (the builder) is kept to a minimum and is very localized
- better optimization opportunities, as the object scope is minimized in terms of invocation (rather than method) stack, making escape analysis a lot easier. Given enough compiler (JIT/AOT) prowess, the cost of th builder object can be completely eliminated
- See Also:
NxAugMatchRpcUpdateFlowUpdated
,Builder
-
-
Constructor Summary
-
Method Summary
-
-
-
Constructor Detail
-
NxAugMatchRpcUpdateFlowUpdatedBuilder
public NxAugMatchRpcUpdateFlowUpdatedBuilder()
-
NxAugMatchRpcUpdateFlowUpdatedBuilder
public NxAugMatchRpcUpdateFlowUpdatedBuilder(AllMatchesGrouping arg)
-
NxAugMatchRpcUpdateFlowUpdatedBuilder
public NxAugMatchRpcUpdateFlowUpdatedBuilder(NxmNxRegGrouping arg)
-
NxAugMatchRpcUpdateFlowUpdatedBuilder
public NxAugMatchRpcUpdateFlowUpdatedBuilder(NxmNxTunIdGrouping arg)
-
NxAugMatchRpcUpdateFlowUpdatedBuilder
public NxAugMatchRpcUpdateFlowUpdatedBuilder(NxmNxArpShaGrouping arg)
-
NxAugMatchRpcUpdateFlowUpdatedBuilder
public NxAugMatchRpcUpdateFlowUpdatedBuilder(NxmNxArpThaGrouping arg)
-
NxAugMatchRpcUpdateFlowUpdatedBuilder
public NxAugMatchRpcUpdateFlowUpdatedBuilder(NxmOfArpOpGrouping arg)
-
NxAugMatchRpcUpdateFlowUpdatedBuilder
public NxAugMatchRpcUpdateFlowUpdatedBuilder(NxmOfArpSpaGrouping arg)
-
NxAugMatchRpcUpdateFlowUpdatedBuilder
public NxAugMatchRpcUpdateFlowUpdatedBuilder(NxmOfArpTpaGrouping arg)
-
NxAugMatchRpcUpdateFlowUpdatedBuilder
public NxAugMatchRpcUpdateFlowUpdatedBuilder(NxmOfInPortGrouping arg)
-
NxAugMatchRpcUpdateFlowUpdatedBuilder
public NxAugMatchRpcUpdateFlowUpdatedBuilder(NxmNxTunIpv4DstGrouping arg)
-
NxAugMatchRpcUpdateFlowUpdatedBuilder
public NxAugMatchRpcUpdateFlowUpdatedBuilder(NxmNxTunIpv4SrcGrouping arg)
-
NxAugMatchRpcUpdateFlowUpdatedBuilder
public NxAugMatchRpcUpdateFlowUpdatedBuilder(NxmOfEthSrcGrouping arg)
-
NxAugMatchRpcUpdateFlowUpdatedBuilder
public NxAugMatchRpcUpdateFlowUpdatedBuilder(NxmOfEthDstGrouping arg)
-
NxAugMatchRpcUpdateFlowUpdatedBuilder
public NxAugMatchRpcUpdateFlowUpdatedBuilder(NxmOfEthTypeGrouping arg)
-
NxAugMatchRpcUpdateFlowUpdatedBuilder
public NxAugMatchRpcUpdateFlowUpdatedBuilder(NxmNxNspGrouping arg)
-
NxAugMatchRpcUpdateFlowUpdatedBuilder
public NxAugMatchRpcUpdateFlowUpdatedBuilder(NxmNxNsiGrouping arg)
-
NxAugMatchRpcUpdateFlowUpdatedBuilder
public NxAugMatchRpcUpdateFlowUpdatedBuilder(NxmNxNshc1Grouping arg)
-
NxAugMatchRpcUpdateFlowUpdatedBuilder
public NxAugMatchRpcUpdateFlowUpdatedBuilder(NxmNxNshc2Grouping arg)
-
NxAugMatchRpcUpdateFlowUpdatedBuilder
public NxAugMatchRpcUpdateFlowUpdatedBuilder(NxmNxNshc3Grouping arg)
-
NxAugMatchRpcUpdateFlowUpdatedBuilder
public NxAugMatchRpcUpdateFlowUpdatedBuilder(NxmNxNshc4Grouping arg)
-
NxAugMatchRpcUpdateFlowUpdatedBuilder
public NxAugMatchRpcUpdateFlowUpdatedBuilder(NxmNxNshFlagsGrouping arg)
-
NxAugMatchRpcUpdateFlowUpdatedBuilder
public NxAugMatchRpcUpdateFlowUpdatedBuilder(NxmNxNshMdtypeGrouping arg)
-
NxAugMatchRpcUpdateFlowUpdatedBuilder
public NxAugMatchRpcUpdateFlowUpdatedBuilder(NxmNxNshNpGrouping arg)
-
NxAugMatchRpcUpdateFlowUpdatedBuilder
public NxAugMatchRpcUpdateFlowUpdatedBuilder(NxmNxNshTtlGrouping arg)
-
NxAugMatchRpcUpdateFlowUpdatedBuilder
public NxAugMatchRpcUpdateFlowUpdatedBuilder(NxmOfTcpSrcGrouping arg)
-
NxAugMatchRpcUpdateFlowUpdatedBuilder
public NxAugMatchRpcUpdateFlowUpdatedBuilder(NxmOfTcpDstGrouping arg)
-
NxAugMatchRpcUpdateFlowUpdatedBuilder
public NxAugMatchRpcUpdateFlowUpdatedBuilder(NxmOfUdpSrcGrouping arg)
-
NxAugMatchRpcUpdateFlowUpdatedBuilder
public NxAugMatchRpcUpdateFlowUpdatedBuilder(NxmOfUdpDstGrouping arg)
-
NxAugMatchRpcUpdateFlowUpdatedBuilder
public NxAugMatchRpcUpdateFlowUpdatedBuilder(NxmNxCtStateGrouping arg)
-
NxAugMatchRpcUpdateFlowUpdatedBuilder
public NxAugMatchRpcUpdateFlowUpdatedBuilder(NxmNxCtZoneGrouping arg)
-
NxAugMatchRpcUpdateFlowUpdatedBuilder
public NxAugMatchRpcUpdateFlowUpdatedBuilder(NxmOfIpDstGrouping arg)
-
NxAugMatchRpcUpdateFlowUpdatedBuilder
public NxAugMatchRpcUpdateFlowUpdatedBuilder(NxmOfIpSrcGrouping arg)
-
NxAugMatchRpcUpdateFlowUpdatedBuilder
public NxAugMatchRpcUpdateFlowUpdatedBuilder(NxmOfIcmpTypeGrouping arg)
-
NxAugMatchRpcUpdateFlowUpdatedBuilder
public NxAugMatchRpcUpdateFlowUpdatedBuilder(NxmNxCtMarkGrouping arg)
-
NxAugMatchRpcUpdateFlowUpdatedBuilder
public NxAugMatchRpcUpdateFlowUpdatedBuilder(NxmNxCtTpSrcGrouping arg)
-
NxAugMatchRpcUpdateFlowUpdatedBuilder
public NxAugMatchRpcUpdateFlowUpdatedBuilder(NxmNxCtTpDstGrouping arg)
-
NxAugMatchRpcUpdateFlowUpdatedBuilder
public NxAugMatchRpcUpdateFlowUpdatedBuilder(NxmNxPktMarkGrouping arg)
-
NxAugMatchRpcUpdateFlowUpdatedBuilder
public NxAugMatchRpcUpdateFlowUpdatedBuilder(NxAugMatchRpcUpdateFlowUpdated base)
-
-
Method Detail
-
fieldsFrom
public void fieldsFrom(org.opendaylight.yangtools.yang.binding.DataObject arg)
Set fields from given grouping argument. Valid argument is instance of one of following types:- NxmNxTunIdGrouping
- NxmNxTunIpv4DstGrouping
- NxmNxNshFlagsGrouping
- NxmOfArpOpGrouping
- NxmNxNshc2Grouping
- NxmOfArpSpaGrouping
- AllMatchesGrouping
- NxmNxCtZoneGrouping
- NxmOfEthDstGrouping
- NxmNxNshc4Grouping
- NxmOfTcpDstGrouping
- NxmNxRegGrouping
- NxmNxArpShaGrouping
- NxmOfUdpDstGrouping
- NxmOfEthSrcGrouping
- NxmOfArpTpaGrouping
- NxmOfIcmpTypeGrouping
- NxmNxCtTpDstGrouping
- NxmNxNshc1Grouping
- NxmNxCtTpSrcGrouping
- NxmNxNshNpGrouping
- NxmNxPktMarkGrouping
- NxmNxArpThaGrouping
- NxmOfIpSrcGrouping
- NxmNxCtMarkGrouping
- NxmNxNshc3Grouping
- NxmOfInPortGrouping
- NxmOfEthTypeGrouping
- NxmOfIpDstGrouping
- NxmNxNspGrouping
- NxmNxTunIpv4SrcGrouping
- NxmNxNshMdtypeGrouping
- NxmNxCtStateGrouping
- NxmOfUdpSrcGrouping
- NxmNxNsiGrouping
- NxmOfTcpSrcGrouping
- NxmNxNshTtlGrouping
- Parameters:
arg
- grouping object- Throws:
IllegalArgumentException
- if given argument is none of valid types or has property with incompatible value
-
getNxmNxArpSha
public NxmNxArpSha getNxmNxArpSha()
-
getNxmNxArpTha
public NxmNxArpTha getNxmNxArpTha()
-
getNxmNxCtMark
public NxmNxCtMark getNxmNxCtMark()
-
getNxmNxCtState
public NxmNxCtState getNxmNxCtState()
-
getNxmNxCtTpDst
public NxmNxCtTpDst getNxmNxCtTpDst()
-
getNxmNxCtTpSrc
public NxmNxCtTpSrc getNxmNxCtTpSrc()
-
getNxmNxCtZone
public NxmNxCtZone getNxmNxCtZone()
-
getNxmNxNshFlags
public NxmNxNshFlags getNxmNxNshFlags()
-
getNxmNxNshMdtype
public NxmNxNshMdtype getNxmNxNshMdtype()
-
getNxmNxNshNp
public NxmNxNshNp getNxmNxNshNp()
-
getNxmNxNshTtl
public NxmNxNshTtl getNxmNxNshTtl()
-
getNxmNxNshc1
public NxmNxNshc1 getNxmNxNshc1()
-
getNxmNxNshc2
public NxmNxNshc2 getNxmNxNshc2()
-
getNxmNxNshc3
public NxmNxNshc3 getNxmNxNshc3()
-
getNxmNxNshc4
public NxmNxNshc4 getNxmNxNshc4()
-
getNxmNxNsi
public NxmNxNsi getNxmNxNsi()
-
getNxmNxNsp
public NxmNxNsp getNxmNxNsp()
-
getNxmNxPktMark
public NxmNxPktMark getNxmNxPktMark()
-
getNxmNxReg
public NxmNxReg getNxmNxReg()
-
getNxmNxTunId
public NxmNxTunId getNxmNxTunId()
-
getNxmNxTunIpv4Dst
public NxmNxTunIpv4Dst getNxmNxTunIpv4Dst()
-
getNxmNxTunIpv4Src
public NxmNxTunIpv4Src getNxmNxTunIpv4Src()
-
getNxmOfArpOp
public NxmOfArpOp getNxmOfArpOp()
-
getNxmOfArpSpa
public NxmOfArpSpa getNxmOfArpSpa()
-
getNxmOfArpTpa
public NxmOfArpTpa getNxmOfArpTpa()
-
getNxmOfEthDst
public NxmOfEthDst getNxmOfEthDst()
-
getNxmOfEthSrc
public NxmOfEthSrc getNxmOfEthSrc()
-
getNxmOfEthType
public NxmOfEthType getNxmOfEthType()
-
getNxmOfIcmpType
public NxmOfIcmpType getNxmOfIcmpType()
-
getNxmOfIpDst
public NxmOfIpDst getNxmOfIpDst()
-
getNxmOfIpSrc
public NxmOfIpSrc getNxmOfIpSrc()
-
getNxmOfTcpDst
public NxmOfTcpDst getNxmOfTcpDst()
-
getNxmOfTcpSrc
public NxmOfTcpSrc getNxmOfTcpSrc()
-
getNxmOfUdpDst
public NxmOfUdpDst getNxmOfUdpDst()
-
getNxmOfUdpSrc
public NxmOfUdpSrc getNxmOfUdpSrc()
-
getOfInPort
public OfInPort getOfInPort()
-
setNxmNxArpSha
public NxAugMatchRpcUpdateFlowUpdatedBuilder setNxmNxArpSha(NxmNxArpSha value)
-
setNxmNxArpTha
public NxAugMatchRpcUpdateFlowUpdatedBuilder setNxmNxArpTha(NxmNxArpTha value)
-
setNxmNxCtMark
public NxAugMatchRpcUpdateFlowUpdatedBuilder setNxmNxCtMark(NxmNxCtMark value)
-
setNxmNxCtState
public NxAugMatchRpcUpdateFlowUpdatedBuilder setNxmNxCtState(NxmNxCtState value)
-
setNxmNxCtTpDst
public NxAugMatchRpcUpdateFlowUpdatedBuilder setNxmNxCtTpDst(NxmNxCtTpDst value)
-
setNxmNxCtTpSrc
public NxAugMatchRpcUpdateFlowUpdatedBuilder setNxmNxCtTpSrc(NxmNxCtTpSrc value)
-
setNxmNxCtZone
public NxAugMatchRpcUpdateFlowUpdatedBuilder setNxmNxCtZone(NxmNxCtZone value)
-
setNxmNxNshFlags
public NxAugMatchRpcUpdateFlowUpdatedBuilder setNxmNxNshFlags(NxmNxNshFlags value)
-
setNxmNxNshMdtype
public NxAugMatchRpcUpdateFlowUpdatedBuilder setNxmNxNshMdtype(NxmNxNshMdtype value)
-
setNxmNxNshNp
public NxAugMatchRpcUpdateFlowUpdatedBuilder setNxmNxNshNp(NxmNxNshNp value)
-
setNxmNxNshTtl
public NxAugMatchRpcUpdateFlowUpdatedBuilder setNxmNxNshTtl(NxmNxNshTtl value)
-
setNxmNxNshc1
public NxAugMatchRpcUpdateFlowUpdatedBuilder setNxmNxNshc1(NxmNxNshc1 value)
-
setNxmNxNshc2
public NxAugMatchRpcUpdateFlowUpdatedBuilder setNxmNxNshc2(NxmNxNshc2 value)
-
setNxmNxNshc3
public NxAugMatchRpcUpdateFlowUpdatedBuilder setNxmNxNshc3(NxmNxNshc3 value)
-
setNxmNxNshc4
public NxAugMatchRpcUpdateFlowUpdatedBuilder setNxmNxNshc4(NxmNxNshc4 value)
-
setNxmNxNsi
public NxAugMatchRpcUpdateFlowUpdatedBuilder setNxmNxNsi(NxmNxNsi value)
-
setNxmNxNsp
public NxAugMatchRpcUpdateFlowUpdatedBuilder setNxmNxNsp(NxmNxNsp value)
-
setNxmNxPktMark
public NxAugMatchRpcUpdateFlowUpdatedBuilder setNxmNxPktMark(NxmNxPktMark value)
-
setNxmNxReg
public NxAugMatchRpcUpdateFlowUpdatedBuilder setNxmNxReg(NxmNxReg value)
-
setNxmNxTunId
public NxAugMatchRpcUpdateFlowUpdatedBuilder setNxmNxTunId(NxmNxTunId value)
-
setNxmNxTunIpv4Dst
public NxAugMatchRpcUpdateFlowUpdatedBuilder setNxmNxTunIpv4Dst(NxmNxTunIpv4Dst value)
-
setNxmNxTunIpv4Src
public NxAugMatchRpcUpdateFlowUpdatedBuilder setNxmNxTunIpv4Src(NxmNxTunIpv4Src value)
-
setNxmOfArpOp
public NxAugMatchRpcUpdateFlowUpdatedBuilder setNxmOfArpOp(NxmOfArpOp value)
-
setNxmOfArpSpa
public NxAugMatchRpcUpdateFlowUpdatedBuilder setNxmOfArpSpa(NxmOfArpSpa value)
-
setNxmOfArpTpa
public NxAugMatchRpcUpdateFlowUpdatedBuilder setNxmOfArpTpa(NxmOfArpTpa value)
-
setNxmOfEthDst
public NxAugMatchRpcUpdateFlowUpdatedBuilder setNxmOfEthDst(NxmOfEthDst value)
-
setNxmOfEthSrc
public NxAugMatchRpcUpdateFlowUpdatedBuilder setNxmOfEthSrc(NxmOfEthSrc value)
-
setNxmOfEthType
public NxAugMatchRpcUpdateFlowUpdatedBuilder setNxmOfEthType(NxmOfEthType value)
-
setNxmOfIcmpType
public NxAugMatchRpcUpdateFlowUpdatedBuilder setNxmOfIcmpType(NxmOfIcmpType value)
-
setNxmOfIpDst
public NxAugMatchRpcUpdateFlowUpdatedBuilder setNxmOfIpDst(NxmOfIpDst value)
-
setNxmOfIpSrc
public NxAugMatchRpcUpdateFlowUpdatedBuilder setNxmOfIpSrc(NxmOfIpSrc value)
-
setNxmOfTcpDst
public NxAugMatchRpcUpdateFlowUpdatedBuilder setNxmOfTcpDst(NxmOfTcpDst value)
-
setNxmOfTcpSrc
public NxAugMatchRpcUpdateFlowUpdatedBuilder setNxmOfTcpSrc(NxmOfTcpSrc value)
-
setNxmOfUdpDst
public NxAugMatchRpcUpdateFlowUpdatedBuilder setNxmOfUdpDst(NxmOfUdpDst value)
-
setNxmOfUdpSrc
public NxAugMatchRpcUpdateFlowUpdatedBuilder setNxmOfUdpSrc(NxmOfUdpSrc value)
-
setOfInPort
public NxAugMatchRpcUpdateFlowUpdatedBuilder setOfInPort(OfInPort value)
-
build
public NxAugMatchRpcUpdateFlowUpdated build()
- Specified by:
build
in interfaceorg.opendaylight.yangtools.concepts.Builder<NxAugMatchRpcUpdateFlowUpdated>
- Specified by:
build
in interfaceorg.opendaylight.yangtools.concepts.CheckedBuilder<NxAugMatchRpcUpdateFlowUpdated,IllegalArgumentException>
-
-