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