public class InterfaceBuilder extends Object implements org.opendaylight.yangtools.concepts.Builder<Interface>
Interface
instances.Interface
Modifier and Type | Field and Description |
---|---|
static org.opendaylight.yangtools.yang.common.QName |
QNAME |
Constructor and Description |
---|
InterfaceBuilder() |
InterfaceBuilder(Interface base) |
Modifier and Type | Method and Description |
---|---|
InterfaceBuilder |
addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<Interface>> augmentationType,
org.opendaylight.yangtools.yang.binding.Augmentation<Interface> augmentationValue) |
Interface |
build() |
Interface.AdminStatus |
getAdminStatus() |
<E extends org.opendaylight.yangtools.yang.binding.Augmentation<Interface>> |
getAugmentation(Class<E> augmentationType) |
Integer |
getIfIndex() |
InterfaceKey |
getKey() |
String |
getName() |
Interface.OperStatus |
getOperStatus() |
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.PhysAddress |
getPhysAddress() |
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Gauge64 |
getSpeed() |
Class<? extends InterfaceType> |
getType() |
InterfaceBuilder |
removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<Interface>> augmentationType) |
InterfaceBuilder |
setAdminStatus(Interface.AdminStatus value) |
InterfaceBuilder |
setIfIndex(Integer value) |
InterfaceBuilder |
setKey(InterfaceKey value) |
InterfaceBuilder |
setName(String value) |
InterfaceBuilder |
setOperStatus(Interface.OperStatus value) |
InterfaceBuilder |
setPhysAddress(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.PhysAddress value) |
InterfaceBuilder |
setSpeed(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Gauge64 value) |
InterfaceBuilder |
setType(Class<? extends InterfaceType> value) |
public InterfaceBuilder()
public InterfaceBuilder(Interface base)
public Interface.AdminStatus getAdminStatus()
public Integer getIfIndex()
public InterfaceKey getKey()
public String getName()
public Interface.OperStatus getOperStatus()
public org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.PhysAddress getPhysAddress()
public org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Gauge64 getSpeed()
public Class<? extends InterfaceType> getType()
public <E extends org.opendaylight.yangtools.yang.binding.Augmentation<Interface>> E getAugmentation(Class<E> augmentationType)
public InterfaceBuilder setAdminStatus(Interface.AdminStatus value)
public InterfaceBuilder setIfIndex(Integer value)
public InterfaceBuilder setKey(InterfaceKey value)
public InterfaceBuilder setName(String value)
public InterfaceBuilder setOperStatus(Interface.OperStatus value)
public InterfaceBuilder setPhysAddress(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.PhysAddress value)
public InterfaceBuilder setSpeed(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Gauge64 value)
public InterfaceBuilder setType(Class<? extends InterfaceType> value)
public InterfaceBuilder addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<Interface>> augmentationType, org.opendaylight.yangtools.yang.binding.Augmentation<Interface> augmentationValue)
public InterfaceBuilder removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<Interface>> augmentationType)
Copyright © 2018 OpenDaylight. All rights reserved.