@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutableDirectoryListingParams extends Object implements DirectoryListingParams
DirectoryListingParams.
Use the builder to create immutable instances:
ImmutableDirectoryListingParams.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableDirectoryListingParams.Builder
Builds instances of type
ImmutableDirectoryListingParams. |
| Modifier and Type | Method and Description |
|---|---|
int |
attemptNumber()
The snapshot attempt number.
|
BackupRunUid |
backupRunUid()
The UID of the backup run.
|
boolean |
browseIndexedData()
Whether to use index data for listing.
|
static ImmutableDirectoryListingParams.Builder |
builder()
Creates a builder for
ImmutableDirectoryListingParams. |
static ImmutableDirectoryListingParams |
copyOf(DirectoryListingParams instance)
Creates an immutable copy of a
DirectoryListingParams value. |
String |
directoryPath()
The full directory path.
|
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableDirectoryListingParams that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
backupRunUid, vmUuid, volumeName, directoryPath, attemptNumber, paginationCookie, maxEntries, statFileEntries, browseIndexedData. |
Optional<Integer> |
maxEntries()
The maximum number of entries to return.
|
Optional<String> |
paginationCookie()
Cookie param to be used for pagination when all results don't fit on a
single page.
|
boolean |
statFileEntries()
Whether to return stat info for file entries.
|
String |
toString()
Prints the immutable value
DirectoryListingParams with attribute values. |
VmUuid |
vmUuid()
The UUID of the VM.
|
String |
volumeName()
The name of the associated volume.
|
ImmutableDirectoryListingParams |
withAttemptNumber(int value)
Copy the current immutable object by setting a value for the
attemptNumber attribute. |
ImmutableDirectoryListingParams |
withBackupRunUid(BackupRunUid value)
Copy the current immutable object by setting a value for the
backupRunUid attribute. |
ImmutableDirectoryListingParams |
withBrowseIndexedData(boolean value)
Copy the current immutable object by setting a value for the
browseIndexedData attribute. |
ImmutableDirectoryListingParams |
withDirectoryPath(String value)
Copy the current immutable object by setting a value for the
directoryPath attribute. |
ImmutableDirectoryListingParams |
withMaxEntries(int value)
Copy the current immutable object by setting a present value for the optional
maxEntries attribute. |
ImmutableDirectoryListingParams |
withMaxEntries(Optional<Integer> optional)
Copy the current immutable object by setting an optional value for the
maxEntries attribute. |
ImmutableDirectoryListingParams |
withPaginationCookie(Optional<String> optional)
Copy the current immutable object by setting an optional value for the
paginationCookie attribute. |
ImmutableDirectoryListingParams |
withPaginationCookie(String value)
Copy the current immutable object by setting a present value for the optional
paginationCookie attribute. |
ImmutableDirectoryListingParams |
withStatFileEntries(boolean value)
Copy the current immutable object by setting a value for the
statFileEntries attribute. |
ImmutableDirectoryListingParams |
withVmUuid(VmUuid value)
Copy the current immutable object by setting a value for the
vmUuid attribute. |
ImmutableDirectoryListingParams |
withVolumeName(String value)
Copy the current immutable object by setting a value for the
volumeName attribute. |
public BackupRunUid backupRunUid()
backupRunUid in interface DirectoryListingParamspublic VmUuid vmUuid()
vmUuid in interface DirectoryListingParamspublic String volumeName()
volumeName in interface DirectoryListingParamspublic String directoryPath()
directoryPath in interface DirectoryListingParamspublic int attemptNumber()
attemptNumber in interface DirectoryListingParamspublic Optional<String> paginationCookie()
paginationCookie in interface DirectoryListingParamspublic Optional<Integer> maxEntries()
maxEntries in interface DirectoryListingParamspublic boolean statFileEntries()
statFileEntries in interface DirectoryListingParamspublic boolean browseIndexedData()
browseIndexedData in interface DirectoryListingParamspublic final ImmutableDirectoryListingParams withBackupRunUid(BackupRunUid value)
backupRunUid attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for backupRunUidthis objectpublic final ImmutableDirectoryListingParams withVmUuid(VmUuid value)
vmUuid attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for vmUuidthis objectpublic final ImmutableDirectoryListingParams withVolumeName(String value)
volumeName attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for volumeNamethis objectpublic final ImmutableDirectoryListingParams withDirectoryPath(String value)
directoryPath attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for directoryPaththis objectpublic final ImmutableDirectoryListingParams withAttemptNumber(int value)
attemptNumber attribute.
A value equality check is used to prevent copying of the same value by returning this.value - A new value for attemptNumberthis objectpublic final ImmutableDirectoryListingParams withPaginationCookie(String value)
paginationCookie attribute.value - The value for paginationCookiethis objectpublic final ImmutableDirectoryListingParams withPaginationCookie(Optional<String> optional)
paginationCookie attribute.
An equality check is used on inner nullable value to prevent copying of the same value by returning this.optional - A value for paginationCookiethis objectpublic final ImmutableDirectoryListingParams withMaxEntries(int value)
maxEntries attribute.value - The value for maxEntriesthis objectpublic final ImmutableDirectoryListingParams withMaxEntries(Optional<Integer> optional)
maxEntries attribute.
An equality check is used on inner nullable value to prevent copying of the same value by returning this.optional - A value for maxEntriesthis objectpublic final ImmutableDirectoryListingParams withStatFileEntries(boolean value)
statFileEntries attribute.
A value equality check is used to prevent copying of the same value by returning this.value - A new value for statFileEntriesthis objectpublic final ImmutableDirectoryListingParams withBrowseIndexedData(boolean value)
browseIndexedData attribute.
A value equality check is used to prevent copying of the same value by returning this.value - A new value for browseIndexedDatathis objectpublic boolean equals(@Nullable Object another)
ImmutableDirectoryListingParams that have equal attribute values.public int hashCode()
backupRunUid, vmUuid, volumeName, directoryPath, attemptNumber, paginationCookie, maxEntries, statFileEntries, browseIndexedData.public String toString()
DirectoryListingParams with attribute values.public static ImmutableDirectoryListingParams copyOf(DirectoryListingParams instance)
DirectoryListingParams value.
Uses accessors to get values to initialize the new immutable instance.
If an instance is already immutable, it is returned as is.instance - The instance to copypublic static ImmutableDirectoryListingParams.Builder builder()
ImmutableDirectoryListingParams.
ImmutableDirectoryListingParams.builder()
.backupRunUid(com.iland.cohesity.iaas.backups.common.model.BackupRunUid) // required backupRunUid
.vmUuid(com.iland.cohesity.iaas.backups.common.model.VmUuid) // required vmUuid
.volumeName(String) // required volumeName
.directoryPath(String) // required directoryPath
.attemptNumber(int) // optional attemptNumber
.paginationCookie(String) // optional paginationCookie
.maxEntries(Integer) // optional maxEntries
.statFileEntries(boolean) // optional statFileEntries
.browseIndexedData(boolean) // optional browseIndexedData
.build();
Copyright © 2023 iland Internet Solutions, Corp. All rights reserved.