public class GetEgressActionsForInterfaceOutputBuilder extends Object implements org.opendaylight.yangtools.concepts.Builder<GetEgressActionsForInterfaceOutput>
GetEgressActionsForInterfaceOutputBuilder
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:
GetEgressActionsForInterfaceOutputBuilder createTarget(int fooXyzzy, int barBaz) {
return new GetEgressActionsForInterfaceOutputBuilderBuilder()
.setFoo(new FooBuilder().setXyzzy(fooXyzzy).build())
.setBar(new BarBuilder().setBaz(barBaz).build())
.build();
}
This pattern is supported by the immutable nature of GetEgressActionsForInterfaceOutputBuilder, 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 methodGetEgressActionsForInterfaceOutputBuilder
,
Builder
Constructor and Description |
---|
GetEgressActionsForInterfaceOutputBuilder() |
GetEgressActionsForInterfaceOutputBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.ActionList arg) |
GetEgressActionsForInterfaceOutputBuilder(GetEgressActionsForInterfaceOutput base) |
Modifier and Type | Method and Description |
---|---|
GetEgressActionsForInterfaceOutputBuilder |
addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<GetEgressActionsForInterfaceOutput>> augmentationType,
org.opendaylight.yangtools.yang.binding.Augmentation<GetEgressActionsForInterfaceOutput> augmentationValue) |
<E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<GetEgressActionsForInterfaceOutput>> |
augmentation(Class<E$$> augmentationType) |
GetEgressActionsForInterfaceOutput |
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() |
GetEgressActionsForInterfaceOutputBuilder |
removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<GetEgressActionsForInterfaceOutput>> augmentationType) |
GetEgressActionsForInterfaceOutputBuilder |
setAction(List<org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action> values) |
public GetEgressActionsForInterfaceOutputBuilder()
public GetEgressActionsForInterfaceOutputBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.ActionList arg)
public GetEgressActionsForInterfaceOutputBuilder(GetEgressActionsForInterfaceOutput 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<GetEgressActionsForInterfaceOutput>> E$$ augmentation(Class<E$$> augmentationType)
public GetEgressActionsForInterfaceOutputBuilder setAction(List<org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action> values)
public GetEgressActionsForInterfaceOutputBuilder addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<GetEgressActionsForInterfaceOutput>> augmentationType, org.opendaylight.yangtools.yang.binding.Augmentation<GetEgressActionsForInterfaceOutput> augmentationValue)
public GetEgressActionsForInterfaceOutputBuilder removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<GetEgressActionsForInterfaceOutput>> augmentationType)
public GetEgressActionsForInterfaceOutput build()
build
in interface org.opendaylight.yangtools.concepts.CheckedBuilder<GetEgressActionsForInterfaceOutput,IllegalArgumentException>
Copyright © 2019 OpenDaylight. All rights reserved.