public class GetEgressInstructionsForInterfaceOutputBuilder extends Object implements org.opendaylight.yangtools.concepts.Builder<GetEgressInstructionsForInterfaceOutput>
GetEgressInstructionsForInterfaceOutputBuilder
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:
GetEgressInstructionsForInterfaceOutputBuilder createTarget(int fooXyzzy, int barBaz) {
return new GetEgressInstructionsForInterfaceOutputBuilderBuilder()
.setFoo(new FooBuilder().setXyzzy(fooXyzzy).build())
.setBar(new BarBuilder().setBaz(barBaz).build())
.build();
}
This pattern is supported by the immutable nature of GetEgressInstructionsForInterfaceOutputBuilder, 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 methodGetEgressInstructionsForInterfaceOutputBuilder
,
Builder
Constructor and Description |
---|
GetEgressInstructionsForInterfaceOutputBuilder() |
GetEgressInstructionsForInterfaceOutputBuilder(GetEgressInstructionsForInterfaceOutput base) |
GetEgressInstructionsForInterfaceOutputBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.InstructionList arg) |
Modifier and Type | Method and Description |
---|---|
GetEgressInstructionsForInterfaceOutputBuilder |
addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<GetEgressInstructionsForInterfaceOutput>> augmentationType,
org.opendaylight.yangtools.yang.binding.Augmentation<GetEgressInstructionsForInterfaceOutput> augmentationValue) |
<E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<GetEgressInstructionsForInterfaceOutput>> |
augmentation(Class<E$$> augmentationType) |
GetEgressInstructionsForInterfaceOutput |
build() |
void |
fieldsFrom(org.opendaylight.yangtools.yang.binding.DataObject arg)
Set fields from given grouping argument.
|
List<org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.instruction.list.Instruction> |
getInstruction() |
GetEgressInstructionsForInterfaceOutputBuilder |
removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<GetEgressInstructionsForInterfaceOutput>> augmentationType) |
GetEgressInstructionsForInterfaceOutputBuilder |
setInstruction(List<org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.instruction.list.Instruction> values) |
public GetEgressInstructionsForInterfaceOutputBuilder()
public GetEgressInstructionsForInterfaceOutputBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.InstructionList arg)
public GetEgressInstructionsForInterfaceOutputBuilder(GetEgressInstructionsForInterfaceOutput 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.flow.types.rev131026.instruction.list.Instruction> getInstruction()
public <E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<GetEgressInstructionsForInterfaceOutput>> E$$ augmentation(Class<E$$> augmentationType)
public GetEgressInstructionsForInterfaceOutputBuilder setInstruction(List<org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.instruction.list.Instruction> values)
public GetEgressInstructionsForInterfaceOutputBuilder addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<GetEgressInstructionsForInterfaceOutput>> augmentationType, org.opendaylight.yangtools.yang.binding.Augmentation<GetEgressInstructionsForInterfaceOutput> augmentationValue)
public GetEgressInstructionsForInterfaceOutputBuilder removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<GetEgressInstructionsForInterfaceOutput>> augmentationType)
public GetEgressInstructionsForInterfaceOutput build()
build
in interface org.opendaylight.yangtools.concepts.CheckedBuilder<GetEgressInstructionsForInterfaceOutput,IllegalArgumentException>
Copyright © 2019 OpenDaylight. All rights reserved.