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