public class AcleFaultStatusBuilder extends Object implements org.opendaylight.yangtools.concepts.Builder<AcleFaultStatus>
AcleFaultStatusBuilder
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:
AcleFaultStatusBuilder createTarget(int fooXyzzy, int barBaz) {
return new AcleFaultStatusBuilderBuilder()
.setFoo(new FooBuilder().setXyzzy(fooXyzzy).build())
.setBar(new BarBuilder().setBaz(barBaz).build())
.build();
}
This pattern is supported by the immutable nature of AcleFaultStatusBuilder, 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 methodAcleFaultStatusBuilder
,
Builder
Constructor and Description |
---|
AcleFaultStatusBuilder() |
AcleFaultStatusBuilder(AcleFaultStatus base) |
Modifier and Type | Method and Description |
---|---|
AcleFaultStatusBuilder |
addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<AcleFaultStatus>> augmentationType,
org.opendaylight.yangtools.yang.binding.Augmentation<AcleFaultStatus> augmentationValue) |
<E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<AcleFaultStatus>> |
augmentation(Class<E$$> augmentationType) |
AcleFaultStatus |
build() |
String |
getAcleFaultStatusKey() |
String |
getAcleFaultStatusValue() |
AcleFaultStatusKey |
key() |
AcleFaultStatusBuilder |
removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<AcleFaultStatus>> augmentationType) |
AcleFaultStatusBuilder |
setAcleFaultStatusKey(String value) |
AcleFaultStatusBuilder |
setAcleFaultStatusValue(String value) |
AcleFaultStatusBuilder |
withKey(AcleFaultStatusKey key) |
public AcleFaultStatusBuilder()
public AcleFaultStatusBuilder(AcleFaultStatus base)
public AcleFaultStatusKey key()
public String getAcleFaultStatusKey()
public String getAcleFaultStatusValue()
public <E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<AcleFaultStatus>> E$$ augmentation(Class<E$$> augmentationType)
public AcleFaultStatusBuilder withKey(AcleFaultStatusKey key)
public AcleFaultStatusBuilder setAcleFaultStatusKey(String value)
public AcleFaultStatusBuilder setAcleFaultStatusValue(String value)
public AcleFaultStatusBuilder addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<AcleFaultStatus>> augmentationType, org.opendaylight.yangtools.yang.binding.Augmentation<AcleFaultStatus> augmentationValue)
public AcleFaultStatusBuilder removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<AcleFaultStatus>> augmentationType)
public AcleFaultStatus build()
build
in interface org.opendaylight.yangtools.concepts.CheckedBuilder<AcleFaultStatus,IllegalArgumentException>
Copyright © 2019 OpenDaylight. All rights reserved.