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