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