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