@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutableBackupGroupRun extends Object implements BackupGroupRun
BackupGroupRun
.
Use the builder to create immutable instances:
ImmutableBackupGroupRun.builder()
.
Modifier and Type | Class and Description |
---|---|
static class |
ImmutableBackupGroupRun.Builder
Builds instances of type
ImmutableBackupGroupRun . |
Modifier and Type | Method and Description |
---|---|
String |
backupGroupName()
Specifies the name of the backup group name that was run.
|
BackupGroupUid |
backupGroupUid()
Specifies the UID of the backup group that was run.
|
BackupRun |
backupRun()
Specifies details about the backup task for a backup group run.
|
static ImmutableBackupGroupRun.Builder |
builder()
Creates a builder for
ImmutableBackupGroupRun . |
CompanyId |
companyId()
Specifies the associated company ID.
|
static ImmutableBackupGroupRun |
copyOf(BackupGroupRun instance)
Creates an immutable copy of a
BackupGroupRun value. |
com.google.common.collect.ImmutableList<CopyRun> |
copyRuns()
Array of Copy Run Tasks.
|
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableBackupGroupRun that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
uid , backupRun , copyRuns , backupGroupUid , backupGroupName , orgUuid , vdcUuid , companyId , locationId . |
LocationId |
locationId()
Specifies the associated datacenter location ID.
|
OrgUuid |
orgUuid()
Specifies the associated vCloud organization UUID.
|
String |
toString()
Prints the immutable value
BackupGroupRun with attribute values. |
BackupRunUid |
uid()
The UID of the backup run.
|
VdcUuid |
vdcUuid()
Specifies the associated vCloud vDC UUID.
|
ImmutableBackupGroupRun |
withBackupGroupName(String value)
Copy the current immutable object by setting a value for the
backupGroupName attribute. |
ImmutableBackupGroupRun |
withBackupGroupUid(BackupGroupUid value)
Copy the current immutable object by setting a value for the
backupGroupUid attribute. |
ImmutableBackupGroupRun |
withBackupRun(BackupRun value)
Copy the current immutable object by setting a value for the
backupRun attribute. |
ImmutableBackupGroupRun |
withCompanyId(CompanyId value)
Copy the current immutable object by setting a value for the
companyId attribute. |
ImmutableBackupGroupRun |
withCopyRuns(CopyRun... elements)
Copy the current immutable object with elements that replace the content of
copyRuns . |
ImmutableBackupGroupRun |
withCopyRuns(Iterable<? extends CopyRun> elements)
Copy the current immutable object with elements that replace the content of
copyRuns . |
ImmutableBackupGroupRun |
withLocationId(LocationId value)
Copy the current immutable object by setting a value for the
locationId attribute. |
ImmutableBackupGroupRun |
withOrgUuid(OrgUuid value)
Copy the current immutable object by setting a value for the
orgUuid attribute. |
ImmutableBackupGroupRun |
withUid(BackupRunUid value)
Copy the current immutable object by setting a value for the
uid attribute. |
ImmutableBackupGroupRun |
withVdcUuid(VdcUuid value)
Copy the current immutable object by setting a value for the
vdcUuid attribute. |
public BackupRunUid uid()
uid
in interface BackupGroupRun
BackupRunUid
public BackupRun backupRun()
backupRun
in interface BackupGroupRun
public com.google.common.collect.ImmutableList<CopyRun> copyRuns()
Specifies details about the Copy tasks of this backup group run. A Copy task copies the captured snapshots to an external target or a remote cluster.
copyRuns
in interface BackupGroupRun
public BackupGroupUid backupGroupUid()
backupGroupUid
in interface BackupGroupRun
public String backupGroupName()
backupGroupName
in interface BackupGroupRun
public OrgUuid orgUuid()
orgUuid
in interface BackupGroupRun
OrgUuid
public VdcUuid vdcUuid()
vdcUuid
in interface BackupGroupRun
VdcUuid
public CompanyId companyId()
companyId
in interface BackupGroupRun
CompanyId
public LocationId locationId()
locationId
in interface BackupGroupRun
LocationId
public final ImmutableBackupGroupRun withUid(BackupRunUid value)
uid
attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this
.value
- A new value for uidthis
objectpublic final ImmutableBackupGroupRun withBackupRun(BackupRun value)
backupRun
attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this
.value
- A new value for backupRunthis
objectpublic final ImmutableBackupGroupRun withCopyRuns(CopyRun... elements)
copyRuns
.elements
- The elements to setthis
objectpublic final ImmutableBackupGroupRun withCopyRuns(Iterable<? extends CopyRun> elements)
copyRuns
.
A shallow reference equality check is used to prevent copying of the same value by returning this
.elements
- An iterable of copyRuns elements to setthis
objectpublic final ImmutableBackupGroupRun 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 ImmutableBackupGroupRun withBackupGroupName(String value)
backupGroupName
attribute.
An equals check used to prevent copying of the same value by returning this
.value
- A new value for backupGroupNamethis
objectpublic final ImmutableBackupGroupRun 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 ImmutableBackupGroupRun 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 ImmutableBackupGroupRun 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 ImmutableBackupGroupRun 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 boolean equals(@Nullable Object another)
ImmutableBackupGroupRun
that have equal attribute values.public int hashCode()
uid
, backupRun
, copyRuns
, backupGroupUid
, backupGroupName
, orgUuid
, vdcUuid
, companyId
, locationId
.public String toString()
BackupGroupRun
with attribute values.public static ImmutableBackupGroupRun copyOf(BackupGroupRun instance)
BackupGroupRun
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 ImmutableBackupGroupRun.Builder builder()
ImmutableBackupGroupRun
.
ImmutableBackupGroupRun.builder() .uid(com.iland.cohesity.iaas.backups.common.model.BackupRunUid) // requireduid
.backupRun(com.iland.cohesity.iaas.backups.backupgroups.api.model.BackupRun) // requiredbackupRun
.addCopyRuns|addAllCopyRuns(com.iland.cohesity.iaas.backups.backupgroups.api.model.CopyRun) //copyRuns
elements .backupGroupUid(com.iland.cohesity.iaas.backups.common.model.BackupGroupUid) // requiredbackupGroupUid
.backupGroupName(String) // requiredbackupGroupName
.orgUuid(com.iland.cohesity.iaas.backups.common.model.OrgUuid) // requiredorgUuid
.vdcUuid(com.iland.cohesity.iaas.backups.common.model.VdcUuid) // requiredvdcUuid
.companyId(com.iland.cohesity.iaas.backups.common.model.CompanyId) // requiredcompanyId
.locationId(com.iland.cohesity.iaas.backups.common.model.LocationId) // requiredlocationId
.build();
Copyright © 2023 iland Internet Solutions, Corp. All rights reserved.