public class PcmonrepMessageBuilder extends Object implements org.opendaylight.yangtools.concepts.Builder<PcmonrepMessage>
PcmonrepMessageBuilder instances. Overall design of the class is that of a
fluent interface, where method chaining is used.
In general, this class is supposed to be used like this template:
PcmonrepMessageBuilder createTarget(int fooXyzzy, int barBaz) {
return new PcmonrepMessageBuilderBuilder()
.setFoo(new FooBuilder().setXyzzy(fooXyzzy).build())
.setBar(new BarBuilder().setBaz(barBaz).build())
.build();
}
This pattern is supported by the immutable nature of PcmonrepMessageBuilder, as instances can be freely passed around without worrying about synchronization issues.
As a side note: method chaining results in:
build(), which is then returned from the methodPcmonrepMessageBuilder,
Builder| Constructor and Description |
|---|
PcmonrepMessageBuilder() |
PcmonrepMessageBuilder(Monitoring arg) |
PcmonrepMessageBuilder(MonitoringObject arg) |
PcmonrepMessageBuilder(MonitoringResponse arg) |
PcmonrepMessageBuilder(PccIdReqObject arg) |
PcmonrepMessageBuilder(PcmonrepMessage base) |
| Modifier and Type | Method and Description |
|---|---|
PcmonrepMessageBuilder |
addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<PcmonrepMessage>> augmentationType,
org.opendaylight.yangtools.yang.binding.Augmentation<PcmonrepMessage> augmentationValue) |
<E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<PcmonrepMessage>> |
augmentation(Class<E$$> augmentationType) |
PcmonrepMessage |
build() |
void |
fieldsFrom(org.opendaylight.yangtools.yang.binding.DataObject arg)
Set fields from given grouping argument.
|
Monitoring |
getMonitoring() |
MonitoringMetricsList |
getMonitoringMetricsList() |
PccIdReq |
getPccIdReq() |
PcmonrepMessageBuilder |
removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<PcmonrepMessage>> augmentationType) |
PcmonrepMessageBuilder |
setMonitoring(Monitoring value) |
PcmonrepMessageBuilder |
setMonitoringMetricsList(MonitoringMetricsList value) |
PcmonrepMessageBuilder |
setPccIdReq(PccIdReq value) |
public PcmonrepMessageBuilder()
public PcmonrepMessageBuilder(MonitoringResponse arg)
public PcmonrepMessageBuilder(Monitoring arg)
public PcmonrepMessageBuilder(MonitoringObject arg)
public PcmonrepMessageBuilder(PccIdReqObject arg)
public PcmonrepMessageBuilder(PcmonrepMessage base)
public void fieldsFrom(org.opendaylight.yangtools.yang.binding.DataObject arg)
arg - grouping objectIllegalArgumentException - if given argument is none of valid typespublic Monitoring getMonitoring()
public MonitoringMetricsList getMonitoringMetricsList()
public PccIdReq getPccIdReq()
public <E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<PcmonrepMessage>> E$$ augmentation(Class<E$$> augmentationType)
public PcmonrepMessageBuilder setMonitoring(Monitoring value)
public PcmonrepMessageBuilder setMonitoringMetricsList(MonitoringMetricsList value)
public PcmonrepMessageBuilder setPccIdReq(PccIdReq value)
public PcmonrepMessageBuilder addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<PcmonrepMessage>> augmentationType, org.opendaylight.yangtools.yang.binding.Augmentation<PcmonrepMessage> augmentationValue)
public PcmonrepMessageBuilder removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<PcmonrepMessage>> augmentationType)
public PcmonrepMessage build()
build in interface org.opendaylight.yangtools.concepts.CheckedBuilder<PcmonrepMessage,IllegalArgumentException>Copyright © 2020 OpenDaylight. All rights reserved.