public static final class ImmutableInitTempDirectory.Builder extends Object
ImmutableInitTempDirectory.
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 |
|---|---|
ImmutableInitTempDirectory |
build()
Builds a new
ImmutableInitTempDirectory. |
ImmutableInitTempDirectory.Builder |
from(InitTempDirectory instance)
Fill a builder with attribute values from the provided
InitTempDirectory instance. |
ImmutableInitTempDirectory.Builder |
tempDir(TempDir tempDir)
Initializes the value for the
tempDir attribute. |
public final ImmutableInitTempDirectory.Builder from(InitTempDirectory instance)
InitTempDirectory 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 final ImmutableInitTempDirectory.Builder tempDir(TempDir tempDir)
tempDir attribute.
If not set, this attribute will have a default value as returned by the initializer of tempDir.
tempDir - The value for tempDirthis builder for use in a chained invocationpublic ImmutableInitTempDirectory build()
ImmutableInitTempDirectory.IllegalStateException - if any required attributes are missingCopyright © 2024. All rights reserved.