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