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