@NotThreadSafe public static final class ImmutableV0Explained.Builder<T> extends Object
ImmutableV0Explained.
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 |
|---|---|
ImmutableV0Explained<T> |
build()
Builds a new
ImmutableV0Explained. |
ImmutableV0Explained.Builder<T> |
delegate(V0<T> delegate)
Initializes the value for the
delegate attribute. |
ImmutableV0Explained.Builder<T> |
from(V0.V0Explained<T> instance)
Fill a builder with attribute values from the provided
V0Explained instance. |
ImmutableV0Explained.Builder<T> |
humanReadable(String humanReadable)
Initializes the value for the
humanReadable attribute. |
@CanIgnoreReturnValue public final ImmutableV0Explained.Builder<T> from(V0.V0Explained<T> instance)
V0Explained 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 ImmutableV0Explained.Builder<T> delegate(V0<T> delegate)
delegate attribute.delegate - The value for delegatethis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableV0Explained.Builder<T> humanReadable(String humanReadable)
humanReadable attribute.humanReadable - The value for humanReadablethis builder for use in a chained invocationpublic ImmutableV0Explained<T> build()
ImmutableV0Explained.IllegalStateException - if any required attributes are missingCopyright © 2023. All rights reserved.