@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutableDownloadFileParams extends Object implements DownloadFileParams
DownloadFileParams
.
Use the builder to create immutable instances:
ImmutableDownloadFileParams.builder()
.
Modifier and Type | Class and Description |
---|---|
static class |
ImmutableDownloadFileParams.Builder
Builds instances of type
ImmutableDownloadFileParams . |
Modifier and Type | Method and Description |
---|---|
BackupRunUid |
backupRunUid()
The UID of the backup run that the file is associated with.
|
static ImmutableDownloadFileParams.Builder |
builder()
Creates a builder for
ImmutableDownloadFileParams . |
static ImmutableDownloadFileParams |
copyOf(DownloadFileParams instance)
Creates an immutable copy of a
DownloadFileParams value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableDownloadFileParams that have equal attribute values. |
String |
filename()
The full path of the file.
|
int |
hashCode()
Computes a hash code from attributes:
backupRunUid , vmUuid , filename . |
String |
toString()
Prints the immutable value
DownloadFileParams with attribute values. |
VmUuid |
vmUuid()
The UUID of the VM that the file is associated with.
|
ImmutableDownloadFileParams |
withBackupRunUid(BackupRunUid value)
Copy the current immutable object by setting a value for the
backupRunUid attribute. |
ImmutableDownloadFileParams |
withFilename(String value)
Copy the current immutable object by setting a value for the
filename attribute. |
ImmutableDownloadFileParams |
withVmUuid(VmUuid value)
Copy the current immutable object by setting a value for the
vmUuid attribute. |
public BackupRunUid backupRunUid()
backupRunUid
in interface DownloadFileParams
public VmUuid vmUuid()
vmUuid
in interface DownloadFileParams
public String filename()
filename
in interface DownloadFileParams
public final ImmutableDownloadFileParams 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 ImmutableDownloadFileParams 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 ImmutableDownloadFileParams withFilename(String value)
filename
attribute.
An equals check used to prevent copying of the same value by returning this
.value
- A new value for filenamethis
objectpublic boolean equals(@Nullable Object another)
ImmutableDownloadFileParams
that have equal attribute values.public int hashCode()
backupRunUid
, vmUuid
, filename
.public String toString()
DownloadFileParams
with attribute values.public static ImmutableDownloadFileParams copyOf(DownloadFileParams instance)
DownloadFileParams
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 ImmutableDownloadFileParams.Builder builder()
ImmutableDownloadFileParams
.
ImmutableDownloadFileParams.builder() .backupRunUid(com.iland.cohesity.iaas.backups.common.model.BackupRunUid) // requiredbackupRunUid
.vmUuid(com.iland.cohesity.iaas.backups.common.model.VmUuid) // requiredvmUuid
.filename(String) // requiredfilename
.build();
Copyright © 2023 iland Internet Solutions, Corp. All rights reserved.