public static final class ImmutableGenericVersion.Builder extends Object
ImmutableGenericVersion.
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 |
|---|---|
ImmutableGenericVersion.Builder |
asInDownloadPath(String asInDownloadPath)
Initializes the value for the
asInDownloadPath attribute. |
ImmutableGenericVersion |
build()
Builds a new
ImmutableGenericVersion. |
ImmutableGenericVersion.Builder |
from(Version.GenericVersion instance)
Fill a builder with attribute values from the provided
de.flapdoodle.embed.process.distribution.Version.GenericVersion instance. |
ImmutableGenericVersion.Builder |
from(Version instance)
Fill a builder with attribute values from the provided
de.flapdoodle.embed.process.distribution.Version instance. |
public final ImmutableGenericVersion.Builder from(Version.GenericVersion instance)
de.flapdoodle.embed.process.distribution.Version.GenericVersion instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final ImmutableGenericVersion.Builder from(Version instance)
de.flapdoodle.embed.process.distribution.Version instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final ImmutableGenericVersion.Builder asInDownloadPath(String asInDownloadPath)
asInDownloadPath attribute.asInDownloadPath - The value for asInDownloadPaththis builder for use in a chained invocationpublic ImmutableGenericVersion build()
ImmutableGenericVersion.IllegalStateException - if any required attributes are missingCopyright © 2022. All rights reserved.