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