public class SrlgBuilder extends Object implements org.opendaylight.yangtools.concepts.Builder<Srlg>
SrlgBuilder
instances.SrlgBuilder
Constructor and Description |
---|
SrlgBuilder() |
SrlgBuilder(Srlg base) |
SrlgBuilder(SrlgAttributes arg) |
Modifier and Type | Method and Description |
---|---|
SrlgBuilder |
addAugmentation(Class<? extends Augmentation<Srlg>> augmentationType,
Augmentation<Srlg> augmentationValue) |
<E extends Augmentation<Srlg>> |
augmentation(Class<E> augmentationType) |
Srlg |
build() |
void |
fieldsFrom(DataObject arg)
Set fields from given grouping argument.
|
List<InterfaceSwitchingCapabilities> |
getInterfaceSwitchingCapabilities() |
Integer |
getLinkProtectionType() |
List<SrlgValues> |
getSrlgValues() |
SrlgBuilder |
removeAugmentation(Class<? extends Augmentation<Srlg>> augmentationType) |
SrlgBuilder |
setInterfaceSwitchingCapabilities(List<InterfaceSwitchingCapabilities> values) |
SrlgBuilder |
setLinkProtectionType(Integer value) |
SrlgBuilder |
setSrlgValues(List<SrlgValues> values) |
public SrlgBuilder()
public SrlgBuilder(SrlgAttributes arg)
public SrlgBuilder(Srlg base)
public void fieldsFrom(DataObject arg)
arg
- grouping objectIllegalArgumentException
- if given argument is none of valid typespublic List<InterfaceSwitchingCapabilities> getInterfaceSwitchingCapabilities()
public Integer getLinkProtectionType()
public List<SrlgValues> getSrlgValues()
public <E extends Augmentation<Srlg>> E augmentation(Class<E> augmentationType)
public SrlgBuilder setInterfaceSwitchingCapabilities(List<InterfaceSwitchingCapabilities> values)
public SrlgBuilder setLinkProtectionType(Integer value)
public SrlgBuilder setSrlgValues(List<SrlgValues> values)
public SrlgBuilder addAugmentation(Class<? extends Augmentation<Srlg>> augmentationType, Augmentation<Srlg> augmentationValue)
public SrlgBuilder removeAugmentation(Class<? extends Augmentation<Srlg>> augmentationType)
public Srlg build()
build
in interface org.opendaylight.yangtools.concepts.CheckedBuilder<Srlg,IllegalArgumentException>
Copyright © 2019 OpenDaylight. All rights reserved.