Class OvsdbTerminationPointAugmentationBuilder
- java.lang.Object
-
- org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.OvsdbTerminationPointAugmentationBuilder
-
@Generated("mdsal-binding-generator") public class OvsdbTerminationPointAugmentationBuilder extends Object
Class that buildsOvsdbTerminationPointAugmentation
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:
OvsdbTerminationPointAugmentation createOvsdbTerminationPointAugmentation(int fooXyzzy, int barBaz) { return new OvsdbTerminationPointAugmentationBuilder() .setFoo(new FooBuilder().setXyzzy(fooXyzzy).build()) .setBar(new BarBuilder().setBaz(barBaz).build()) .build(); }
This pattern is supported by the immutable nature of OvsdbTerminationPointAugmentation, 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:
OvsdbTerminationPointAugmentation
- 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
-
-
Constructor Summary
Constructors Constructor Description OvsdbTerminationPointAugmentationBuilder()
Construct an empty builder.OvsdbTerminationPointAugmentationBuilder(OvsdbPortInterfaceAttributes arg)
Construct a new builder initialized from specifiedOvsdbPortInterfaceAttributes
.OvsdbTerminationPointAugmentationBuilder(OvsdbTerminationPointAugmentation base)
Construct a builder initialized with state from specifiedOvsdbTerminationPointAugmentation
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NonNull OvsdbTerminationPointAugmentation
build()
A newOvsdbTerminationPointAugmentation
instance.void
fieldsFrom(org.opendaylight.yangtools.yang.binding.DataObject arg)
Set fields from given grouping argument.org.opendaylight.yangtools.yang.common.Uint32
getIfindex()
Return current value associated with the property corresponding toOvsdbPortInterfaceAttributes.getIfindex()
.org.opendaylight.yangtools.yang.common.Uint32
getIngressPolicingBurst()
Return current value associated with the property corresponding toOvsdbPortInterfaceAttributes.getIngressPolicingBurst()
.org.opendaylight.yangtools.yang.common.Uint32
getIngressPolicingRate()
Return current value associated with the property corresponding toOvsdbPortInterfaceAttributes.getIngressPolicingRate()
.Map<InterfaceBfdKey,InterfaceBfd>
getInterfaceBfd()
Return current value associated with the property corresponding toOvsdbPortInterfaceAttributes.getInterfaceBfd()
.Map<InterfaceBfdStatusKey,InterfaceBfdStatus>
getInterfaceBfdStatus()
Return current value associated with the property corresponding toOvsdbPortInterfaceAttributes.getInterfaceBfdStatus()
.Map<InterfaceExternalIdsKey,InterfaceExternalIds>
getInterfaceExternalIds()
Return current value associated with the property corresponding toOvsdbPortInterfaceAttributes.getInterfaceExternalIds()
.Map<InterfaceLldpKey,InterfaceLldp>
getInterfaceLldp()
Return current value associated with the property corresponding toOvsdbPortInterfaceAttributes.getInterfaceLldp()
.Map<InterfaceOtherConfigsKey,InterfaceOtherConfigs>
getInterfaceOtherConfigs()
Return current value associated with the property corresponding toOvsdbPortInterfaceAttributes.getInterfaceOtherConfigs()
.Class<? extends InterfaceTypeBase>
getInterfaceType()
Return current value associated with the property corresponding toOvsdbPortInterfaceAttributes.getInterfaceType()
.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid
getInterfaceUuid()
Return current value associated with the property corresponding toOvsdbPortInterfaceAttributes.getInterfaceUuid()
.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress
getMac()
Return current value associated with the property corresponding toOvsdbPortInterfaceAttributes.getMac()
.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress
getMacInUse()
Return current value associated with the property corresponding toOvsdbPortInterfaceAttributes.getMacInUse()
.String
getName()
Return current value associated with the property corresponding toOvsdbPortInterfaceAttributes.getName()
.org.opendaylight.yangtools.yang.common.Uint32
getOfport()
Return current value associated with the property corresponding toOvsdbPortInterfaceAttributes.getOfport()
.org.opendaylight.yangtools.yang.common.Uint16
getOfportRequest()
Return current value associated with the property corresponding toOvsdbPortInterfaceAttributes.getOfportRequest()
.Map<OptionsKey,Options>
getOptions()
Return current value associated with the property corresponding toOvsdbPortInterfaceAttributes.getOptions()
.Map<PortExternalIdsKey,PortExternalIds>
getPortExternalIds()
Return current value associated with the property corresponding toOvsdbPortInterfaceAttributes.getPortExternalIds()
.Map<PortOtherConfigsKey,PortOtherConfigs>
getPortOtherConfigs()
Return current value associated with the property corresponding toOvsdbPortInterfaceAttributes.getPortOtherConfigs()
.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid
getPortUuid()
Return current value associated with the property corresponding toOvsdbPortInterfaceAttributes.getPortUuid()
.Map<QosEntryKey,QosEntry>
getQosEntry()
Return current value associated with the property corresponding toOvsdbPortInterfaceAttributes.getQosEntry()
.List<Trunks>
getTrunks()
Return current value associated with the property corresponding toOvsdbPortInterfaceAttributes.getTrunks()
.OvsdbPortInterfaceAttributes.VlanMode
getVlanMode()
Return current value associated with the property corresponding toOvsdbPortInterfaceAttributes.getVlanMode()
.org.opendaylight.yang.gen.v1.urn.opendaylight.l2.types.rev130827.VlanId
getVlanTag()
Return current value associated with the property corresponding toOvsdbPortInterfaceAttributes.getVlanTag()
.OvsdbTerminationPointAugmentationBuilder
setIfindex(org.opendaylight.yangtools.yang.common.Uint32 value)
Set the property corresponding toOvsdbPortInterfaceAttributes.getIfindex()
to the specified value.OvsdbTerminationPointAugmentationBuilder
setIngressPolicingBurst(org.opendaylight.yangtools.yang.common.Uint32 value)
Set the property corresponding toOvsdbPortInterfaceAttributes.getIngressPolicingBurst()
to the specified value.OvsdbTerminationPointAugmentationBuilder
setIngressPolicingRate(org.opendaylight.yangtools.yang.common.Uint32 value)
Set the property corresponding toOvsdbPortInterfaceAttributes.getIngressPolicingRate()
to the specified value.OvsdbTerminationPointAugmentationBuilder
setInterfaceBfd(Map<InterfaceBfdKey,InterfaceBfd> values)
Set the property corresponding toOvsdbPortInterfaceAttributes.getInterfaceBfd()
to the specified value.OvsdbTerminationPointAugmentationBuilder
setInterfaceBfdStatus(Map<InterfaceBfdStatusKey,InterfaceBfdStatus> values)
Set the property corresponding toOvsdbPortInterfaceAttributes.getInterfaceBfdStatus()
to the specified value.OvsdbTerminationPointAugmentationBuilder
setInterfaceExternalIds(Map<InterfaceExternalIdsKey,InterfaceExternalIds> values)
Set the property corresponding toOvsdbPortInterfaceAttributes.getInterfaceExternalIds()
to the specified value.OvsdbTerminationPointAugmentationBuilder
setInterfaceLldp(Map<InterfaceLldpKey,InterfaceLldp> values)
Set the property corresponding toOvsdbPortInterfaceAttributes.getInterfaceLldp()
to the specified value.OvsdbTerminationPointAugmentationBuilder
setInterfaceOtherConfigs(Map<InterfaceOtherConfigsKey,InterfaceOtherConfigs> values)
Set the property corresponding toOvsdbPortInterfaceAttributes.getInterfaceOtherConfigs()
to the specified value.OvsdbTerminationPointAugmentationBuilder
setInterfaceType(Class<? extends InterfaceTypeBase> value)
Set the property corresponding toOvsdbPortInterfaceAttributes.getInterfaceType()
to the specified value.OvsdbTerminationPointAugmentationBuilder
setInterfaceUuid(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid value)
Set the property corresponding toOvsdbPortInterfaceAttributes.getInterfaceUuid()
to the specified value.OvsdbTerminationPointAugmentationBuilder
setMac(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress value)
Set the property corresponding toOvsdbPortInterfaceAttributes.getMac()
to the specified value.OvsdbTerminationPointAugmentationBuilder
setMacInUse(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress value)
Set the property corresponding toOvsdbPortInterfaceAttributes.getMacInUse()
to the specified value.OvsdbTerminationPointAugmentationBuilder
setName(String value)
Set the property corresponding toOvsdbPortInterfaceAttributes.getName()
to the specified value.OvsdbTerminationPointAugmentationBuilder
setOfport(org.opendaylight.yangtools.yang.common.Uint32 value)
Set the property corresponding toOvsdbPortInterfaceAttributes.getOfport()
to the specified value.OvsdbTerminationPointAugmentationBuilder
setOfportRequest(org.opendaylight.yangtools.yang.common.Uint16 value)
Set the property corresponding toOvsdbPortInterfaceAttributes.getOfportRequest()
to the specified value.OvsdbTerminationPointAugmentationBuilder
setOptions(Map<OptionsKey,Options> values)
Set the property corresponding toOvsdbPortInterfaceAttributes.getOptions()
to the specified value.OvsdbTerminationPointAugmentationBuilder
setPortExternalIds(Map<PortExternalIdsKey,PortExternalIds> values)
Set the property corresponding toOvsdbPortInterfaceAttributes.getPortExternalIds()
to the specified value.OvsdbTerminationPointAugmentationBuilder
setPortOtherConfigs(Map<PortOtherConfigsKey,PortOtherConfigs> values)
Set the property corresponding toOvsdbPortInterfaceAttributes.getPortOtherConfigs()
to the specified value.OvsdbTerminationPointAugmentationBuilder
setPortUuid(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid value)
Set the property corresponding toOvsdbPortInterfaceAttributes.getPortUuid()
to the specified value.OvsdbTerminationPointAugmentationBuilder
setQosEntry(Map<QosEntryKey,QosEntry> values)
Set the property corresponding toOvsdbPortInterfaceAttributes.getQosEntry()
to the specified value.OvsdbTerminationPointAugmentationBuilder
setTrunks(List<Trunks> values)
Set the property corresponding toOvsdbPortInterfaceAttributes.getTrunks()
to the specified value.OvsdbTerminationPointAugmentationBuilder
setVlanMode(OvsdbPortInterfaceAttributes.VlanMode value)
Set the property corresponding toOvsdbPortInterfaceAttributes.getVlanMode()
to the specified value.OvsdbTerminationPointAugmentationBuilder
setVlanTag(org.opendaylight.yang.gen.v1.urn.opendaylight.l2.types.rev130827.VlanId value)
Set the property corresponding toOvsdbPortInterfaceAttributes.getVlanTag()
to the specified value.
-
-
-
Constructor Detail
-
OvsdbTerminationPointAugmentationBuilder
public OvsdbTerminationPointAugmentationBuilder()
Construct an empty builder.
-
OvsdbTerminationPointAugmentationBuilder
public OvsdbTerminationPointAugmentationBuilder(OvsdbPortInterfaceAttributes arg)
Construct a new builder initialized from specifiedOvsdbPortInterfaceAttributes
.- Parameters:
arg
- OvsdbPortInterfaceAttributes from which the builder should be initialized
-
OvsdbTerminationPointAugmentationBuilder
public OvsdbTerminationPointAugmentationBuilder(OvsdbTerminationPointAugmentation base)
Construct a builder initialized with state from specifiedOvsdbTerminationPointAugmentation
.- Parameters:
base
- OvsdbTerminationPointAugmentation from which the builder should be initialized
-
-
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:- Parameters:
arg
- grouping object- Throws:
IllegalArgumentException
- if given argument is none of valid types or has property with incompatible value
-
getIfindex
public org.opendaylight.yangtools.yang.common.Uint32 getIfindex()
Return current value associated with the property corresponding toOvsdbPortInterfaceAttributes.getIfindex()
.- Returns:
- current value
-
getIngressPolicingBurst
public org.opendaylight.yangtools.yang.common.Uint32 getIngressPolicingBurst()
Return current value associated with the property corresponding toOvsdbPortInterfaceAttributes.getIngressPolicingBurst()
.- Returns:
- current value
-
getIngressPolicingRate
public org.opendaylight.yangtools.yang.common.Uint32 getIngressPolicingRate()
Return current value associated with the property corresponding toOvsdbPortInterfaceAttributes.getIngressPolicingRate()
.- Returns:
- current value
-
getInterfaceBfd
public Map<InterfaceBfdKey,InterfaceBfd> getInterfaceBfd()
Return current value associated with the property corresponding toOvsdbPortInterfaceAttributes.getInterfaceBfd()
.- Returns:
- current value
-
getInterfaceBfdStatus
public Map<InterfaceBfdStatusKey,InterfaceBfdStatus> getInterfaceBfdStatus()
Return current value associated with the property corresponding toOvsdbPortInterfaceAttributes.getInterfaceBfdStatus()
.- Returns:
- current value
-
getInterfaceExternalIds
public Map<InterfaceExternalIdsKey,InterfaceExternalIds> getInterfaceExternalIds()
Return current value associated with the property corresponding toOvsdbPortInterfaceAttributes.getInterfaceExternalIds()
.- Returns:
- current value
-
getInterfaceLldp
public Map<InterfaceLldpKey,InterfaceLldp> getInterfaceLldp()
Return current value associated with the property corresponding toOvsdbPortInterfaceAttributes.getInterfaceLldp()
.- Returns:
- current value
-
getInterfaceOtherConfigs
public Map<InterfaceOtherConfigsKey,InterfaceOtherConfigs> getInterfaceOtherConfigs()
Return current value associated with the property corresponding toOvsdbPortInterfaceAttributes.getInterfaceOtherConfigs()
.- Returns:
- current value
-
getInterfaceType
public Class<? extends InterfaceTypeBase> getInterfaceType()
Return current value associated with the property corresponding toOvsdbPortInterfaceAttributes.getInterfaceType()
.- Returns:
- current value
-
getInterfaceUuid
public org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid getInterfaceUuid()
Return current value associated with the property corresponding toOvsdbPortInterfaceAttributes.getInterfaceUuid()
.- Returns:
- current value
-
getMac
public org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress getMac()
Return current value associated with the property corresponding toOvsdbPortInterfaceAttributes.getMac()
.- Returns:
- current value
-
getMacInUse
public org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress getMacInUse()
Return current value associated with the property corresponding toOvsdbPortInterfaceAttributes.getMacInUse()
.- Returns:
- current value
-
getName
public String getName()
Return current value associated with the property corresponding toOvsdbPortInterfaceAttributes.getName()
.- Returns:
- current value
-
getOfport
public org.opendaylight.yangtools.yang.common.Uint32 getOfport()
Return current value associated with the property corresponding toOvsdbPortInterfaceAttributes.getOfport()
.- Returns:
- current value
-
getOfportRequest
public org.opendaylight.yangtools.yang.common.Uint16 getOfportRequest()
Return current value associated with the property corresponding toOvsdbPortInterfaceAttributes.getOfportRequest()
.- Returns:
- current value
-
getOptions
public Map<OptionsKey,Options> getOptions()
Return current value associated with the property corresponding toOvsdbPortInterfaceAttributes.getOptions()
.- Returns:
- current value
-
getPortExternalIds
public Map<PortExternalIdsKey,PortExternalIds> getPortExternalIds()
Return current value associated with the property corresponding toOvsdbPortInterfaceAttributes.getPortExternalIds()
.- Returns:
- current value
-
getPortOtherConfigs
public Map<PortOtherConfigsKey,PortOtherConfigs> getPortOtherConfigs()
Return current value associated with the property corresponding toOvsdbPortInterfaceAttributes.getPortOtherConfigs()
.- Returns:
- current value
-
getPortUuid
public org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid getPortUuid()
Return current value associated with the property corresponding toOvsdbPortInterfaceAttributes.getPortUuid()
.- Returns:
- current value
-
getQosEntry
public Map<QosEntryKey,QosEntry> getQosEntry()
Return current value associated with the property corresponding toOvsdbPortInterfaceAttributes.getQosEntry()
.- Returns:
- current value
-
getTrunks
public List<Trunks> getTrunks()
Return current value associated with the property corresponding toOvsdbPortInterfaceAttributes.getTrunks()
.- Returns:
- current value
-
getVlanMode
public OvsdbPortInterfaceAttributes.VlanMode getVlanMode()
Return current value associated with the property corresponding toOvsdbPortInterfaceAttributes.getVlanMode()
.- Returns:
- current value
-
getVlanTag
public org.opendaylight.yang.gen.v1.urn.opendaylight.l2.types.rev130827.VlanId getVlanTag()
Return current value associated with the property corresponding toOvsdbPortInterfaceAttributes.getVlanTag()
.- Returns:
- current value
-
setIfindex
public OvsdbTerminationPointAugmentationBuilder setIfindex(org.opendaylight.yangtools.yang.common.Uint32 value)
Set the property corresponding toOvsdbPortInterfaceAttributes.getIfindex()
to the specified value.- Parameters:
value
- desired value- Returns:
- this builder
-
setIngressPolicingBurst
public OvsdbTerminationPointAugmentationBuilder setIngressPolicingBurst(org.opendaylight.yangtools.yang.common.Uint32 value)
Set the property corresponding toOvsdbPortInterfaceAttributes.getIngressPolicingBurst()
to the specified value.- Parameters:
value
- desired value- Returns:
- this builder
-
setIngressPolicingRate
public OvsdbTerminationPointAugmentationBuilder setIngressPolicingRate(org.opendaylight.yangtools.yang.common.Uint32 value)
Set the property corresponding toOvsdbPortInterfaceAttributes.getIngressPolicingRate()
to the specified value.- Parameters:
value
- desired value- Returns:
- this builder
-
setInterfaceBfd
public OvsdbTerminationPointAugmentationBuilder setInterfaceBfd(Map<InterfaceBfdKey,InterfaceBfd> values)
Set the property corresponding toOvsdbPortInterfaceAttributes.getInterfaceBfd()
to the specified value.- Parameters:
values
- desired value- Returns:
- this builder
-
setInterfaceBfdStatus
public OvsdbTerminationPointAugmentationBuilder setInterfaceBfdStatus(Map<InterfaceBfdStatusKey,InterfaceBfdStatus> values)
Set the property corresponding toOvsdbPortInterfaceAttributes.getInterfaceBfdStatus()
to the specified value.- Parameters:
values
- desired value- Returns:
- this builder
-
setInterfaceExternalIds
public OvsdbTerminationPointAugmentationBuilder setInterfaceExternalIds(Map<InterfaceExternalIdsKey,InterfaceExternalIds> values)
Set the property corresponding toOvsdbPortInterfaceAttributes.getInterfaceExternalIds()
to the specified value.- Parameters:
values
- desired value- Returns:
- this builder
-
setInterfaceLldp
public OvsdbTerminationPointAugmentationBuilder setInterfaceLldp(Map<InterfaceLldpKey,InterfaceLldp> values)
Set the property corresponding toOvsdbPortInterfaceAttributes.getInterfaceLldp()
to the specified value.- Parameters:
values
- desired value- Returns:
- this builder
-
setInterfaceOtherConfigs
public OvsdbTerminationPointAugmentationBuilder setInterfaceOtherConfigs(Map<InterfaceOtherConfigsKey,InterfaceOtherConfigs> values)
Set the property corresponding toOvsdbPortInterfaceAttributes.getInterfaceOtherConfigs()
to the specified value.- Parameters:
values
- desired value- Returns:
- this builder
-
setInterfaceType
public OvsdbTerminationPointAugmentationBuilder setInterfaceType(Class<? extends InterfaceTypeBase> value)
Set the property corresponding toOvsdbPortInterfaceAttributes.getInterfaceType()
to the specified value.- Parameters:
value
- desired value- Returns:
- this builder
-
setInterfaceUuid
public OvsdbTerminationPointAugmentationBuilder setInterfaceUuid(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid value)
Set the property corresponding toOvsdbPortInterfaceAttributes.getInterfaceUuid()
to the specified value.- Parameters:
value
- desired value- Returns:
- this builder
-
setMac
public OvsdbTerminationPointAugmentationBuilder setMac(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress value)
Set the property corresponding toOvsdbPortInterfaceAttributes.getMac()
to the specified value.- Parameters:
value
- desired value- Returns:
- this builder
-
setMacInUse
public OvsdbTerminationPointAugmentationBuilder setMacInUse(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress value)
Set the property corresponding toOvsdbPortInterfaceAttributes.getMacInUse()
to the specified value.- Parameters:
value
- desired value- Returns:
- this builder
-
setName
public OvsdbTerminationPointAugmentationBuilder setName(String value)
Set the property corresponding toOvsdbPortInterfaceAttributes.getName()
to the specified value.- Parameters:
value
- desired value- Returns:
- this builder
-
setOfport
public OvsdbTerminationPointAugmentationBuilder setOfport(org.opendaylight.yangtools.yang.common.Uint32 value)
Set the property corresponding toOvsdbPortInterfaceAttributes.getOfport()
to the specified value.- Parameters:
value
- desired value- Returns:
- this builder
-
setOfportRequest
public OvsdbTerminationPointAugmentationBuilder setOfportRequest(org.opendaylight.yangtools.yang.common.Uint16 value)
Set the property corresponding toOvsdbPortInterfaceAttributes.getOfportRequest()
to the specified value.- Parameters:
value
- desired value- Returns:
- this builder
-
setOptions
public OvsdbTerminationPointAugmentationBuilder setOptions(Map<OptionsKey,Options> values)
Set the property corresponding toOvsdbPortInterfaceAttributes.getOptions()
to the specified value.- Parameters:
values
- desired value- Returns:
- this builder
-
setPortExternalIds
public OvsdbTerminationPointAugmentationBuilder setPortExternalIds(Map<PortExternalIdsKey,PortExternalIds> values)
Set the property corresponding toOvsdbPortInterfaceAttributes.getPortExternalIds()
to the specified value.- Parameters:
values
- desired value- Returns:
- this builder
-
setPortOtherConfigs
public OvsdbTerminationPointAugmentationBuilder setPortOtherConfigs(Map<PortOtherConfigsKey,PortOtherConfigs> values)
Set the property corresponding toOvsdbPortInterfaceAttributes.getPortOtherConfigs()
to the specified value.- Parameters:
values
- desired value- Returns:
- this builder
-
setPortUuid
public OvsdbTerminationPointAugmentationBuilder setPortUuid(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid value)
Set the property corresponding toOvsdbPortInterfaceAttributes.getPortUuid()
to the specified value.- Parameters:
value
- desired value- Returns:
- this builder
-
setQosEntry
public OvsdbTerminationPointAugmentationBuilder setQosEntry(Map<QosEntryKey,QosEntry> values)
Set the property corresponding toOvsdbPortInterfaceAttributes.getQosEntry()
to the specified value.- Parameters:
values
- desired value- Returns:
- this builder
-
setTrunks
public OvsdbTerminationPointAugmentationBuilder setTrunks(List<Trunks> values)
Set the property corresponding toOvsdbPortInterfaceAttributes.getTrunks()
to the specified value.- Parameters:
values
- desired value- Returns:
- this builder
-
setVlanMode
public OvsdbTerminationPointAugmentationBuilder setVlanMode(OvsdbPortInterfaceAttributes.VlanMode value)
Set the property corresponding toOvsdbPortInterfaceAttributes.getVlanMode()
to the specified value.- Parameters:
value
- desired value- Returns:
- this builder
-
setVlanTag
public OvsdbTerminationPointAugmentationBuilder setVlanTag(org.opendaylight.yang.gen.v1.urn.opendaylight.l2.types.rev130827.VlanId value)
Set the property corresponding toOvsdbPortInterfaceAttributes.getVlanTag()
to the specified value.- Parameters:
value
- desired value- Returns:
- this builder
-
build
public @NonNull OvsdbTerminationPointAugmentation build()
A newOvsdbTerminationPointAugmentation
instance.- Returns:
- A new
OvsdbTerminationPointAugmentation
instance.
-
-