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