public class PortsBuilder extends Object implements org.opendaylight.yangtools.concepts.Builder<Ports>
PortsBuilder instances.PortsBuilder| Constructor and Description |
|---|
PortsBuilder() |
PortsBuilder(NumericTwoByteValue arg) |
PortsBuilder(Ports base) |
| Modifier and Type | Method and Description |
|---|---|
PortsBuilder |
addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<Ports>> augmentationType,
org.opendaylight.yangtools.yang.binding.Augmentation<Ports> augmentationValue) |
<E extends org.opendaylight.yangtools.yang.binding.Augmentation<Ports>> |
augmentation(Class<E> augmentationType) |
Ports |
build() |
void |
fieldsFrom(org.opendaylight.yangtools.yang.binding.DataObject arg)
Set fields from given grouping argument.
|
NumericOperand |
getOp() |
Integer |
getValue() |
PortsBuilder |
removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<Ports>> augmentationType) |
PortsBuilder |
setOp(NumericOperand value) |
PortsBuilder |
setValue(Integer value) |
public PortsBuilder()
public PortsBuilder(NumericTwoByteValue arg)
public PortsBuilder(Ports base)
public void fieldsFrom(org.opendaylight.yangtools.yang.binding.DataObject arg)
arg - grouping objectIllegalArgumentException - if given argument is none of valid typespublic NumericOperand getOp()
public Integer getValue()
public <E extends org.opendaylight.yangtools.yang.binding.Augmentation<Ports>> E augmentation(Class<E> augmentationType)
public PortsBuilder setOp(NumericOperand value)
public PortsBuilder setValue(Integer value)
public PortsBuilder addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<Ports>> augmentationType, org.opendaylight.yangtools.yang.binding.Augmentation<Ports> augmentationValue)
public PortsBuilder removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<Ports>> augmentationType)
public Ports build()
build in interface org.opendaylight.yangtools.concepts.CheckedBuilder<Ports,IllegalArgumentException>Copyright © 2019 OpenDaylight. All rights reserved.