@NotThreadSafe public static final class ImmutableF1Identity.Builder<X> extends Object
ImmutableF1Identity.
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 |
|---|---|
ImmutableF1Identity<X> |
build()
Builds a new
ImmutableF1Identity. |
ImmutableF1Identity.Builder<X> |
from(F1.F1Identity<X> instance)
Fill a builder with attribute values from the provided
F1Identity instance. |
@CanIgnoreReturnValue public final ImmutableF1Identity.Builder<X> from(F1.F1Identity<X> instance)
F1Identity 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 invocationpublic ImmutableF1Identity<X> build()
ImmutableF1Identity.IllegalStateException - if any required attributes are missingCopyright © 2023. All rights reserved.