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