public class ChannelBuilder extends Object implements org.opendaylight.yangtools.concepts.Builder<Channel>
Channel
instances.Channel
Constructor and Description |
---|
ChannelBuilder() |
ChannelBuilder(Channel base) |
Modifier and Type | Method and Description |
---|---|
ChannelBuilder |
addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<Channel>> augmentationType,
org.opendaylight.yangtools.yang.binding.Augmentation<Channel> augmentationValue) |
Channel |
build() |
<E extends org.opendaylight.yangtools.yang.binding.Augmentation<Channel>> |
getAugmentation(Class<E> augmentationType) |
String |
getHostname() |
Short |
getPort() |
Boolean |
isTcp() |
ChannelBuilder |
removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<Channel>> augmentationType) |
ChannelBuilder |
setHostname(String value) |
ChannelBuilder |
setPort(Short value) |
ChannelBuilder |
setTcp(Boolean value) |
public ChannelBuilder()
public ChannelBuilder(Channel base)
public String getHostname()
public Short getPort()
public Boolean isTcp()
public <E extends org.opendaylight.yangtools.yang.binding.Augmentation<Channel>> E getAugmentation(Class<E> augmentationType)
public ChannelBuilder setHostname(String value)
public ChannelBuilder setPort(Short value)
public ChannelBuilder setTcp(Boolean value)
public ChannelBuilder addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<Channel>> augmentationType, org.opendaylight.yangtools.yang.binding.Augmentation<Channel> augmentationValue)
public ChannelBuilder removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<Channel>> augmentationType)
Copyright © 2019 OpenDaylight. All rights reserved.