public class RemoteDpnsBuilder extends Object implements org.opendaylight.yangtools.concepts.Builder<RemoteDpns>
RemoteDpnsBuilder
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:
RemoteDpnsBuilder createTarget(int fooXyzzy, int barBaz) {
return new RemoteDpnsBuilderBuilder()
.setFoo(new FooBuilder().setXyzzy(fooXyzzy).build())
.setBar(new BarBuilder().setBaz(barBaz).build())
.build();
}
This pattern is supported by the immutable nature of RemoteDpnsBuilder, 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 methodRemoteDpnsBuilder
,
Builder
Constructor and Description |
---|
RemoteDpnsBuilder() |
RemoteDpnsBuilder(RemoteDpns base) |
public RemoteDpnsBuilder()
public RemoteDpnsBuilder(RemoteDpns base)
public RemoteDpnsKey key()
public BigInteger getDestinationDpnId()
public Integer getMonitoringInterval()
public String getTunnelName()
public Boolean isInternal()
public Boolean isMonitoringEnabled()
public <E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<RemoteDpns>> E$$ augmentation(Class<E$$> augmentationType)
public RemoteDpnsBuilder withKey(RemoteDpnsKey key)
public RemoteDpnsBuilder setDestinationDpnId(BigInteger value)
public RemoteDpnsBuilder setMonitoringInterval(Integer value)
public RemoteDpnsBuilder setTunnelName(String value)
public RemoteDpnsBuilder setInternal(Boolean value)
public RemoteDpnsBuilder setMonitoringEnabled(Boolean value)
public RemoteDpnsBuilder addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<RemoteDpns>> augmentationType, org.opendaylight.yangtools.yang.binding.Augmentation<RemoteDpns> augmentationValue)
public RemoteDpnsBuilder removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<RemoteDpns>> augmentationType)
public RemoteDpns build()
build
in interface org.opendaylight.yangtools.concepts.CheckedBuilder<RemoteDpns,IllegalArgumentException>
Copyright © 2019 OpenDaylight. All rights reserved.