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