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