public static final class ImmutableOsReleaseFileMapEntry.Builder extends Object
ImmutableOsReleaseFileMapEntry.
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 |
|---|---|
ImmutableOsReleaseFileMapEntry |
build()
Builds a new
ImmutableOsReleaseFileMapEntry. |
ImmutableOsReleaseFileMapEntry.Builder |
from(OsReleaseFileMapEntry instance)
Fill a builder with attribute values from the provided
OsReleaseFileMapEntry instance. |
ImmutableOsReleaseFileMapEntry.Builder |
key(String key)
Initializes the value for the
key attribute. |
ImmutableOsReleaseFileMapEntry.Builder |
valuePattern(Pattern valuePattern)
Initializes the value for the
valuePattern attribute. |
public final ImmutableOsReleaseFileMapEntry.Builder from(OsReleaseFileMapEntry instance)
OsReleaseFileMapEntry 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 ImmutableOsReleaseFileMapEntry.Builder key(String key)
key attribute.key - The value for keythis builder for use in a chained invocationpublic final ImmutableOsReleaseFileMapEntry.Builder valuePattern(Pattern valuePattern)
valuePattern attribute.valuePattern - The value for valuePatternthis builder for use in a chained invocationpublic ImmutableOsReleaseFileMapEntry build()
ImmutableOsReleaseFileMapEntry.IllegalStateException - if any required attributes are missingCopyright © 2022. All rights reserved.