@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutableRecoverableFileSearchResult extends Object implements RecoverableFileSearchResult
RecoverableFileSearchResult
.
Use the builder to create immutable instances:
ImmutableRecoverableFileSearchResult.builder()
.
Modifier and Type | Class and Description |
---|---|
static class |
ImmutableRecoverableFileSearchResult.Builder
Builds instances of type
ImmutableRecoverableFileSearchResult . |
Modifier and Type | Method and Description |
---|---|
BackupGroupUid |
backupGroupUid()
Specifies the UID of the backup group that is currently associated with the
object that contains the backed up file or folder.
|
static ImmutableRecoverableFileSearchResult.Builder |
builder()
Creates a builder for
ImmutableRecoverableFileSearchResult . |
CompanyId |
companyId()
The ID of the company that the result is associated with.
|
static ImmutableRecoverableFileSearchResult |
copyOf(RecoverableFileSearchResult instance)
Creates an immutable copy of a
RecoverableFileSearchResult value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableRecoverableFileSearchResult that have equal attribute values. |
String |
filename()
Specifies the name of the found file or folder.
|
int |
hashCode()
Computes a hash code from attributes:
locationId , companyId , orgUuid , vdcUuid , vappUuid , vmUuid , filename , isFolder , backupGroupUid , type , vmName . |
boolean |
isFolder()
Specifies if the found item is a folder.
|
LocationId |
locationId()
The ID of the location that the result is associated with.
|
OrgUuid |
orgUuid()
The UUID of the Org that the result is associated with.
|
String |
toString()
Prints the immutable value
RecoverableFileSearchResult with attribute values. |
FileSearchResultType |
type()
Specifies the type of the file document such as DIRECTORY, FILE, etc.
|
VappUuid |
vappUuid()
The UUID of the vApp that the result is associated with.
|
VdcUuid |
vdcUuid()
The UUID of the vDC that the result is associated with.
|
String |
vmName()
The name of the associated VM.
|
VmUuid |
vmUuid()
The UUID of the VM that the result is associated with.
|
ImmutableRecoverableFileSearchResult |
withBackupGroupUid(BackupGroupUid value)
Copy the current immutable object by setting a value for the
backupGroupUid attribute. |
ImmutableRecoverableFileSearchResult |
withCompanyId(CompanyId value)
Copy the current immutable object by setting a value for the
companyId attribute. |
ImmutableRecoverableFileSearchResult |
withFilename(String value)
Copy the current immutable object by setting a value for the
filename attribute. |
ImmutableRecoverableFileSearchResult |
withIsFolder(boolean value)
Copy the current immutable object by setting a value for the
isFolder attribute. |
ImmutableRecoverableFileSearchResult |
withLocationId(LocationId value)
Copy the current immutable object by setting a value for the
locationId attribute. |
ImmutableRecoverableFileSearchResult |
withOrgUuid(OrgUuid value)
Copy the current immutable object by setting a value for the
orgUuid attribute. |
ImmutableRecoverableFileSearchResult |
withType(FileSearchResultType value)
Copy the current immutable object by setting a value for the
type attribute. |
ImmutableRecoverableFileSearchResult |
withVappUuid(VappUuid value)
Copy the current immutable object by setting a value for the
vappUuid attribute. |
ImmutableRecoverableFileSearchResult |
withVdcUuid(VdcUuid value)
Copy the current immutable object by setting a value for the
vdcUuid attribute. |
ImmutableRecoverableFileSearchResult |
withVmName(String value)
Copy the current immutable object by setting a value for the
vmName attribute. |
ImmutableRecoverableFileSearchResult |
withVmUuid(VmUuid value)
Copy the current immutable object by setting a value for the
vmUuid attribute. |
public LocationId locationId()
locationId
in interface RecoverableFileSearchResult
public CompanyId companyId()
companyId
in interface RecoverableFileSearchResult
public OrgUuid orgUuid()
orgUuid
in interface RecoverableFileSearchResult
public VdcUuid vdcUuid()
vdcUuid
in interface RecoverableFileSearchResult
public VappUuid vappUuid()
vappUuid
in interface RecoverableFileSearchResult
public VmUuid vmUuid()
vmUuid
in interface RecoverableFileSearchResult
public String filename()
filename
in interface RecoverableFileSearchResult
public boolean isFolder()
isFolder
in interface RecoverableFileSearchResult
public BackupGroupUid backupGroupUid()
backupGroupUid
in interface RecoverableFileSearchResult
public FileSearchResultType type()
type
in interface RecoverableFileSearchResult
public String vmName()
vmName
in interface RecoverableFileSearchResult
public final ImmutableRecoverableFileSearchResult withLocationId(LocationId value)
locationId
attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this
.value
- A new value for locationIdthis
objectpublic final ImmutableRecoverableFileSearchResult withCompanyId(CompanyId value)
companyId
attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this
.value
- A new value for companyIdthis
objectpublic final ImmutableRecoverableFileSearchResult withOrgUuid(OrgUuid value)
orgUuid
attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this
.value
- A new value for orgUuidthis
objectpublic final ImmutableRecoverableFileSearchResult withVdcUuid(VdcUuid value)
vdcUuid
attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this
.value
- A new value for vdcUuidthis
objectpublic final ImmutableRecoverableFileSearchResult withVappUuid(VappUuid value)
vappUuid
attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this
.value
- A new value for vappUuidthis
objectpublic final ImmutableRecoverableFileSearchResult 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 ImmutableRecoverableFileSearchResult 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 final ImmutableRecoverableFileSearchResult withIsFolder(boolean value)
isFolder
attribute.
A value equality check is used to prevent copying of the same value by returning this
.value
- A new value for isFolderthis
objectpublic final ImmutableRecoverableFileSearchResult withBackupGroupUid(BackupGroupUid value)
backupGroupUid
attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this
.value
- A new value for backupGroupUidthis
objectpublic final ImmutableRecoverableFileSearchResult withType(FileSearchResultType value)
type
attribute.
A value equality check is used to prevent copying of the same value by returning this
.value
- A new value for typethis
objectpublic final ImmutableRecoverableFileSearchResult withVmName(String value)
vmName
attribute.
An equals check used to prevent copying of the same value by returning this
.value
- A new value for vmNamethis
objectpublic boolean equals(@Nullable Object another)
ImmutableRecoverableFileSearchResult
that have equal attribute values.public int hashCode()
locationId
, companyId
, orgUuid
, vdcUuid
, vappUuid
, vmUuid
, filename
, isFolder
, backupGroupUid
, type
, vmName
.public String toString()
RecoverableFileSearchResult
with attribute values.public static ImmutableRecoverableFileSearchResult copyOf(RecoverableFileSearchResult instance)
RecoverableFileSearchResult
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 ImmutableRecoverableFileSearchResult.Builder builder()
ImmutableRecoverableFileSearchResult
.
ImmutableRecoverableFileSearchResult.builder() .locationId(com.iland.cohesity.iaas.backups.common.model.LocationId) // requiredlocationId
.companyId(com.iland.cohesity.iaas.backups.common.model.CompanyId) // requiredcompanyId
.orgUuid(com.iland.cohesity.iaas.backups.common.model.OrgUuid) // requiredorgUuid
.vdcUuid(com.iland.cohesity.iaas.backups.common.model.VdcUuid) // requiredvdcUuid
.vappUuid(com.iland.cohesity.iaas.backups.common.model.VappUuid) // requiredvappUuid
.vmUuid(com.iland.cohesity.iaas.backups.common.model.VmUuid) // requiredvmUuid
.filename(String) // requiredfilename
.isFolder(boolean) // requiredisFolder
.backupGroupUid(com.iland.cohesity.iaas.backups.common.model.BackupGroupUid) // requiredbackupGroupUid
.type(com.iland.cohesity.iaas.backups.common.enums.FileSearchResultType) // requiredtype
.vmName(String) // requiredvmName
.build();
Copyright © 2023 iland Internet Solutions, Corp. All rights reserved.