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