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