public class GetEgressActionsForTunnelInputBuilder extends Object implements org.opendaylight.yangtools.concepts.Builder<GetEgressActionsForTunnelInput>
GetEgressActionsForTunnelInputBuilder
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:
GetEgressActionsForTunnelInputBuilder createTarget(int fooXyzzy, int barBaz) {
return new GetEgressActionsForTunnelInputBuilderBuilder()
.setFoo(new FooBuilder().setXyzzy(fooXyzzy).build())
.setBar(new BarBuilder().setBaz(barBaz).build())
.build();
}
This pattern is supported by the immutable nature of GetEgressActionsForTunnelInputBuilder, 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 methodGetEgressActionsForTunnelInputBuilder
,
Builder
Constructor and Description |
---|
GetEgressActionsForTunnelInputBuilder() |
GetEgressActionsForTunnelInputBuilder(GetEgressActionsForTunnelInput base) |
Modifier and Type | Method and Description |
---|---|
GetEgressActionsForTunnelInputBuilder |
addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<GetEgressActionsForTunnelInput>> augmentationType,
org.opendaylight.yangtools.yang.binding.Augmentation<GetEgressActionsForTunnelInput> augmentationValue) |
<E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<GetEgressActionsForTunnelInput>> |
augmentation(Class<E$$> augmentationType) |
GetEgressActionsForTunnelInput |
build() |
Integer |
getActionKey() |
String |
getIntfName() |
Long |
getTunnelKey() |
GetEgressActionsForTunnelInputBuilder |
removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<GetEgressActionsForTunnelInput>> augmentationType) |
GetEgressActionsForTunnelInputBuilder |
setActionKey(Integer value) |
GetEgressActionsForTunnelInputBuilder |
setIntfName(String value) |
GetEgressActionsForTunnelInputBuilder |
setTunnelKey(Long value) |
public GetEgressActionsForTunnelInputBuilder()
public GetEgressActionsForTunnelInputBuilder(GetEgressActionsForTunnelInput base)
public Integer getActionKey()
public String getIntfName()
public Long getTunnelKey()
public <E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<GetEgressActionsForTunnelInput>> E$$ augmentation(Class<E$$> augmentationType)
public GetEgressActionsForTunnelInputBuilder setActionKey(Integer value)
public GetEgressActionsForTunnelInputBuilder setIntfName(String value)
public GetEgressActionsForTunnelInputBuilder setTunnelKey(Long value)
public GetEgressActionsForTunnelInputBuilder addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<GetEgressActionsForTunnelInput>> augmentationType, org.opendaylight.yangtools.yang.binding.Augmentation<GetEgressActionsForTunnelInput> augmentationValue)
public GetEgressActionsForTunnelInputBuilder removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<GetEgressActionsForTunnelInput>> augmentationType)
public GetEgressActionsForTunnelInput build()
build
in interface org.opendaylight.yangtools.concepts.CheckedBuilder<GetEgressActionsForTunnelInput,IllegalArgumentException>
Copyright © 2019 OpenDaylight. All rights reserved.