public class MetricBuilder extends Object implements org.opendaylight.yangtools.concepts.Builder<Metric>
Metric instances.Metric| Constructor and Description |
|---|
MetricBuilder() |
MetricBuilder(Metric base) |
MetricBuilder(MetricObject arg) |
| Modifier and Type | Method and Description |
|---|---|
MetricBuilder |
addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<Metric>> augmentationType,
org.opendaylight.yangtools.yang.binding.Augmentation<Metric> augmentationValue) |
Metric |
build() |
void |
fieldsFrom(org.opendaylight.yangtools.yang.binding.DataObject arg)
Set fields from given grouping argument.
|
<E extends org.opendaylight.yangtools.yang.binding.Augmentation<Metric>> |
getAugmentation(Class<E> augmentationType) |
Metric |
getMetric() |
MetricBuilder |
removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<Metric>> augmentationType) |
MetricBuilder |
setMetric(Metric value) |
public MetricBuilder()
public MetricBuilder(MetricObject arg)
public MetricBuilder(Metric base)
public void fieldsFrom(org.opendaylight.yangtools.yang.binding.DataObject arg)
arg - grouping objectIllegalArgumentException - if given argument is none of valid typespublic Metric getMetric()
public <E extends org.opendaylight.yangtools.yang.binding.Augmentation<Metric>> E getAugmentation(Class<E> augmentationType)
public MetricBuilder setMetric(Metric value)
public MetricBuilder addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<Metric>> augmentationType, org.opendaylight.yangtools.yang.binding.Augmentation<Metric> augmentationValue)
public MetricBuilder removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<Metric>> augmentationType)
Copyright © 2018 OpenDaylight. All rights reserved.