public class PrefixBuilder extends Object implements org.opendaylight.yangtools.concepts.Builder<Prefix>
PrefixBuilder
instances.PrefixBuilder
Constructor and Description |
---|
PrefixBuilder() |
PrefixBuilder(Prefix base) |
Modifier and Type | Method and Description |
---|---|
PrefixBuilder |
addAugmentation(Class<? extends Augmentation<Prefix>> augmentationType,
Augmentation<Prefix> augmentationValue) |
<E extends Augmentation<Prefix>> |
augmentation(Class<E> augmentationType) |
Prefix |
build() |
Long |
getPreferredLifetime() |
Ipv6Prefix |
getPrefixSpec() |
Long |
getValidLifetime() |
Boolean |
isAutonomousFlag() |
Boolean |
isOnLinkFlag() |
PrefixKey |
key() |
PrefixBuilder |
removeAugmentation(Class<? extends Augmentation<Prefix>> augmentationType) |
PrefixBuilder |
setAutonomousFlag(Boolean value) |
PrefixBuilder |
setOnLinkFlag(Boolean value) |
PrefixBuilder |
setPreferredLifetime(Long value) |
PrefixBuilder |
setPrefixSpec(Ipv6Prefix value) |
PrefixBuilder |
setValidLifetime(Long value) |
PrefixBuilder |
withKey(PrefixKey key) |
public PrefixBuilder()
public PrefixBuilder(Prefix base)
public PrefixKey key()
public Long getPreferredLifetime()
public Ipv6Prefix getPrefixSpec()
public Long getValidLifetime()
public Boolean isAutonomousFlag()
public Boolean isOnLinkFlag()
public <E extends Augmentation<Prefix>> E augmentation(Class<E> augmentationType)
public PrefixBuilder withKey(PrefixKey key)
public PrefixBuilder setPreferredLifetime(Long value)
public PrefixBuilder setPrefixSpec(Ipv6Prefix value)
public PrefixBuilder setValidLifetime(Long value)
public PrefixBuilder setAutonomousFlag(Boolean value)
public PrefixBuilder setOnLinkFlag(Boolean value)
public PrefixBuilder addAugmentation(Class<? extends Augmentation<Prefix>> augmentationType, Augmentation<Prefix> augmentationValue)
public PrefixBuilder removeAugmentation(Class<? extends Augmentation<Prefix>> augmentationType)
public Prefix build()
build
in interface org.opendaylight.yangtools.concepts.CheckedBuilder<Prefix,IllegalArgumentException>
Copyright © 2019 OpenDaylight. All rights reserved.