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