@NotThreadSafe public static final class ImmutableFN4checkNull.Builder<A,B,C,D,R> extends Object
ImmutableFN4checkNull.
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 |
|---|---|
ImmutableFN4checkNull.Builder<A,B,C,D,R> |
a(String a)
Initializes the value for the
a attribute. |
ImmutableFN4checkNull.Builder<A,B,C,D,R> |
b(String b)
Initializes the value for the
b attribute. |
ImmutableFN4checkNull<A,B,C,D,R> |
build()
Builds a new
ImmutableFN4checkNull. |
ImmutableFN4checkNull.Builder<A,B,C,D,R> |
c(String c)
Initializes the value for the
c attribute. |
ImmutableFN4checkNull.Builder<A,B,C,D,R> |
d(String d)
Initializes the value for the
d attribute. |
ImmutableFN4checkNull.Builder<A,B,C,D,R> |
delegate(F4<A,B,C,D,R> delegate)
Initializes the value for the
delegate attribute. |
ImmutableFN4checkNull.Builder<A,B,C,D,R> |
from(FN4.FN4checkNull<A,B,C,D,R> instance)
Fill a builder with attribute values from the provided
FN4checkNull instance. |
@CanIgnoreReturnValue public final ImmutableFN4checkNull.Builder<A,B,C,D,R> from(FN4.FN4checkNull<A,B,C,D,R> instance)
FN4checkNull 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 ImmutableFN4checkNull.Builder<A,B,C,D,R> delegate(F4<A,B,C,D,R> delegate)
delegate attribute.delegate - The value for delegatethis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableFN4checkNull.Builder<A,B,C,D,R> a(String a)
a attribute.a - The value for athis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableFN4checkNull.Builder<A,B,C,D,R> b(String b)
b attribute.b - The value for bthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableFN4checkNull.Builder<A,B,C,D,R> c(String c)
c attribute.c - The value for cthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableFN4checkNull.Builder<A,B,C,D,R> d(String d)
d attribute.d - The value for dthis builder for use in a chained invocationpublic ImmutableFN4checkNull<A,B,C,D,R> build()
ImmutableFN4checkNull.IllegalStateException - if any required attributes are missingCopyright © 2023. All rights reserved.