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