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