public class PccIdReqBuilder extends Object implements org.opendaylight.yangtools.concepts.Builder<PccIdReq>
PccIdReqBuilder 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:
PccIdReqBuilder createTarget(int fooXyzzy, int barBaz) {
return new PccIdReqBuilderBuilder()
.setFoo(new FooBuilder().setXyzzy(fooXyzzy).build())
.setBar(new BarBuilder().setBaz(barBaz).build())
.build();
}
This pattern is supported by the immutable nature of PccIdReqBuilder, 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 methodPccIdReqBuilder,
Builder| Constructor and Description |
|---|
PccIdReqBuilder() |
PccIdReqBuilder(Object arg) |
PccIdReqBuilder(ObjectHeader arg) |
PccIdReqBuilder(PccIdReq base) |
| Modifier and Type | Method and Description |
|---|---|
PccIdReqBuilder |
addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<PccIdReq>> augmentationType,
org.opendaylight.yangtools.yang.binding.Augmentation<PccIdReq> augmentationValue) |
<E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<PccIdReq>> |
augmentation(Class<E$$> augmentationType) |
PccIdReq |
build() |
void |
fieldsFrom(org.opendaylight.yangtools.yang.binding.DataObject arg)
Set fields from given grouping argument.
|
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddressNoZone |
getIpAddress() |
Boolean |
isIgnore() |
Boolean |
isProcessingRule() |
PccIdReqBuilder |
removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<PccIdReq>> augmentationType) |
PccIdReqBuilder |
setIgnore(Boolean value) |
PccIdReqBuilder |
setIpAddress(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddressNoZone value) |
PccIdReqBuilder |
setProcessingRule(Boolean value) |
public PccIdReqBuilder()
public PccIdReqBuilder(Object arg)
public PccIdReqBuilder(ObjectHeader arg)
public PccIdReqBuilder(PccIdReq base)
public void fieldsFrom(org.opendaylight.yangtools.yang.binding.DataObject arg)
arg - grouping objectIllegalArgumentException - if given argument is none of valid typespublic org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddressNoZone getIpAddress()
public Boolean isIgnore()
public Boolean isProcessingRule()
public <E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<PccIdReq>> E$$ augmentation(Class<E$$> augmentationType)
public PccIdReqBuilder setIpAddress(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddressNoZone value)
public PccIdReqBuilder setIgnore(Boolean value)
public PccIdReqBuilder setProcessingRule(Boolean value)
public PccIdReqBuilder addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<PccIdReq>> augmentationType, org.opendaylight.yangtools.yang.binding.Augmentation<PccIdReq> augmentationValue)
public PccIdReqBuilder removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<PccIdReq>> augmentationType)
public PccIdReq build()
build in interface org.opendaylight.yangtools.concepts.CheckedBuilder<PccIdReq,IllegalArgumentException>Copyright © 2020 OpenDaylight. All rights reserved.