public class BoundServicesStateListBuilder extends Object implements org.opendaylight.yangtools.concepts.Builder<BoundServicesStateList>
BoundServicesStateListBuilder
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:
BoundServicesStateListBuilder createTarget(int fooXyzzy, int barBaz) {
return new BoundServicesStateListBuilderBuilder()
.setFoo(new FooBuilder().setXyzzy(fooXyzzy).build())
.setBar(new BarBuilder().setBaz(barBaz).build())
.build();
}
This pattern is supported by the immutable nature of BoundServicesStateListBuilder, 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 methodBoundServicesStateListBuilder
,
Builder
Constructor and Description |
---|
BoundServicesStateListBuilder() |
BoundServicesStateListBuilder(BoundServicesStateList base) |
Modifier and Type | Method and Description |
---|---|
BoundServicesStateListBuilder |
addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<BoundServicesStateList>> augmentationType,
org.opendaylight.yangtools.yang.binding.Augmentation<BoundServicesStateList> augmentationValue) |
<E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<BoundServicesStateList>> |
augmentation(Class<E$$> augmentationType) |
BoundServicesStateList |
build() |
List<BoundServicesState> |
getBoundServicesState() |
BoundServicesStateListBuilder |
removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<BoundServicesStateList>> augmentationType) |
BoundServicesStateListBuilder |
setBoundServicesState(List<BoundServicesState> values) |
public BoundServicesStateListBuilder()
public BoundServicesStateListBuilder(BoundServicesStateList base)
public List<BoundServicesState> getBoundServicesState()
public <E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<BoundServicesStateList>> E$$ augmentation(Class<E$$> augmentationType)
public BoundServicesStateListBuilder setBoundServicesState(List<BoundServicesState> values)
public BoundServicesStateListBuilder addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<BoundServicesStateList>> augmentationType, org.opendaylight.yangtools.yang.binding.Augmentation<BoundServicesStateList> augmentationValue)
public BoundServicesStateListBuilder removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<BoundServicesStateList>> augmentationType)
public BoundServicesStateList build()
build
in interface org.opendaylight.yangtools.concepts.CheckedBuilder<BoundServicesStateList,IllegalArgumentException>
Copyright © 2019 OpenDaylight. All rights reserved.