public class KeyBuilder extends Object implements org.opendaylight.yangtools.concepts.Builder<Key>
KeyBuilder
instances.KeyBuilder
Constructor and Description |
---|
KeyBuilder() |
KeyBuilder(Key base) |
Modifier and Type | Method and Description |
---|---|
KeyBuilder |
addAugmentation(Class<? extends Augmentation<Key>> augmentationType,
Augmentation<Key> augmentationValue) |
<E extends Augmentation<Key>> |
augmentation(Class<E> augmentationType) |
Key |
build() |
String |
getKey() |
KeyKey |
key() |
KeyBuilder |
removeAugmentation(Class<? extends Augmentation<Key>> augmentationType) |
KeyBuilder |
setKey(String value) |
KeyBuilder |
withKey(KeyKey key) |
public KeyBuilder()
public KeyBuilder(Key base)
public KeyKey key()
public String getKey()
public <E extends Augmentation<Key>> E augmentation(Class<E> augmentationType)
public KeyBuilder withKey(KeyKey key)
public KeyBuilder setKey(String value)
public KeyBuilder addAugmentation(Class<? extends Augmentation<Key>> augmentationType, Augmentation<Key> augmentationValue)
public KeyBuilder removeAugmentation(Class<? extends Augmentation<Key>> augmentationType)
public Key build()
build
in interface org.opendaylight.yangtools.concepts.CheckedBuilder<Key,IllegalArgumentException>
Copyright © 2019 OpenDaylight. All rights reserved.