public class UnknownVtepsBuilder extends Object implements org.opendaylight.yangtools.concepts.Builder<UnknownVteps>
UnknownVtepsBuilder
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:
UnknownVtepsBuilder createTarget(int fooXyzzy, int barBaz) {
return new UnknownVtepsBuilderBuilder()
.setFoo(new FooBuilder().setXyzzy(fooXyzzy).build())
.setBar(new BarBuilder().setBaz(barBaz).build())
.build();
}
This pattern is supported by the immutable nature of UnknownVtepsBuilder, 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 methodUnknownVtepsBuilder
,
Builder
Constructor and Description |
---|
UnknownVtepsBuilder() |
UnknownVtepsBuilder(UnknownVteps base) |
Modifier and Type | Method and Description |
---|---|
UnknownVtepsBuilder |
addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<UnknownVteps>> augmentationType,
org.opendaylight.yangtools.yang.binding.Augmentation<UnknownVteps> augmentationValue) |
<E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<UnknownVteps>> |
augmentation(Class<E$$> augmentationType) |
UnknownVteps |
build() |
BigInteger |
getDpnId() |
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress |
getIpAddress() |
String |
getOptionTunnelTos() |
Boolean |
isOfTunnel() |
UnknownVtepsKey |
key() |
UnknownVtepsBuilder |
removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<UnknownVteps>> augmentationType) |
UnknownVtepsBuilder |
setDpnId(BigInteger value) |
UnknownVtepsBuilder |
setIpAddress(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress value) |
UnknownVtepsBuilder |
setOfTunnel(Boolean value) |
UnknownVtepsBuilder |
setOptionTunnelTos(String value) |
UnknownVtepsBuilder |
withKey(UnknownVtepsKey key) |
public UnknownVtepsBuilder()
public UnknownVtepsBuilder(UnknownVteps base)
public UnknownVtepsKey key()
public BigInteger getDpnId()
public org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress getIpAddress()
public String getOptionTunnelTos()
public Boolean isOfTunnel()
public <E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<UnknownVteps>> E$$ augmentation(Class<E$$> augmentationType)
public UnknownVtepsBuilder withKey(UnknownVtepsKey key)
public UnknownVtepsBuilder setDpnId(BigInteger value)
public UnknownVtepsBuilder setIpAddress(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress value)
public UnknownVtepsBuilder setOptionTunnelTos(String value)
public UnknownVtepsBuilder setOfTunnel(Boolean value)
public UnknownVtepsBuilder addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<UnknownVteps>> augmentationType, org.opendaylight.yangtools.yang.binding.Augmentation<UnknownVteps> augmentationValue)
public UnknownVtepsBuilder removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<UnknownVteps>> augmentationType)
public UnknownVteps build()
build
in interface org.opendaylight.yangtools.concepts.CheckedBuilder<UnknownVteps,IllegalArgumentException>
Copyright © 2019 OpenDaylight. All rights reserved.