public class ServiceBuilder extends Object implements org.opendaylight.yangtools.concepts.Builder<Service>
Service instances.Service| Constructor and Description |
|---|
ServiceBuilder() |
ServiceBuilder(Service base) |
| Modifier and Type | Method and Description |
|---|---|
ServiceBuilder |
addAugmentation(Class<? extends Augmentation<Service>> augmentationType,
Augmentation<Service> augmentation) |
Service |
build() |
<E extends Augmentation<Service>> |
getAugmentation(Class<E> augmentationType) |
List<Instance> |
getInstance() |
ServiceKey |
getKey() |
Class<? extends ServiceType> |
getType() |
ServiceBuilder |
removeAugmentation(Class<? extends Augmentation<Service>> augmentationType) |
ServiceBuilder |
setInstance(List<Instance> value) |
ServiceBuilder |
setKey(ServiceKey value) |
ServiceBuilder |
setType(Class<? extends ServiceType> value) |
public ServiceBuilder()
public ServiceBuilder(Service base)
public ServiceKey getKey()
public Class<? extends ServiceType> getType()
public <E extends Augmentation<Service>> E getAugmentation(Class<E> augmentationType)
public ServiceBuilder setInstance(List<Instance> value)
public ServiceBuilder setKey(ServiceKey value)
public ServiceBuilder setType(Class<? extends ServiceType> value)
public ServiceBuilder addAugmentation(Class<? extends Augmentation<Service>> augmentationType, Augmentation<Service> augmentation)
public ServiceBuilder removeAugmentation(Class<? extends Augmentation<Service>> augmentationType)
Copyright © 2017 OpenDaylight. All rights reserved.