Package org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.nicira.match.rev140714
Class NxAugMatchNotifSwitchFlowRemovedBuilder
- java.lang.Object
-
- org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.nicira.match.rev140714.NxAugMatchNotifSwitchFlowRemovedBuilder
-
- All Implemented Interfaces:
org.opendaylight.yangtools.concepts.Builder<NxAugMatchNotifSwitchFlowRemoved>
,org.opendaylight.yangtools.concepts.CheckedBuilder<NxAugMatchNotifSwitchFlowRemoved,IllegalArgumentException>
,org.opendaylight.yangtools.concepts.Mutable
,org.opendaylight.yangtools.concepts.MutationBehaviour<org.opendaylight.yangtools.concepts.Mutable>
@Generated("mdsal-binding-generator") public class NxAugMatchNotifSwitchFlowRemovedBuilder extends Object implements org.opendaylight.yangtools.concepts.Builder<NxAugMatchNotifSwitchFlowRemoved>
Class that buildsNxAugMatchNotifSwitchFlowRemoved
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:
NxAugMatchNotifSwitchFlowRemoved createNxAugMatchNotifSwitchFlowRemoved(int fooXyzzy, int barBaz) { return new NxAugMatchNotifSwitchFlowRemovedBuilder() .setFoo(new FooBuilder().setXyzzy(fooXyzzy).build()) .setBar(new BarBuilder().setBaz(barBaz).build()) .build(); }
This pattern is supported by the immutable nature of NxAugMatchNotifSwitchFlowRemoved, 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:
NxAugMatchNotifSwitchFlowRemoved
,Builder
-
-
Constructor Summary
-
Method Summary
-
-
-
Constructor Detail
-
NxAugMatchNotifSwitchFlowRemovedBuilder
public NxAugMatchNotifSwitchFlowRemovedBuilder()
-
NxAugMatchNotifSwitchFlowRemovedBuilder
public NxAugMatchNotifSwitchFlowRemovedBuilder(AllMatchesGrouping arg)
-
NxAugMatchNotifSwitchFlowRemovedBuilder
public NxAugMatchNotifSwitchFlowRemovedBuilder(NxmNxRegGrouping arg)
-
NxAugMatchNotifSwitchFlowRemovedBuilder
public NxAugMatchNotifSwitchFlowRemovedBuilder(NxmNxTunIdGrouping arg)
-
NxAugMatchNotifSwitchFlowRemovedBuilder
public NxAugMatchNotifSwitchFlowRemovedBuilder(NxmNxArpShaGrouping arg)
-
NxAugMatchNotifSwitchFlowRemovedBuilder
public NxAugMatchNotifSwitchFlowRemovedBuilder(NxmNxArpThaGrouping arg)
-
NxAugMatchNotifSwitchFlowRemovedBuilder
public NxAugMatchNotifSwitchFlowRemovedBuilder(NxmOfArpOpGrouping arg)
-
NxAugMatchNotifSwitchFlowRemovedBuilder
public NxAugMatchNotifSwitchFlowRemovedBuilder(NxmOfArpSpaGrouping arg)
-
NxAugMatchNotifSwitchFlowRemovedBuilder
public NxAugMatchNotifSwitchFlowRemovedBuilder(NxmOfArpTpaGrouping arg)
-
NxAugMatchNotifSwitchFlowRemovedBuilder
public NxAugMatchNotifSwitchFlowRemovedBuilder(NxmOfInPortGrouping arg)
-
NxAugMatchNotifSwitchFlowRemovedBuilder
public NxAugMatchNotifSwitchFlowRemovedBuilder(NxmNxTunIpv4DstGrouping arg)
-
NxAugMatchNotifSwitchFlowRemovedBuilder
public NxAugMatchNotifSwitchFlowRemovedBuilder(NxmNxTunIpv4SrcGrouping arg)
-
NxAugMatchNotifSwitchFlowRemovedBuilder
public NxAugMatchNotifSwitchFlowRemovedBuilder(NxmOfEthSrcGrouping arg)
-
NxAugMatchNotifSwitchFlowRemovedBuilder
public NxAugMatchNotifSwitchFlowRemovedBuilder(NxmOfEthDstGrouping arg)
-
NxAugMatchNotifSwitchFlowRemovedBuilder
public NxAugMatchNotifSwitchFlowRemovedBuilder(NxmOfEthTypeGrouping arg)
-
NxAugMatchNotifSwitchFlowRemovedBuilder
public NxAugMatchNotifSwitchFlowRemovedBuilder(NxmNxNspGrouping arg)
-
NxAugMatchNotifSwitchFlowRemovedBuilder
public NxAugMatchNotifSwitchFlowRemovedBuilder(NxmNxNsiGrouping arg)
-
NxAugMatchNotifSwitchFlowRemovedBuilder
public NxAugMatchNotifSwitchFlowRemovedBuilder(NxmNxNshc1Grouping arg)
-
NxAugMatchNotifSwitchFlowRemovedBuilder
public NxAugMatchNotifSwitchFlowRemovedBuilder(NxmNxNshc2Grouping arg)
-
NxAugMatchNotifSwitchFlowRemovedBuilder
public NxAugMatchNotifSwitchFlowRemovedBuilder(NxmNxNshc3Grouping arg)
-
NxAugMatchNotifSwitchFlowRemovedBuilder
public NxAugMatchNotifSwitchFlowRemovedBuilder(NxmNxNshc4Grouping arg)
-
NxAugMatchNotifSwitchFlowRemovedBuilder
public NxAugMatchNotifSwitchFlowRemovedBuilder(NxmNxNshFlagsGrouping arg)
-
NxAugMatchNotifSwitchFlowRemovedBuilder
public NxAugMatchNotifSwitchFlowRemovedBuilder(NxmNxNshMdtypeGrouping arg)
-
NxAugMatchNotifSwitchFlowRemovedBuilder
public NxAugMatchNotifSwitchFlowRemovedBuilder(NxmNxNshNpGrouping arg)
-
NxAugMatchNotifSwitchFlowRemovedBuilder
public NxAugMatchNotifSwitchFlowRemovedBuilder(NxmNxNshTtlGrouping arg)
-
NxAugMatchNotifSwitchFlowRemovedBuilder
public NxAugMatchNotifSwitchFlowRemovedBuilder(NxmOfTcpSrcGrouping arg)
-
NxAugMatchNotifSwitchFlowRemovedBuilder
public NxAugMatchNotifSwitchFlowRemovedBuilder(NxmOfTcpDstGrouping arg)
-
NxAugMatchNotifSwitchFlowRemovedBuilder
public NxAugMatchNotifSwitchFlowRemovedBuilder(NxmOfUdpSrcGrouping arg)
-
NxAugMatchNotifSwitchFlowRemovedBuilder
public NxAugMatchNotifSwitchFlowRemovedBuilder(NxmOfUdpDstGrouping arg)
-
NxAugMatchNotifSwitchFlowRemovedBuilder
public NxAugMatchNotifSwitchFlowRemovedBuilder(NxmNxCtStateGrouping arg)
-
NxAugMatchNotifSwitchFlowRemovedBuilder
public NxAugMatchNotifSwitchFlowRemovedBuilder(NxmNxCtZoneGrouping arg)
-
NxAugMatchNotifSwitchFlowRemovedBuilder
public NxAugMatchNotifSwitchFlowRemovedBuilder(NxmOfIpDstGrouping arg)
-
NxAugMatchNotifSwitchFlowRemovedBuilder
public NxAugMatchNotifSwitchFlowRemovedBuilder(NxmOfIpSrcGrouping arg)
-
NxAugMatchNotifSwitchFlowRemovedBuilder
public NxAugMatchNotifSwitchFlowRemovedBuilder(NxmOfIcmpTypeGrouping arg)
-
NxAugMatchNotifSwitchFlowRemovedBuilder
public NxAugMatchNotifSwitchFlowRemovedBuilder(NxmNxCtMarkGrouping arg)
-
NxAugMatchNotifSwitchFlowRemovedBuilder
public NxAugMatchNotifSwitchFlowRemovedBuilder(NxmNxCtTpSrcGrouping arg)
-
NxAugMatchNotifSwitchFlowRemovedBuilder
public NxAugMatchNotifSwitchFlowRemovedBuilder(NxmNxCtTpDstGrouping arg)
-
NxAugMatchNotifSwitchFlowRemovedBuilder
public NxAugMatchNotifSwitchFlowRemovedBuilder(NxmNxPktMarkGrouping arg)
-
NxAugMatchNotifSwitchFlowRemovedBuilder
public NxAugMatchNotifSwitchFlowRemovedBuilder(NxAugMatchNotifSwitchFlowRemoved 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 NxAugMatchNotifSwitchFlowRemovedBuilder setNxmNxArpSha(NxmNxArpSha value)
-
setNxmNxArpTha
public NxAugMatchNotifSwitchFlowRemovedBuilder setNxmNxArpTha(NxmNxArpTha value)
-
setNxmNxCtMark
public NxAugMatchNotifSwitchFlowRemovedBuilder setNxmNxCtMark(NxmNxCtMark value)
-
setNxmNxCtState
public NxAugMatchNotifSwitchFlowRemovedBuilder setNxmNxCtState(NxmNxCtState value)
-
setNxmNxCtTpDst
public NxAugMatchNotifSwitchFlowRemovedBuilder setNxmNxCtTpDst(NxmNxCtTpDst value)
-
setNxmNxCtTpSrc
public NxAugMatchNotifSwitchFlowRemovedBuilder setNxmNxCtTpSrc(NxmNxCtTpSrc value)
-
setNxmNxCtZone
public NxAugMatchNotifSwitchFlowRemovedBuilder setNxmNxCtZone(NxmNxCtZone value)
-
setNxmNxNshFlags
public NxAugMatchNotifSwitchFlowRemovedBuilder setNxmNxNshFlags(NxmNxNshFlags value)
-
setNxmNxNshMdtype
public NxAugMatchNotifSwitchFlowRemovedBuilder setNxmNxNshMdtype(NxmNxNshMdtype value)
-
setNxmNxNshNp
public NxAugMatchNotifSwitchFlowRemovedBuilder setNxmNxNshNp(NxmNxNshNp value)
-
setNxmNxNshTtl
public NxAugMatchNotifSwitchFlowRemovedBuilder setNxmNxNshTtl(NxmNxNshTtl value)
-
setNxmNxNshc1
public NxAugMatchNotifSwitchFlowRemovedBuilder setNxmNxNshc1(NxmNxNshc1 value)
-
setNxmNxNshc2
public NxAugMatchNotifSwitchFlowRemovedBuilder setNxmNxNshc2(NxmNxNshc2 value)
-
setNxmNxNshc3
public NxAugMatchNotifSwitchFlowRemovedBuilder setNxmNxNshc3(NxmNxNshc3 value)
-
setNxmNxNshc4
public NxAugMatchNotifSwitchFlowRemovedBuilder setNxmNxNshc4(NxmNxNshc4 value)
-
setNxmNxNsi
public NxAugMatchNotifSwitchFlowRemovedBuilder setNxmNxNsi(NxmNxNsi value)
-
setNxmNxNsp
public NxAugMatchNotifSwitchFlowRemovedBuilder setNxmNxNsp(NxmNxNsp value)
-
setNxmNxPktMark
public NxAugMatchNotifSwitchFlowRemovedBuilder setNxmNxPktMark(NxmNxPktMark value)
-
setNxmNxReg
public NxAugMatchNotifSwitchFlowRemovedBuilder setNxmNxReg(NxmNxReg value)
-
setNxmNxTunId
public NxAugMatchNotifSwitchFlowRemovedBuilder setNxmNxTunId(NxmNxTunId value)
-
setNxmNxTunIpv4Dst
public NxAugMatchNotifSwitchFlowRemovedBuilder setNxmNxTunIpv4Dst(NxmNxTunIpv4Dst value)
-
setNxmNxTunIpv4Src
public NxAugMatchNotifSwitchFlowRemovedBuilder setNxmNxTunIpv4Src(NxmNxTunIpv4Src value)
-
setNxmOfArpOp
public NxAugMatchNotifSwitchFlowRemovedBuilder setNxmOfArpOp(NxmOfArpOp value)
-
setNxmOfArpSpa
public NxAugMatchNotifSwitchFlowRemovedBuilder setNxmOfArpSpa(NxmOfArpSpa value)
-
setNxmOfArpTpa
public NxAugMatchNotifSwitchFlowRemovedBuilder setNxmOfArpTpa(NxmOfArpTpa value)
-
setNxmOfEthDst
public NxAugMatchNotifSwitchFlowRemovedBuilder setNxmOfEthDst(NxmOfEthDst value)
-
setNxmOfEthSrc
public NxAugMatchNotifSwitchFlowRemovedBuilder setNxmOfEthSrc(NxmOfEthSrc value)
-
setNxmOfEthType
public NxAugMatchNotifSwitchFlowRemovedBuilder setNxmOfEthType(NxmOfEthType value)
-
setNxmOfIcmpType
public NxAugMatchNotifSwitchFlowRemovedBuilder setNxmOfIcmpType(NxmOfIcmpType value)
-
setNxmOfIpDst
public NxAugMatchNotifSwitchFlowRemovedBuilder setNxmOfIpDst(NxmOfIpDst value)
-
setNxmOfIpSrc
public NxAugMatchNotifSwitchFlowRemovedBuilder setNxmOfIpSrc(NxmOfIpSrc value)
-
setNxmOfTcpDst
public NxAugMatchNotifSwitchFlowRemovedBuilder setNxmOfTcpDst(NxmOfTcpDst value)
-
setNxmOfTcpSrc
public NxAugMatchNotifSwitchFlowRemovedBuilder setNxmOfTcpSrc(NxmOfTcpSrc value)
-
setNxmOfUdpDst
public NxAugMatchNotifSwitchFlowRemovedBuilder setNxmOfUdpDst(NxmOfUdpDst value)
-
setNxmOfUdpSrc
public NxAugMatchNotifSwitchFlowRemovedBuilder setNxmOfUdpSrc(NxmOfUdpSrc value)
-
setOfInPort
public NxAugMatchNotifSwitchFlowRemovedBuilder setOfInPort(OfInPort value)
-
build
public NxAugMatchNotifSwitchFlowRemoved build()
- Specified by:
build
in interfaceorg.opendaylight.yangtools.concepts.Builder<NxAugMatchNotifSwitchFlowRemoved>
- Specified by:
build
in interfaceorg.opendaylight.yangtools.concepts.CheckedBuilder<NxAugMatchNotifSwitchFlowRemoved,IllegalArgumentException>
-
-