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