public class GetEgressActionsForTunnelOutputBuilder extends Object implements org.opendaylight.yangtools.concepts.Builder<GetEgressActionsForTunnelOutput>
GetEgressActionsForTunnelOutputBuilder
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:
GetEgressActionsForTunnelOutputBuilder createTarget(int fooXyzzy, int barBaz) {
return new GetEgressActionsForTunnelOutputBuilderBuilder()
.setFoo(new FooBuilder().setXyzzy(fooXyzzy).build())
.setBar(new BarBuilder().setBaz(barBaz).build())
.build();
}
This pattern is supported by the immutable nature of GetEgressActionsForTunnelOutputBuilder, 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 methodGetEgressActionsForTunnelOutputBuilder
,
Builder
Constructor and Description |
---|
GetEgressActionsForTunnelOutputBuilder() |
GetEgressActionsForTunnelOutputBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.ActionList arg) |
GetEgressActionsForTunnelOutputBuilder(GetEgressActionsForTunnelOutput base) |
Modifier and Type | Method and Description |
---|---|
GetEgressActionsForTunnelOutputBuilder |
addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<GetEgressActionsForTunnelOutput>> augmentationType,
org.opendaylight.yangtools.yang.binding.Augmentation<GetEgressActionsForTunnelOutput> augmentationValue) |
<E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<GetEgressActionsForTunnelOutput>> |
augmentation(Class<E$$> augmentationType) |
GetEgressActionsForTunnelOutput |
build() |
void |
fieldsFrom(org.opendaylight.yangtools.yang.binding.DataObject arg)
Set fields from given grouping argument.
|
List<org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action> |
getAction() |
GetEgressActionsForTunnelOutputBuilder |
removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<GetEgressActionsForTunnelOutput>> augmentationType) |
GetEgressActionsForTunnelOutputBuilder |
setAction(List<org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action> values) |
public GetEgressActionsForTunnelOutputBuilder()
public GetEgressActionsForTunnelOutputBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.ActionList arg)
public GetEgressActionsForTunnelOutputBuilder(GetEgressActionsForTunnelOutput base)
public void fieldsFrom(org.opendaylight.yangtools.yang.binding.DataObject arg)
arg
- grouping objectIllegalArgumentException
- if given argument is none of valid typespublic List<org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action> getAction()
public <E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<GetEgressActionsForTunnelOutput>> E$$ augmentation(Class<E$$> augmentationType)
public GetEgressActionsForTunnelOutputBuilder setAction(List<org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action> values)
public GetEgressActionsForTunnelOutputBuilder addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<GetEgressActionsForTunnelOutput>> augmentationType, org.opendaylight.yangtools.yang.binding.Augmentation<GetEgressActionsForTunnelOutput> augmentationValue)
public GetEgressActionsForTunnelOutputBuilder removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<GetEgressActionsForTunnelOutput>> augmentationType)
public GetEgressActionsForTunnelOutput build()
build
in interface org.opendaylight.yangtools.concepts.CheckedBuilder<GetEgressActionsForTunnelOutput,IllegalArgumentException>
Copyright © 2019 OpenDaylight. All rights reserved.