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