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