@ParametersAreNonnullByDefault @Generated(value={"Immutables.generator","TunnelEndPointInfo"}) @NotThreadSafe public final class TunnelEndPointInfoBuilder extends Object
TunnelEndPointInfo.
Initialize attributes and then invoke the build() method to create an
immutable instance.
TunnelEndPointInfoBuilder is not thread-safe and generally should not be stored in a field or collection,
but instead used immediately to create instances.
| Constructor and Description |
|---|
TunnelEndPointInfoBuilder()
Creates a builder for
TunnelEndPointInfo instances. |
| Modifier and Type | Method and Description |
|---|---|
TunnelEndPointInfo |
build()
Builds a new
TunnelEndPointInfo. |
TunnelEndPointInfoBuilder |
from(TunnelEndPointInfo instance)
Fill a builder with attribute values from the provided
TunnelEndPointInfo instance. |
TunnelEndPointInfoBuilder |
setDstEndPointInfo(String dstEndPointInfo)
Initializes the value for the
dstEndPointInfo attribute. |
TunnelEndPointInfoBuilder |
setSrcEndPointInfo(String srcEndPointInfo)
Initializes the value for the
srcEndPointInfo attribute. |
public TunnelEndPointInfoBuilder()
TunnelEndPointInfo instances.@CanIgnoreReturnValue public final TunnelEndPointInfoBuilder from(TunnelEndPointInfo instance)
TunnelEndPointInfo instance.
Regular attribute values will be replaced with those from the given instance.
Absent optional values will not replace present values.instance - The instance from which to copy valuesthis builder for use in a chained invocation@CanIgnoreReturnValue public final TunnelEndPointInfoBuilder setSrcEndPointInfo(String srcEndPointInfo)
srcEndPointInfo attribute.srcEndPointInfo - The value for srcEndPointInfothis builder for use in a chained invocation@CanIgnoreReturnValue public final TunnelEndPointInfoBuilder setDstEndPointInfo(String dstEndPointInfo)
dstEndPointInfo attribute.dstEndPointInfo - The value for dstEndPointInfothis builder for use in a chained invocationpublic TunnelEndPointInfo build()
TunnelEndPointInfo.IllegalStateException - if any required attributes are missingCopyright © 2019 OpenDaylight. All rights reserved.