public class GetNodeconnectorIdFromInterfaceOutputBuilder extends Object implements org.opendaylight.yangtools.concepts.Builder<GetNodeconnectorIdFromInterfaceOutput>
GetNodeconnectorIdFromInterfaceOutputBuilder
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:
GetNodeconnectorIdFromInterfaceOutputBuilder createTarget(int fooXyzzy, int barBaz) {
return new GetNodeconnectorIdFromInterfaceOutputBuilderBuilder()
.setFoo(new FooBuilder().setXyzzy(fooXyzzy).build())
.setBar(new BarBuilder().setBaz(barBaz).build())
.build();
}
This pattern is supported by the immutable nature of GetNodeconnectorIdFromInterfaceOutputBuilder, 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 methodGetNodeconnectorIdFromInterfaceOutputBuilder
,
Builder
Constructor and Description |
---|
GetNodeconnectorIdFromInterfaceOutputBuilder() |
GetNodeconnectorIdFromInterfaceOutputBuilder(GetNodeconnectorIdFromInterfaceOutput base) |
Modifier and Type | Method and Description |
---|---|
GetNodeconnectorIdFromInterfaceOutputBuilder |
addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<GetNodeconnectorIdFromInterfaceOutput>> augmentationType,
org.opendaylight.yangtools.yang.binding.Augmentation<GetNodeconnectorIdFromInterfaceOutput> augmentationValue) |
<E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<GetNodeconnectorIdFromInterfaceOutput>> |
augmentation(Class<E$$> augmentationType) |
GetNodeconnectorIdFromInterfaceOutput |
build() |
org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeConnectorId |
getNodeconnectorId() |
GetNodeconnectorIdFromInterfaceOutputBuilder |
removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<GetNodeconnectorIdFromInterfaceOutput>> augmentationType) |
GetNodeconnectorIdFromInterfaceOutputBuilder |
setNodeconnectorId(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeConnectorId value) |
public GetNodeconnectorIdFromInterfaceOutputBuilder()
public GetNodeconnectorIdFromInterfaceOutputBuilder(GetNodeconnectorIdFromInterfaceOutput base)
public org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeConnectorId getNodeconnectorId()
public <E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<GetNodeconnectorIdFromInterfaceOutput>> E$$ augmentation(Class<E$$> augmentationType)
public GetNodeconnectorIdFromInterfaceOutputBuilder setNodeconnectorId(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeConnectorId value)
public GetNodeconnectorIdFromInterfaceOutputBuilder addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<GetNodeconnectorIdFromInterfaceOutput>> augmentationType, org.opendaylight.yangtools.yang.binding.Augmentation<GetNodeconnectorIdFromInterfaceOutput> augmentationValue)
public GetNodeconnectorIdFromInterfaceOutputBuilder removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<GetNodeconnectorIdFromInterfaceOutput>> augmentationType)
public GetNodeconnectorIdFromInterfaceOutput build()
build
in interface org.opendaylight.yangtools.concepts.CheckedBuilder<GetNodeconnectorIdFromInterfaceOutput,IllegalArgumentException>
Copyright © 2019 OpenDaylight. All rights reserved.