@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutableVCloudProtectionJobSummaryStats extends Object implements VCloudProtectionJobSummaryStats
VCloudProtectionJobSummaryStats
.
Use the builder to create immutable instances:
ImmutableVCloudProtectionJobSummaryStats.builder()
.
Modifier and Type | Class and Description |
---|---|
static class |
ImmutableVCloudProtectionJobSummaryStats.Builder
Builds instances of type
ImmutableVCloudProtectionJobSummaryStats . |
Modifier and Type | Method and Description |
---|---|
Duration |
averageRunTime()
Specifies the average run time of all successful Protection Runs.
|
static ImmutableVCloudProtectionJobSummaryStats.Builder |
builder()
Creates a builder for
ImmutableVCloudProtectionJobSummaryStats . |
TenantUid |
cohesityTenantUid()
Specifies the ID of the Cohesity Org.
|
CompanyId |
companyId()
Specifies the ID of the associated iland company.
|
static ImmutableVCloudProtectionJobSummaryStats |
copyOf(VCloudProtectionJobSummaryStats instance)
Creates an immutable copy of a
VCloudProtectionJobSummaryStats value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableVCloudProtectionJobSummaryStats that have equal attribute values. |
Duration |
fastestRunTime()
Specifies the time taken for a fastest successful Protection Run so far.
|
int |
hashCode()
Computes a hash code from attributes:
locationId , companyId , vdcUuid , orgUuid , uid , cohesityTenantUid , averageRunTime , fastestRunTime , numCanceledRuns , numFailedRuns , numSlaViolations , numSuccessfulRuns , slowestRunTime , totalBytesReadFromSource , totalLogicalBackupSizeBytes , totalPhysicalBackupSizeBytes , lastRunTime , lastBackupStatus , lastCopyRunInfo . |
RunStatus |
lastBackupStatus()
Specifies the status of the last backup task.
|
com.google.common.collect.ImmutableSet<JobCopyRunInfo> |
lastCopyRunInfo()
Specifies the statuses of the copy tasks in the last run.
|
Instant |
lastRunTime()
Specifies the end time of the last Protection Run.
|
LocationId |
locationId()
Specifies the iland datacenter location ID.
|
long |
numCanceledRuns()
Specifies the number of runs that were canceled.
|
long |
numFailedRuns()
Specifies the number of runs that failed to finish.
|
long |
numSlaViolations()
Specifies the number of runs having SLA violations.
|
long |
numSuccessfulRuns()
Specifies the number of runs that finished successfully.
|
OrgUuid |
orgUuid()
Specifies the UUID of the vCloud org that the protection job is associated
with.
|
Duration |
slowestRunTime()
Specifies the time taken for a slowest successful Protection Run so far.
|
String |
toString()
Prints the immutable value
VCloudProtectionJobSummaryStats with attribute values. |
long |
totalBytesReadFromSource()
Specifies the total amount of data read from the source (so far).
|
long |
totalLogicalBackupSizeBytes()
Specifies the size of the source object (such as a VM) protected by this
task on the primary storage after the snapshot is taken.
|
long |
totalPhysicalBackupSizeBytes()
Specifies the total amount of physical space used on the Cohesity Cluster
to store the protected object after being reduced by change-block tracking,
compression and deduplication.
|
BackupGroupUid |
uid()
Specifies a UID for the Protection VCloudProtectionJob.
|
VdcUuid |
vdcUuid()
Specifies the UUID of the vDC that the protection job is associated with.
|
ImmutableVCloudProtectionJobSummaryStats |
withAverageRunTime(Duration value)
Copy the current immutable object by setting a value for the
averageRunTime attribute. |
ImmutableVCloudProtectionJobSummaryStats |
withCohesityTenantUid(TenantUid value)
Copy the current immutable object by setting a value for the
cohesityTenantUid attribute. |
ImmutableVCloudProtectionJobSummaryStats |
withCompanyId(CompanyId value)
Copy the current immutable object by setting a value for the
companyId attribute. |
ImmutableVCloudProtectionJobSummaryStats |
withFastestRunTime(Duration value)
Copy the current immutable object by setting a value for the
fastestRunTime attribute. |
ImmutableVCloudProtectionJobSummaryStats |
withLastBackupStatus(RunStatus value)
Copy the current immutable object by setting a value for the
lastBackupStatus attribute. |
ImmutableVCloudProtectionJobSummaryStats |
withLastCopyRunInfo(Iterable<? extends JobCopyRunInfo> elements)
Copy the current immutable object with elements that replace the content of
lastCopyRunInfo . |
ImmutableVCloudProtectionJobSummaryStats |
withLastCopyRunInfo(JobCopyRunInfo... elements)
Copy the current immutable object with elements that replace the content of
lastCopyRunInfo . |
ImmutableVCloudProtectionJobSummaryStats |
withLastRunTime(Instant value)
Copy the current immutable object by setting a value for the
lastRunTime attribute. |
ImmutableVCloudProtectionJobSummaryStats |
withLocationId(LocationId value)
Copy the current immutable object by setting a value for the
locationId attribute. |
ImmutableVCloudProtectionJobSummaryStats |
withNumCanceledRuns(long value)
Copy the current immutable object by setting a value for the
numCanceledRuns attribute. |
ImmutableVCloudProtectionJobSummaryStats |
withNumFailedRuns(long value)
Copy the current immutable object by setting a value for the
numFailedRuns attribute. |
ImmutableVCloudProtectionJobSummaryStats |
withNumSlaViolations(long value)
Copy the current immutable object by setting a value for the
numSlaViolations attribute. |
ImmutableVCloudProtectionJobSummaryStats |
withNumSuccessfulRuns(long value)
Copy the current immutable object by setting a value for the
numSuccessfulRuns attribute. |
ImmutableVCloudProtectionJobSummaryStats |
withOrgUuid(OrgUuid value)
Copy the current immutable object by setting a value for the
orgUuid attribute. |
ImmutableVCloudProtectionJobSummaryStats |
withSlowestRunTime(Duration value)
Copy the current immutable object by setting a value for the
slowestRunTime attribute. |
ImmutableVCloudProtectionJobSummaryStats |
withTotalBytesReadFromSource(long value)
Copy the current immutable object by setting a value for the
totalBytesReadFromSource attribute. |
ImmutableVCloudProtectionJobSummaryStats |
withTotalLogicalBackupSizeBytes(long value)
Copy the current immutable object by setting a value for the
totalLogicalBackupSizeBytes attribute. |
ImmutableVCloudProtectionJobSummaryStats |
withTotalPhysicalBackupSizeBytes(long value)
Copy the current immutable object by setting a value for the
totalPhysicalBackupSizeBytes attribute. |
ImmutableVCloudProtectionJobSummaryStats |
withUid(BackupGroupUid value)
Copy the current immutable object by setting a value for the
uid attribute. |
ImmutableVCloudProtectionJobSummaryStats |
withVdcUuid(VdcUuid value)
Copy the current immutable object by setting a value for the
vdcUuid attribute. |
public LocationId locationId()
locationId
in interface VCloudProtectionJobSummaryStats
public CompanyId companyId()
companyId
in interface VCloudProtectionJobSummaryStats
public VdcUuid vdcUuid()
vdcUuid
in interface VCloudProtectionJobSummaryStats
public OrgUuid orgUuid()
orgUuid
in interface VCloudProtectionJobSummaryStats
public BackupGroupUid uid()
uid
in interface VCloudProtectionJobSummaryStats
public TenantUid cohesityTenantUid()
cohesityTenantUid
in interface VCloudProtectionJobSummaryStats
public Duration averageRunTime()
averageRunTime
in interface VCloudProtectionJobSummaryStats
public Duration fastestRunTime()
fastestRunTime
in interface VCloudProtectionJobSummaryStats
public long numCanceledRuns()
numCanceledRuns
in interface VCloudProtectionJobSummaryStats
public long numFailedRuns()
numFailedRuns
in interface VCloudProtectionJobSummaryStats
public long numSlaViolations()
numSlaViolations
in interface VCloudProtectionJobSummaryStats
public long numSuccessfulRuns()
numSuccessfulRuns
in interface VCloudProtectionJobSummaryStats
public Duration slowestRunTime()
slowestRunTime
in interface VCloudProtectionJobSummaryStats
public long totalBytesReadFromSource()
totalBytesReadFromSource
in interface VCloudProtectionJobSummaryStats
public long totalLogicalBackupSizeBytes()
totalLogicalBackupSizeBytes
in interface VCloudProtectionJobSummaryStats
public long totalPhysicalBackupSizeBytes()
totalPhysicalBackupSizeBytes
in interface VCloudProtectionJobSummaryStats
public Instant lastRunTime()
lastRunTime
in interface VCloudProtectionJobSummaryStats
public RunStatus lastBackupStatus()
lastBackupStatus
in interface VCloudProtectionJobSummaryStats
public com.google.common.collect.ImmutableSet<JobCopyRunInfo> lastCopyRunInfo()
lastCopyRunInfo
in interface VCloudProtectionJobSummaryStats
public final ImmutableVCloudProtectionJobSummaryStats 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 ImmutableVCloudProtectionJobSummaryStats 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 ImmutableVCloudProtectionJobSummaryStats 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 ImmutableVCloudProtectionJobSummaryStats 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 ImmutableVCloudProtectionJobSummaryStats withUid(BackupGroupUid 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 ImmutableVCloudProtectionJobSummaryStats withCohesityTenantUid(TenantUid value)
cohesityTenantUid
attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this
.value
- A new value for cohesityTenantUidthis
objectpublic final ImmutableVCloudProtectionJobSummaryStats withAverageRunTime(Duration value)
averageRunTime
attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this
.value
- A new value for averageRunTimethis
objectpublic final ImmutableVCloudProtectionJobSummaryStats withFastestRunTime(Duration value)
fastestRunTime
attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this
.value
- A new value for fastestRunTimethis
objectpublic final ImmutableVCloudProtectionJobSummaryStats withNumCanceledRuns(long value)
numCanceledRuns
attribute.
A value equality check is used to prevent copying of the same value by returning this
.value
- A new value for numCanceledRunsthis
objectpublic final ImmutableVCloudProtectionJobSummaryStats withNumFailedRuns(long value)
numFailedRuns
attribute.
A value equality check is used to prevent copying of the same value by returning this
.value
- A new value for numFailedRunsthis
objectpublic final ImmutableVCloudProtectionJobSummaryStats withNumSlaViolations(long value)
numSlaViolations
attribute.
A value equality check is used to prevent copying of the same value by returning this
.value
- A new value for numSlaViolationsthis
objectpublic final ImmutableVCloudProtectionJobSummaryStats withNumSuccessfulRuns(long value)
numSuccessfulRuns
attribute.
A value equality check is used to prevent copying of the same value by returning this
.value
- A new value for numSuccessfulRunsthis
objectpublic final ImmutableVCloudProtectionJobSummaryStats withSlowestRunTime(Duration value)
slowestRunTime
attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this
.value
- A new value for slowestRunTimethis
objectpublic final ImmutableVCloudProtectionJobSummaryStats withTotalBytesReadFromSource(long value)
totalBytesReadFromSource
attribute.
A value equality check is used to prevent copying of the same value by returning this
.value
- A new value for totalBytesReadFromSourcethis
objectpublic final ImmutableVCloudProtectionJobSummaryStats withTotalLogicalBackupSizeBytes(long value)
totalLogicalBackupSizeBytes
attribute.
A value equality check is used to prevent copying of the same value by returning this
.value
- A new value for totalLogicalBackupSizeBytesthis
objectpublic final ImmutableVCloudProtectionJobSummaryStats withTotalPhysicalBackupSizeBytes(long value)
totalPhysicalBackupSizeBytes
attribute.
A value equality check is used to prevent copying of the same value by returning this
.value
- A new value for totalPhysicalBackupSizeBytesthis
objectpublic final ImmutableVCloudProtectionJobSummaryStats withLastRunTime(Instant value)
lastRunTime
attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this
.value
- A new value for lastRunTimethis
objectpublic final ImmutableVCloudProtectionJobSummaryStats withLastBackupStatus(RunStatus value)
lastBackupStatus
attribute.
A value equality check is used to prevent copying of the same value by returning this
.value
- A new value for lastBackupStatusthis
objectpublic final ImmutableVCloudProtectionJobSummaryStats withLastCopyRunInfo(JobCopyRunInfo... elements)
lastCopyRunInfo
.elements
- The elements to setthis
objectpublic final ImmutableVCloudProtectionJobSummaryStats withLastCopyRunInfo(Iterable<? extends JobCopyRunInfo> elements)
lastCopyRunInfo
.
A shallow reference equality check is used to prevent copying of the same value by returning this
.elements
- An iterable of lastCopyRunInfo elements to setthis
objectpublic boolean equals(@Nullable Object another)
ImmutableVCloudProtectionJobSummaryStats
that have equal attribute values.public int hashCode()
locationId
, companyId
, vdcUuid
, orgUuid
, uid
, cohesityTenantUid
, averageRunTime
, fastestRunTime
, numCanceledRuns
, numFailedRuns
, numSlaViolations
, numSuccessfulRuns
, slowestRunTime
, totalBytesReadFromSource
, totalLogicalBackupSizeBytes
, totalPhysicalBackupSizeBytes
, lastRunTime
, lastBackupStatus
, lastCopyRunInfo
.public String toString()
VCloudProtectionJobSummaryStats
with attribute values.public static ImmutableVCloudProtectionJobSummaryStats copyOf(VCloudProtectionJobSummaryStats instance)
VCloudProtectionJobSummaryStats
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 ImmutableVCloudProtectionJobSummaryStats.Builder builder()
ImmutableVCloudProtectionJobSummaryStats
.
ImmutableVCloudProtectionJobSummaryStats.builder() .locationId(com.iland.cohesity.iaas.backups.common.model.LocationId) // requiredlocationId
.companyId(com.iland.cohesity.iaas.backups.common.model.CompanyId) // requiredcompanyId
.vdcUuid(com.iland.cohesity.iaas.backups.common.model.VdcUuid) // requiredvdcUuid
.orgUuid(com.iland.cohesity.iaas.backups.common.model.OrgUuid) // requiredorgUuid
.uid(com.iland.cohesity.iaas.backups.common.model.BackupGroupUid) // requireduid
.cohesityTenantUid(com.iland.cohesity.iaas.backups.common.model.TenantUid) // requiredcohesityTenantUid
.averageRunTime(java.time.Duration) // requiredaverageRunTime
.fastestRunTime(java.time.Duration) // requiredfastestRunTime
.numCanceledRuns(long) // requirednumCanceledRuns
.numFailedRuns(long) // requirednumFailedRuns
.numSlaViolations(long) // requirednumSlaViolations
.numSuccessfulRuns(long) // requirednumSuccessfulRuns
.slowestRunTime(java.time.Duration) // requiredslowestRunTime
.totalBytesReadFromSource(long) // requiredtotalBytesReadFromSource
.totalLogicalBackupSizeBytes(long) // requiredtotalLogicalBackupSizeBytes
.totalPhysicalBackupSizeBytes(long) // requiredtotalPhysicalBackupSizeBytes
.lastRunTime(java.time.Instant) // requiredlastRunTime
.lastBackupStatus(com.iland.cohesity.iaas.backups.common.enums.RunStatus) // requiredlastBackupStatus
.addLastCopyRunInfo|addAllLastCopyRunInfo(com.iland.cohesity.iaas.backups.common.model.JobCopyRunInfo) //lastCopyRunInfo
elements .build();
Copyright © 2023 iland Internet Solutions, Corp. All rights reserved.