@NotThreadSafe public static final class ImmutableDirectoryListingParams.Builder extends Object
ImmutableDirectoryListingParams.
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.
public final ImmutableDirectoryListingParams.Builder from(DirectoryListingParams instance)
DirectoryListingParams 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 ImmutableDirectoryListingParams.Builder backupRunUid(BackupRunUid backupRunUid)
backupRunUid attribute.backupRunUid - The value for backupRunUidthis builder for use in a chained invocationpublic final ImmutableDirectoryListingParams.Builder vmUuid(VmUuid vmUuid)
vmUuid attribute.vmUuid - The value for vmUuidthis builder for use in a chained invocationpublic final ImmutableDirectoryListingParams.Builder volumeName(String volumeName)
volumeName attribute.volumeName - The value for volumeNamethis builder for use in a chained invocationpublic final ImmutableDirectoryListingParams.Builder directoryPath(String directoryPath)
directoryPath attribute.directoryPath - The value for directoryPaththis builder for use in a chained invocationpublic final ImmutableDirectoryListingParams.Builder attemptNumber(int attemptNumber)
attemptNumber attribute.
If not set, this attribute will have a default value as returned by the initializer of attemptNumber.
attemptNumber - The value for attemptNumberthis builder for use in a chained invocationpublic final ImmutableDirectoryListingParams.Builder paginationCookie(String paginationCookie)
paginationCookie to paginationCookie.paginationCookie - The value for paginationCookiethis builder for chained invocationpublic final ImmutableDirectoryListingParams.Builder paginationCookie(Optional<String> paginationCookie)
paginationCookie to paginationCookie.paginationCookie - The value for paginationCookiethis builder for use in a chained invocationpublic final ImmutableDirectoryListingParams.Builder maxEntries(int maxEntries)
maxEntries to maxEntries.maxEntries - The value for maxEntriesthis builder for chained invocationpublic final ImmutableDirectoryListingParams.Builder maxEntries(Optional<Integer> maxEntries)
maxEntries to maxEntries.maxEntries - The value for maxEntriesthis builder for use in a chained invocationpublic final ImmutableDirectoryListingParams.Builder statFileEntries(boolean statFileEntries)
statFileEntries attribute.
If not set, this attribute will have a default value as returned by the initializer of statFileEntries.
statFileEntries - The value for statFileEntriesthis builder for use in a chained invocationpublic final ImmutableDirectoryListingParams.Builder browseIndexedData(boolean browseIndexedData)
browseIndexedData attribute.
If not set, this attribute will have a default value as returned by the initializer of browseIndexedData.
browseIndexedData - The value for browseIndexedDatathis builder for use in a chained invocationpublic ImmutableDirectoryListingParams build()
ImmutableDirectoryListingParams.IllegalStateException - if any required attributes are missingCopyright © 2023 iland Internet Solutions, Corp. All rights reserved.