public static final class ImmutableEnd.Builder extends Object
ImmutableEnd.
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 |
|---|---|
ImmutableEnd |
build()
Builds a new
ImmutableEnd. |
ImmutableEnd.Builder |
from(End instance)
Fill a builder with attribute values from the provided
de.flapdoodle.testdoc.End instance. |
ImmutableEnd.Builder |
from(HasLine instance)
Fill a builder with attribute values from the provided
de.flapdoodle.testdoc.HasLine instance. |
ImmutableEnd.Builder |
line(Line line)
Initializes the value for the
line attribute. |
public final ImmutableEnd.Builder from(HasLine instance)
de.flapdoodle.testdoc.HasLine instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final ImmutableEnd.Builder from(End instance)
de.flapdoodle.testdoc.End instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final ImmutableEnd.Builder line(Line line)
line attribute.line - The value for linethis builder for use in a chained invocationpublic ImmutableEnd build()
ImmutableEnd.IllegalStateException - if any required attributes are missingCopyright © 2017. All rights reserved.