public class GetGroupDescriptionInputBuilder extends Object implements org.opendaylight.yangtools.concepts.Builder<GetGroupDescriptionInput>
GetGroupDescriptionInputBuilder 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:
GetGroupDescriptionInputBuilder createTarget(int fooXyzzy, int barBaz) {
return new GetGroupDescriptionInputBuilderBuilder()
.setFoo(new FooBuilder().setXyzzy(fooXyzzy).build())
.setBar(new BarBuilder().setBaz(barBaz).build())
.build();
}
This pattern is supported by the immutable nature of GetGroupDescriptionInputBuilder, 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 methodGetGroupDescriptionInputBuilder,
Builder| Constructor and Description |
|---|
GetGroupDescriptionInputBuilder() |
GetGroupDescriptionInputBuilder(GetGroupDescriptionInput base) |
GetGroupDescriptionInputBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeContextRef arg) |
| Modifier and Type | Method and Description |
|---|---|
GetGroupDescriptionInputBuilder |
addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<GetGroupDescriptionInput>> augmentationType,
org.opendaylight.yangtools.yang.binding.Augmentation<GetGroupDescriptionInput> augmentationValue) |
<E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<GetGroupDescriptionInput>> |
augmentation(Class<E$$> augmentationType) |
GetGroupDescriptionInput |
build() |
void |
fieldsFrom(org.opendaylight.yangtools.yang.binding.DataObject arg)
Set fields from given grouping argument.
|
org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeRef |
getNode() |
GetGroupDescriptionInputBuilder |
removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<GetGroupDescriptionInput>> augmentationType) |
GetGroupDescriptionInputBuilder |
setNode(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeRef value) |
public GetGroupDescriptionInputBuilder()
public GetGroupDescriptionInputBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeContextRef arg)
public GetGroupDescriptionInputBuilder(GetGroupDescriptionInput base)
public void fieldsFrom(org.opendaylight.yangtools.yang.binding.DataObject arg)
arg - grouping objectIllegalArgumentException - if given argument is none of valid typespublic org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeRef getNode()
public <E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<GetGroupDescriptionInput>> E$$ augmentation(Class<E$$> augmentationType)
public GetGroupDescriptionInputBuilder setNode(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeRef value)
public GetGroupDescriptionInputBuilder addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<GetGroupDescriptionInput>> augmentationType, org.opendaylight.yangtools.yang.binding.Augmentation<GetGroupDescriptionInput> augmentationValue)
public GetGroupDescriptionInputBuilder removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<GetGroupDescriptionInput>> augmentationType)
public GetGroupDescriptionInput build()
build in interface org.opendaylight.yangtools.concepts.CheckedBuilder<GetGroupDescriptionInput,IllegalArgumentException>Copyright © 2020 OpenDaylight. All rights reserved.