@NotThreadSafe public static final class ImmutableVCloudProtectionJobSummaryStats.Builder extends Object
ImmutableVCloudProtectionJobSummaryStats.
Initialize attributes and then invoke the build() method to create an
immutable instance.
Builder is not thread-safe and generally should not be stored in a field or collection,
but instead used immediately to create instances.
public final ImmutableVCloudProtectionJobSummaryStats.Builder from(VCloudProtectionJobSummaryStats instance)
VCloudProtectionJobSummaryStats instance.
Regular attribute values will be replaced with those from the given instance.
Absent optional values will not replace present values.
Collection elements and entries will be added, not replaced.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final ImmutableVCloudProtectionJobSummaryStats.Builder locationId(LocationId locationId)
locationId attribute.locationId - The value for locationIdthis builder for use in a chained invocationpublic final ImmutableVCloudProtectionJobSummaryStats.Builder companyId(CompanyId companyId)
companyId attribute.companyId - The value for companyIdthis builder for use in a chained invocationpublic final ImmutableVCloudProtectionJobSummaryStats.Builder vdcUuid(VdcUuid vdcUuid)
vdcUuid attribute.vdcUuid - The value for vdcUuidthis builder for use in a chained invocationpublic final ImmutableVCloudProtectionJobSummaryStats.Builder orgUuid(OrgUuid orgUuid)
orgUuid attribute.orgUuid - The value for orgUuidthis builder for use in a chained invocationpublic final ImmutableVCloudProtectionJobSummaryStats.Builder uid(BackupGroupUid uid)
uid attribute.uid - The value for uidthis builder for use in a chained invocationpublic final ImmutableVCloudProtectionJobSummaryStats.Builder cohesityTenantUid(TenantUid cohesityTenantUid)
cohesityTenantUid attribute.cohesityTenantUid - The value for cohesityTenantUidthis builder for use in a chained invocationpublic final ImmutableVCloudProtectionJobSummaryStats.Builder averageRunTime(Duration averageRunTime)
averageRunTime attribute.averageRunTime - The value for averageRunTimethis builder for use in a chained invocationpublic final ImmutableVCloudProtectionJobSummaryStats.Builder fastestRunTime(Duration fastestRunTime)
fastestRunTime attribute.fastestRunTime - The value for fastestRunTimethis builder for use in a chained invocationpublic final ImmutableVCloudProtectionJobSummaryStats.Builder numCanceledRuns(long numCanceledRuns)
numCanceledRuns attribute.numCanceledRuns - The value for numCanceledRunsthis builder for use in a chained invocationpublic final ImmutableVCloudProtectionJobSummaryStats.Builder numFailedRuns(long numFailedRuns)
numFailedRuns attribute.numFailedRuns - The value for numFailedRunsthis builder for use in a chained invocationpublic final ImmutableVCloudProtectionJobSummaryStats.Builder numSlaViolations(long numSlaViolations)
numSlaViolations attribute.numSlaViolations - The value for numSlaViolationsthis builder for use in a chained invocationpublic final ImmutableVCloudProtectionJobSummaryStats.Builder numSuccessfulRuns(long numSuccessfulRuns)
numSuccessfulRuns attribute.numSuccessfulRuns - The value for numSuccessfulRunsthis builder for use in a chained invocationpublic final ImmutableVCloudProtectionJobSummaryStats.Builder slowestRunTime(Duration slowestRunTime)
slowestRunTime attribute.slowestRunTime - The value for slowestRunTimethis builder for use in a chained invocationpublic final ImmutableVCloudProtectionJobSummaryStats.Builder totalBytesReadFromSource(long totalBytesReadFromSource)
totalBytesReadFromSource attribute.totalBytesReadFromSource - The value for totalBytesReadFromSourcethis builder for use in a chained invocationpublic final ImmutableVCloudProtectionJobSummaryStats.Builder totalLogicalBackupSizeBytes(long totalLogicalBackupSizeBytes)
totalLogicalBackupSizeBytes attribute.totalLogicalBackupSizeBytes - The value for totalLogicalBackupSizeBytesthis builder for use in a chained invocationpublic final ImmutableVCloudProtectionJobSummaryStats.Builder totalPhysicalBackupSizeBytes(long totalPhysicalBackupSizeBytes)
totalPhysicalBackupSizeBytes attribute.totalPhysicalBackupSizeBytes - The value for totalPhysicalBackupSizeBytesthis builder for use in a chained invocationpublic final ImmutableVCloudProtectionJobSummaryStats.Builder lastRunTime(Instant lastRunTime)
lastRunTime attribute.lastRunTime - The value for lastRunTimethis builder for use in a chained invocationpublic final ImmutableVCloudProtectionJobSummaryStats.Builder lastBackupStatus(RunStatus lastBackupStatus)
lastBackupStatus attribute.lastBackupStatus - The value for lastBackupStatusthis builder for use in a chained invocationpublic final ImmutableVCloudProtectionJobSummaryStats.Builder addLastCopyRunInfo(JobCopyRunInfo element)
lastCopyRunInfo set.element - A lastCopyRunInfo elementthis builder for use in a chained invocationpublic final ImmutableVCloudProtectionJobSummaryStats.Builder addLastCopyRunInfo(JobCopyRunInfo... elements)
lastCopyRunInfo set.elements - An array of lastCopyRunInfo elementsthis builder for use in a chained invocationpublic final ImmutableVCloudProtectionJobSummaryStats.Builder lastCopyRunInfo(Iterable<? extends JobCopyRunInfo> elements)
lastCopyRunInfo set.elements - An iterable of lastCopyRunInfo elementsthis builder for use in a chained invocationpublic final ImmutableVCloudProtectionJobSummaryStats.Builder addAllLastCopyRunInfo(Iterable<? extends JobCopyRunInfo> elements)
lastCopyRunInfo set.elements - An iterable of lastCopyRunInfo elementsthis builder for use in a chained invocationpublic ImmutableVCloudProtectionJobSummaryStats build()
ImmutableVCloudProtectionJobSummaryStats.IllegalStateException - if any required attributes are missingCopyright © 2023 iland Internet Solutions, Corp. All rights reserved.