public class MonitorProfileCreateOutputBuilder extends Object implements org.opendaylight.yangtools.concepts.Builder<MonitorProfileCreateOutput>
MonitorProfileCreateOutputBuilder
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:
MonitorProfileCreateOutputBuilder createTarget(int fooXyzzy, int barBaz) {
return new MonitorProfileCreateOutputBuilderBuilder()
.setFoo(new FooBuilder().setXyzzy(fooXyzzy).build())
.setBar(new BarBuilder().setBaz(barBaz).build())
.build();
}
This pattern is supported by the immutable nature of MonitorProfileCreateOutputBuilder, 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 methodMonitorProfileCreateOutputBuilder
,
Builder
Constructor and Description |
---|
MonitorProfileCreateOutputBuilder() |
MonitorProfileCreateOutputBuilder(MonitorProfileCreateOutput base) |
Modifier and Type | Method and Description |
---|---|
MonitorProfileCreateOutputBuilder |
addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<MonitorProfileCreateOutput>> augmentationType,
org.opendaylight.yangtools.yang.binding.Augmentation<MonitorProfileCreateOutput> augmentationValue) |
<E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<MonitorProfileCreateOutput>> |
augmentation(Class<E$$> augmentationType) |
MonitorProfileCreateOutput |
build() |
Long |
getProfileId() |
MonitorProfileCreateOutputBuilder |
removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<MonitorProfileCreateOutput>> augmentationType) |
MonitorProfileCreateOutputBuilder |
setProfileId(Long value) |
public MonitorProfileCreateOutputBuilder()
public MonitorProfileCreateOutputBuilder(MonitorProfileCreateOutput base)
public Long getProfileId()
public <E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<MonitorProfileCreateOutput>> E$$ augmentation(Class<E$$> augmentationType)
public MonitorProfileCreateOutputBuilder setProfileId(Long value)
public MonitorProfileCreateOutputBuilder addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<MonitorProfileCreateOutput>> augmentationType, org.opendaylight.yangtools.yang.binding.Augmentation<MonitorProfileCreateOutput> augmentationValue)
public MonitorProfileCreateOutputBuilder removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<MonitorProfileCreateOutput>> augmentationType)
public MonitorProfileCreateOutput build()
build
in interface org.opendaylight.yangtools.concepts.CheckedBuilder<MonitorProfileCreateOutput,IllegalArgumentException>
Copyright © 2019 OpenDaylight. All rights reserved.