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