public class DelayedIdEntriesBuilder extends Object implements org.opendaylight.yangtools.concepts.Builder<DelayedIdEntries>
DelayedIdEntriesBuilder
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:
DelayedIdEntriesBuilder createTarget(int fooXyzzy, int barBaz) {
return new DelayedIdEntriesBuilderBuilder()
.setFoo(new FooBuilder().setXyzzy(fooXyzzy).build())
.setBar(new BarBuilder().setBaz(barBaz).build())
.build();
}
This pattern is supported by the immutable nature of DelayedIdEntriesBuilder, 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 methodDelayedIdEntriesBuilder
,
Builder
Constructor and Description |
---|
DelayedIdEntriesBuilder() |
DelayedIdEntriesBuilder(DelayedIdEntries base) |
DelayedIdEntriesBuilder(DelayedIdEntry arg) |
Modifier and Type | Method and Description |
---|---|
DelayedIdEntriesBuilder |
addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<DelayedIdEntries>> augmentationType,
org.opendaylight.yangtools.yang.binding.Augmentation<DelayedIdEntries> augmentationValue) |
<E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<DelayedIdEntries>> |
augmentation(Class<E$$> augmentationType) |
DelayedIdEntries |
build() |
void |
fieldsFrom(org.opendaylight.yangtools.yang.binding.DataObject arg)
Set fields from given grouping argument.
|
Long |
getId() |
Long |
getReadyTimeSec() |
DelayedIdEntriesBuilder |
removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<DelayedIdEntries>> augmentationType) |
DelayedIdEntriesBuilder |
setId(Long value) |
DelayedIdEntriesBuilder |
setReadyTimeSec(Long value) |
public DelayedIdEntriesBuilder()
public DelayedIdEntriesBuilder(DelayedIdEntry arg)
public DelayedIdEntriesBuilder(DelayedIdEntries base)
public void fieldsFrom(org.opendaylight.yangtools.yang.binding.DataObject arg)
arg
- grouping objectIllegalArgumentException
- if given argument is none of valid typespublic Long getId()
public Long getReadyTimeSec()
public <E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<DelayedIdEntries>> E$$ augmentation(Class<E$$> augmentationType)
public DelayedIdEntriesBuilder setId(Long value)
public DelayedIdEntriesBuilder setReadyTimeSec(Long value)
public DelayedIdEntriesBuilder addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<DelayedIdEntries>> augmentationType, org.opendaylight.yangtools.yang.binding.Augmentation<DelayedIdEntries> augmentationValue)
public DelayedIdEntriesBuilder removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<DelayedIdEntries>> augmentationType)
public DelayedIdEntries build()
build
in interface org.opendaylight.yangtools.concepts.CheckedBuilder<DelayedIdEntries,IllegalArgumentException>
Copyright © 2019 OpenDaylight. All rights reserved.