@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutableCreateFilesAndFoldersDownloadTaskParams extends Object implements CreateFilesAndFoldersDownloadTaskParams
CreateFilesAndFoldersDownloadTaskParams
.
Use the builder to create immutable instances:
ImmutableCreateFilesAndFoldersDownloadTaskParams.builder()
.
Modifier and Type | Class and Description |
---|---|
static class |
ImmutableCreateFilesAndFoldersDownloadTaskParams.Builder
Builds instances of type
ImmutableCreateFilesAndFoldersDownloadTaskParams . |
Modifier and Type | Method and Description |
---|---|
BackupRunUid |
backupRunUid()
The UID of the backup run that is associated with files to be downloaded.
|
static ImmutableCreateFilesAndFoldersDownloadTaskParams.Builder |
builder()
Creates a builder for
ImmutableCreateFilesAndFoldersDownloadTaskParams . |
static ImmutableCreateFilesAndFoldersDownloadTaskParams |
copyOf(CreateFilesAndFoldersDownloadTaskParams instance)
Creates an immutable copy of a
CreateFilesAndFoldersDownloadTaskParams value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableCreateFilesAndFoldersDownloadTaskParams that have equal attribute values. |
com.google.common.collect.ImmutableSet<FilesAndFoldersInfo> |
filesAndFolders()
The set of files/folders to be included.
|
int |
hashCode()
Computes a hash code from attributes:
taskName , backupRunUid , vmUuid , filesAndFolders . |
String |
taskName()
The name that should be associated with the task.
|
String |
toString()
Prints the immutable value
CreateFilesAndFoldersDownloadTaskParams with attribute values. |
VmUuid |
vmUuid()
The UUID of the VM that is associated with files to be downloaded.
|
ImmutableCreateFilesAndFoldersDownloadTaskParams |
withBackupRunUid(BackupRunUid value)
Copy the current immutable object by setting a value for the
backupRunUid attribute. |
ImmutableCreateFilesAndFoldersDownloadTaskParams |
withFilesAndFolders(FilesAndFoldersInfo... elements)
Copy the current immutable object with elements that replace the content of
filesAndFolders . |
ImmutableCreateFilesAndFoldersDownloadTaskParams |
withFilesAndFolders(Iterable<? extends FilesAndFoldersInfo> elements)
Copy the current immutable object with elements that replace the content of
filesAndFolders . |
ImmutableCreateFilesAndFoldersDownloadTaskParams |
withTaskName(String value)
Copy the current immutable object by setting a value for the
taskName attribute. |
ImmutableCreateFilesAndFoldersDownloadTaskParams |
withVmUuid(VmUuid value)
Copy the current immutable object by setting a value for the
vmUuid attribute. |
public String taskName()
taskName
in interface CreateFilesAndFoldersDownloadTaskParams
public BackupRunUid backupRunUid()
backupRunUid
in interface CreateFilesAndFoldersDownloadTaskParams
public VmUuid vmUuid()
vmUuid
in interface CreateFilesAndFoldersDownloadTaskParams
public com.google.common.collect.ImmutableSet<FilesAndFoldersInfo> filesAndFolders()
filesAndFolders
in interface CreateFilesAndFoldersDownloadTaskParams
public final ImmutableCreateFilesAndFoldersDownloadTaskParams withTaskName(String value)
taskName
attribute.
An equals check used to prevent copying of the same value by returning this
.value
- A new value for taskNamethis
objectpublic final ImmutableCreateFilesAndFoldersDownloadTaskParams 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 ImmutableCreateFilesAndFoldersDownloadTaskParams 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 ImmutableCreateFilesAndFoldersDownloadTaskParams withFilesAndFolders(FilesAndFoldersInfo... elements)
filesAndFolders
.elements
- The elements to setthis
objectpublic final ImmutableCreateFilesAndFoldersDownloadTaskParams withFilesAndFolders(Iterable<? extends FilesAndFoldersInfo> elements)
filesAndFolders
.
A shallow reference equality check is used to prevent copying of the same value by returning this
.elements
- An iterable of filesAndFolders elements to setthis
objectpublic boolean equals(@Nullable Object another)
ImmutableCreateFilesAndFoldersDownloadTaskParams
that have equal attribute values.public int hashCode()
taskName
, backupRunUid
, vmUuid
, filesAndFolders
.public String toString()
CreateFilesAndFoldersDownloadTaskParams
with attribute values.public static ImmutableCreateFilesAndFoldersDownloadTaskParams copyOf(CreateFilesAndFoldersDownloadTaskParams instance)
CreateFilesAndFoldersDownloadTaskParams
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 ImmutableCreateFilesAndFoldersDownloadTaskParams.Builder builder()
ImmutableCreateFilesAndFoldersDownloadTaskParams
.
ImmutableCreateFilesAndFoldersDownloadTaskParams.builder() .taskName(String) // requiredtaskName
.backupRunUid(com.iland.cohesity.iaas.backups.common.model.BackupRunUid) // requiredbackupRunUid
.vmUuid(com.iland.cohesity.iaas.backups.common.model.VmUuid) // requiredvmUuid
.addFilesAndFolders|addAllFilesAndFolders(com.iland.cohesity.iaas.backups.common.model.FilesAndFoldersInfo) //filesAndFolders
elements .build();
Copyright © 2023 iland Internet Solutions, Corp. All rights reserved.