@NotThreadSafe public static final class ImmutableV3Explained.Builder<T,A,B,C> extends Object
ImmutableV3Explained.
Initialize attributes and then invoke the build() method to create an
immutable instance.
Builder is not thread-safe and generally should not be stored in a field or collection,
but instead used immediately to create instances.
| Modifier and Type | Method and Description |
|---|---|
ImmutableV3Explained<T,A,B,C> |
build()
Builds a new
ImmutableV3Explained. |
ImmutableV3Explained.Builder<T,A,B,C> |
delegate(V3<T,A,B,C> delegate)
Initializes the value for the
delegate attribute. |
ImmutableV3Explained.Builder<T,A,B,C> |
from(V3.V3Explained<T,A,B,C> instance)
Fill a builder with attribute values from the provided
V3Explained instance. |
ImmutableV3Explained.Builder<T,A,B,C> |
humanReadable(String humanReadable)
Initializes the value for the
humanReadable attribute. |
@CanIgnoreReturnValue public final ImmutableV3Explained.Builder<T,A,B,C> from(V3.V3Explained<T,A,B,C> instance)
V3Explained 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 ImmutableV3Explained.Builder<T,A,B,C> delegate(V3<T,A,B,C> delegate)
delegate attribute.delegate - The value for delegatethis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableV3Explained.Builder<T,A,B,C> humanReadable(String humanReadable)
humanReadable attribute.humanReadable - The value for humanReadablethis builder for use in a chained invocationpublic ImmutableV3Explained<T,A,B,C> build()
ImmutableV3Explained.IllegalStateException - if any required attributes are missingCopyright © 2023. All rights reserved.