public class TedBuilder extends Object implements org.opendaylight.yangtools.concepts.Builder<Ted>
TedBuilder
instances.TedBuilder
Constructor and Description |
---|
TedBuilder() |
TedBuilder(Ted base) |
TedBuilder(TedLinkAttributes arg) |
Modifier and Type | Method and Description |
---|---|
TedBuilder |
addAugmentation(Class<? extends Augmentation<Ted>> augmentationType,
Augmentation<Ted> augmentationValue) |
<E extends Augmentation<Ted>> |
augmentation(Class<E> augmentationType) |
Ted |
build() |
void |
fieldsFrom(DataObject arg)
Set fields from given grouping argument.
|
Long |
getColor() |
BigDecimal |
getMaxLinkBandwidth() |
BigDecimal |
getMaxResvLinkBandwidth() |
Srlg |
getSrlg() |
Long |
getTeDefaultMetric() |
List<UnreservedBandwidth> |
getUnreservedBandwidth() |
TedBuilder |
removeAugmentation(Class<? extends Augmentation<Ted>> augmentationType) |
TedBuilder |
setColor(Long value) |
TedBuilder |
setMaxLinkBandwidth(BigDecimal value) |
TedBuilder |
setMaxResvLinkBandwidth(BigDecimal value) |
TedBuilder |
setSrlg(Srlg value) |
TedBuilder |
setTeDefaultMetric(Long value) |
TedBuilder |
setUnreservedBandwidth(List<UnreservedBandwidth> values) |
public TedBuilder()
public TedBuilder(TedLinkAttributes arg)
public TedBuilder(Ted base)
public void fieldsFrom(DataObject arg)
arg
- grouping objectIllegalArgumentException
- if given argument is none of valid typespublic Long getColor()
public BigDecimal getMaxLinkBandwidth()
public BigDecimal getMaxResvLinkBandwidth()
public Srlg getSrlg()
public Long getTeDefaultMetric()
public List<UnreservedBandwidth> getUnreservedBandwidth()
public <E extends Augmentation<Ted>> E augmentation(Class<E> augmentationType)
public TedBuilder setColor(Long value)
public TedBuilder setMaxLinkBandwidth(BigDecimal value)
public TedBuilder setMaxResvLinkBandwidth(BigDecimal value)
public TedBuilder setSrlg(Srlg value)
public TedBuilder setTeDefaultMetric(Long value)
public TedBuilder setUnreservedBandwidth(List<UnreservedBandwidth> values)
public TedBuilder addAugmentation(Class<? extends Augmentation<Ted>> augmentationType, Augmentation<Ted> augmentationValue)
public TedBuilder removeAugmentation(Class<? extends Augmentation<Ted>> augmentationType)
public Ted build()
build
in interface org.opendaylight.yangtools.concepts.CheckedBuilder<Ted,IllegalArgumentException>
Copyright © 2019 OpenDaylight. All rights reserved.