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