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