public class ApplyActionsCaseBuilder extends Object implements org.opendaylight.yangtools.concepts.Builder<ApplyActionsCase>
ApplyActionsCaseBuilder
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:
ApplyActionsCaseBuilder createTarget(int fooXyzzy, int barBaz) {
return new ApplyActionsCaseBuilderBuilder()
.setFoo(new FooBuilder().setXyzzy(fooXyzzy).build())
.setBar(new BarBuilder().setBaz(barBaz).build())
.build();
}
This pattern is supported by the immutable nature of ApplyActionsCaseBuilder, 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 methodApplyActionsCaseBuilder
,
Builder
Constructor and Description |
---|
ApplyActionsCaseBuilder() |
ApplyActionsCaseBuilder(ApplyActionsCase base) |
Modifier and Type | Method and Description |
---|---|
ApplyActionsCaseBuilder |
addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<ApplyActionsCase>> augmentationType,
org.opendaylight.yangtools.yang.binding.Augmentation<ApplyActionsCase> augmentationValue) |
<E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<ApplyActionsCase>> |
augmentation(Class<E$$> augmentationType) |
ApplyActionsCase |
build() |
ApplyActions |
getApplyActions() |
ApplyActionsCaseBuilder |
removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<ApplyActionsCase>> augmentationType) |
ApplyActionsCaseBuilder |
setApplyActions(ApplyActions value) |
public ApplyActionsCaseBuilder()
public ApplyActionsCaseBuilder(ApplyActionsCase base)
public ApplyActions getApplyActions()
public <E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<ApplyActionsCase>> E$$ augmentation(Class<E$$> augmentationType)
public ApplyActionsCaseBuilder setApplyActions(ApplyActions value)
public ApplyActionsCaseBuilder addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<ApplyActionsCase>> augmentationType, org.opendaylight.yangtools.yang.binding.Augmentation<ApplyActionsCase> augmentationValue)
public ApplyActionsCaseBuilder removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<ApplyActionsCase>> augmentationType)
public ApplyActionsCase build()
build
in interface org.opendaylight.yangtools.concepts.CheckedBuilder<ApplyActionsCase,IllegalArgumentException>
Copyright © 2020 OpenDaylight. All rights reserved.