public class InterfaceBuilder extends Object implements org.opendaylight.yangtools.concepts.Builder<Interface>
InterfaceBuilder
instances.InterfaceBuilder
Constructor and Description |
---|
InterfaceBuilder() |
InterfaceBuilder(Interface base) |
public InterfaceBuilder()
public InterfaceBuilder(Interface base)
public InterfaceKey key()
public Interface.AdminStatus getAdminStatus()
public Integer getIfIndex()
public DateAndTime getLastChange()
public String getName()
public Interface.OperStatus getOperStatus()
public PhysAddress getPhysAddress()
public Gauge64 getSpeed()
public Statistics getStatistics()
public Class<? extends InterfaceType> getType()
public <E extends Augmentation<Interface>> E augmentation(Class<E> augmentationType)
public InterfaceBuilder withKey(InterfaceKey key)
public InterfaceBuilder setAdminStatus(Interface.AdminStatus value)
public InterfaceBuilder setHigherLayerIf(List<String> values)
public InterfaceBuilder setIfIndex(Integer value)
public InterfaceBuilder setLastChange(DateAndTime value)
public InterfaceBuilder setLowerLayerIf(List<String> values)
public InterfaceBuilder setName(String value)
public InterfaceBuilder setOperStatus(Interface.OperStatus value)
public InterfaceBuilder setPhysAddress(PhysAddress value)
public InterfaceBuilder setSpeed(Gauge64 value)
public InterfaceBuilder setStatistics(Statistics value)
public InterfaceBuilder setType(Class<? extends InterfaceType> value)
public InterfaceBuilder addAugmentation(Class<? extends Augmentation<Interface>> augmentationType, Augmentation<Interface> augmentationValue)
public InterfaceBuilder removeAugmentation(Class<? extends Augmentation<Interface>> augmentationType)
public Interface build()
build
in interface org.opendaylight.yangtools.concepts.CheckedBuilder<Interface,IllegalArgumentException>
Copyright © 2019 OpenDaylight. All rights reserved.