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