public class OvsdbTerminationPointAugmentationBuilder extends Object implements org.opendaylight.yangtools.concepts.Builder<OvsdbTerminationPointAugmentation>
OvsdbTerminationPointAugmentationBuilder
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:
OvsdbTerminationPointAugmentationBuilder createTarget(int fooXyzzy, int barBaz) {
return new OvsdbTerminationPointAugmentationBuilderBuilder()
.setFoo(new FooBuilder().setXyzzy(fooXyzzy).build())
.setBar(new BarBuilder().setBaz(barBaz).build())
.build();
}
This pattern is supported by the immutable nature of OvsdbTerminationPointAugmentationBuilder, 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 methodOvsdbTerminationPointAugmentationBuilder
,
Builder
Constructor and Description |
---|
OvsdbTerminationPointAugmentationBuilder() |
OvsdbTerminationPointAugmentationBuilder(OvsdbPortInterfaceAttributes arg) |
OvsdbTerminationPointAugmentationBuilder(OvsdbTerminationPointAugmentation base) |
public OvsdbTerminationPointAugmentationBuilder()
public OvsdbTerminationPointAugmentationBuilder(OvsdbPortInterfaceAttributes arg)
public OvsdbTerminationPointAugmentationBuilder(OvsdbTerminationPointAugmentation base)
public void fieldsFrom(org.opendaylight.yangtools.yang.binding.DataObject arg)
arg
- grouping objectIllegalArgumentException
- if given argument is none of valid typespublic Long getIfindex()
public Long getIngressPolicingBurst()
public Long getIngressPolicingRate()
public List<InterfaceBfd> getInterfaceBfd()
public List<InterfaceBfdStatus> getInterfaceBfdStatus()
public List<InterfaceExternalIds> getInterfaceExternalIds()
public List<InterfaceLldp> getInterfaceLldp()
public List<InterfaceOtherConfigs> getInterfaceOtherConfigs()
public Class<? extends InterfaceTypeBase> getInterfaceType()
public org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid getInterfaceUuid()
public org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress getMac()
public org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress getMacInUse()
public String getName()
public Long getOfport()
public Integer getOfportRequest()
public List<PortExternalIds> getPortExternalIds()
public List<PortOtherConfigs> getPortOtherConfigs()
public org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid getPortUuid()
public OvsdbPortInterfaceAttributes.VlanMode getVlanMode()
public org.opendaylight.yang.gen.v1.urn.opendaylight.l2.types.rev130827.VlanId getVlanTag()
public OvsdbTerminationPointAugmentationBuilder setIfindex(Long value)
public OvsdbTerminationPointAugmentationBuilder setIngressPolicingBurst(Long value)
public OvsdbTerminationPointAugmentationBuilder setIngressPolicingRate(Long value)
public OvsdbTerminationPointAugmentationBuilder setInterfaceBfd(List<InterfaceBfd> values)
public OvsdbTerminationPointAugmentationBuilder setInterfaceBfdStatus(List<InterfaceBfdStatus> values)
public OvsdbTerminationPointAugmentationBuilder setInterfaceExternalIds(List<InterfaceExternalIds> values)
public OvsdbTerminationPointAugmentationBuilder setInterfaceLldp(List<InterfaceLldp> values)
public OvsdbTerminationPointAugmentationBuilder setInterfaceOtherConfigs(List<InterfaceOtherConfigs> values)
public OvsdbTerminationPointAugmentationBuilder setInterfaceType(Class<? extends InterfaceTypeBase> value)
public OvsdbTerminationPointAugmentationBuilder setInterfaceUuid(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid value)
public OvsdbTerminationPointAugmentationBuilder setMac(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress value)
public OvsdbTerminationPointAugmentationBuilder setMacInUse(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress value)
public OvsdbTerminationPointAugmentationBuilder setName(String value)
public OvsdbTerminationPointAugmentationBuilder setOfport(Long value)
public OvsdbTerminationPointAugmentationBuilder setOfportRequest(Integer value)
public OvsdbTerminationPointAugmentationBuilder setOptions(List<Options> values)
public OvsdbTerminationPointAugmentationBuilder setPortExternalIds(List<PortExternalIds> values)
public OvsdbTerminationPointAugmentationBuilder setPortOtherConfigs(List<PortOtherConfigs> values)
public OvsdbTerminationPointAugmentationBuilder setPortUuid(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid value)
public OvsdbTerminationPointAugmentationBuilder setQosEntry(List<QosEntry> values)
public OvsdbTerminationPointAugmentationBuilder setTrunks(List<Trunks> values)
public OvsdbTerminationPointAugmentationBuilder setVlanMode(OvsdbPortInterfaceAttributes.VlanMode value)
public OvsdbTerminationPointAugmentationBuilder setVlanTag(org.opendaylight.yang.gen.v1.urn.opendaylight.l2.types.rev130827.VlanId value)
public OvsdbTerminationPointAugmentation build()
build
in interface org.opendaylight.yangtools.concepts.CheckedBuilder<OvsdbTerminationPointAugmentation,IllegalArgumentException>
Copyright © 2019 OpenDaylight. All rights reserved.