public class GetQueueConfigInputBuilder extends Object implements org.opendaylight.yangtools.concepts.Builder<GetQueueConfigInput>
GetQueueConfigInputBuilder
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:
GetQueueConfigInputBuilder createTarget(int fooXyzzy, int barBaz) {
return new GetQueueConfigInputBuilderBuilder()
.setFoo(new FooBuilder().setXyzzy(fooXyzzy).build())
.setBar(new BarBuilder().setBaz(barBaz).build())
.build();
}
This pattern is supported by the immutable nature of GetQueueConfigInputBuilder, 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 methodGetQueueConfigInputBuilder
,
Builder
Constructor and Description |
---|
GetQueueConfigInputBuilder() |
GetQueueConfigInputBuilder(GetQueueConfigInput base) |
GetQueueConfigInputBuilder(OfHeader arg) |
GetQueueConfigInputBuilder(QueueGetConfigRequest arg) |
Modifier and Type | Method and Description |
---|---|
GetQueueConfigInputBuilder |
addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<GetQueueConfigInput>> augmentationType,
org.opendaylight.yangtools.yang.binding.Augmentation<GetQueueConfigInput> augmentationValue) |
<E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<GetQueueConfigInput>> |
augmentation(Class<E$$> augmentationType) |
GetQueueConfigInput |
build() |
void |
fieldsFrom(org.opendaylight.yangtools.yang.binding.DataObject arg)
Set fields from given grouping argument.
|
PortNumber |
getPort() |
Short |
getVersion() |
Long |
getXid() |
GetQueueConfigInputBuilder |
removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<GetQueueConfigInput>> augmentationType) |
GetQueueConfigInputBuilder |
setPort(PortNumber value) |
GetQueueConfigInputBuilder |
setVersion(Short value) |
GetQueueConfigInputBuilder |
setXid(Long value) |
public GetQueueConfigInputBuilder()
public GetQueueConfigInputBuilder(QueueGetConfigRequest arg)
public GetQueueConfigInputBuilder(OfHeader arg)
public GetQueueConfigInputBuilder(GetQueueConfigInput base)
public void fieldsFrom(org.opendaylight.yangtools.yang.binding.DataObject arg)
arg
- grouping objectIllegalArgumentException
- if given argument is none of valid typespublic PortNumber getPort()
public Short getVersion()
public Long getXid()
public <E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<GetQueueConfigInput>> E$$ augmentation(Class<E$$> augmentationType)
public GetQueueConfigInputBuilder setPort(PortNumber value)
public GetQueueConfigInputBuilder setVersion(Short value)
public GetQueueConfigInputBuilder setXid(Long value)
public GetQueueConfigInputBuilder addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<GetQueueConfigInput>> augmentationType, org.opendaylight.yangtools.yang.binding.Augmentation<GetQueueConfigInput> augmentationValue)
public GetQueueConfigInputBuilder removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<GetQueueConfigInput>> augmentationType)
public GetQueueConfigInput build()
build
in interface org.opendaylight.yangtools.concepts.CheckedBuilder<GetQueueConfigInput,IllegalArgumentException>
Copyright © 2020 OpenDaylight. All rights reserved.