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