@NotThreadSafe public static final class ImmutableFStatInfo.Builder extends Object
ImmutableFStatInfo.
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 |
|---|---|
ImmutableFStatInfo |
build()
Builds a new
ImmutableFStatInfo. |
ImmutableFStatInfo.Builder |
from(FStatInfo instance)
Fill a builder with attribute values from the provided
FStatInfo instance. |
ImmutableFStatInfo.Builder |
modifiedTime(Instant modifiedTime)
Initializes the value for the
modifiedTime attribute. |
ImmutableFStatInfo.Builder |
size(long size)
Initializes the value for the
size attribute. |
public final ImmutableFStatInfo.Builder from(FStatInfo instance)
FStatInfo 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 ImmutableFStatInfo.Builder modifiedTime(Instant modifiedTime)
modifiedTime attribute.modifiedTime - The value for modifiedTimethis builder for use in a chained invocationpublic final ImmutableFStatInfo.Builder size(long size)
size attribute.size - The value for sizethis builder for use in a chained invocationpublic ImmutableFStatInfo build()
ImmutableFStatInfo.IllegalStateException - if any required attributes are missingCopyright © 2023 iland Internet Solutions, Corp. All rights reserved.