public class SnapshotGatheringStatusStartBuilder extends Object implements org.opendaylight.yangtools.concepts.Builder<SnapshotGatheringStatusStart>
SnapshotGatheringStatusStartBuilder
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:
SnapshotGatheringStatusStartBuilder createTarget(int fooXyzzy, int barBaz) {
return new SnapshotGatheringStatusStartBuilderBuilder()
.setFoo(new FooBuilder().setXyzzy(fooXyzzy).build())
.setBar(new BarBuilder().setBaz(barBaz).build())
.build();
}
This pattern is supported by the immutable nature of SnapshotGatheringStatusStartBuilder, 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 methodSnapshotGatheringStatusStartBuilder
,
Builder
Constructor and Description |
---|
SnapshotGatheringStatusStartBuilder() |
SnapshotGatheringStatusStartBuilder(SnapshotGatheringStatusStart base) |
Modifier and Type | Method and Description |
---|---|
SnapshotGatheringStatusStartBuilder |
addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<SnapshotGatheringStatusStart>> augmentationType,
org.opendaylight.yangtools.yang.binding.Augmentation<SnapshotGatheringStatusStart> augmentationValue) |
<E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<SnapshotGatheringStatusStart>> |
augmentation(Class<E$$> augmentationType) |
SnapshotGatheringStatusStart |
build() |
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.DateAndTime |
getBegin() |
SnapshotGatheringStatusStartBuilder |
removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<SnapshotGatheringStatusStart>> augmentationType) |
SnapshotGatheringStatusStartBuilder |
setBegin(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.DateAndTime value) |
public SnapshotGatheringStatusStartBuilder()
public SnapshotGatheringStatusStartBuilder(SnapshotGatheringStatusStart base)
public org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.DateAndTime getBegin()
public <E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<SnapshotGatheringStatusStart>> E$$ augmentation(Class<E$$> augmentationType)
public SnapshotGatheringStatusStartBuilder setBegin(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.DateAndTime value)
public SnapshotGatheringStatusStartBuilder addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<SnapshotGatheringStatusStart>> augmentationType, org.opendaylight.yangtools.yang.binding.Augmentation<SnapshotGatheringStatusStart> augmentationValue)
public SnapshotGatheringStatusStartBuilder removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<SnapshotGatheringStatusStart>> augmentationType)
public SnapshotGatheringStatusStart build()
build
in interface org.opendaylight.yangtools.concepts.CheckedBuilder<SnapshotGatheringStatusStart,IllegalArgumentException>
Copyright © 2020 OpenDaylight. All rights reserved.