@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutableBackupGroup extends Object implements BackupGroup
BackupGroup.
Use the builder to create immutable instances:
ImmutableBackupGroup.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableBackupGroup.Builder
Builds instances of type
ImmutableBackupGroup. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
abortInBlackoutPeriod()
If true, aborts any currently executing backup group Runs of this backup
group when a blackout period specified for this backup group starts, even
if the backup group Run started before the blackout period began.
|
boolean |
active()
Indicates if the current state of the backup group is Active or Inactive.
|
static ImmutableBackupGroup.Builder |
builder()
Creates a builder for
ImmutableBackupGroup. |
TenantUid |
cohesityTenantUid()
Specifies the UID of the parent Cohesity tenant/org.
|
CompanyId |
companyId()
The ID of the iland company that is associated with the protection backup
group.
|
boolean |
continueOnQuiesceFailure()
Whether to continue backing up on quiesce failure.
|
static ImmutableBackupGroup |
copyOf(BackupGroup instance)
Creates an immutable copy of a
BackupGroup value. |
Instant |
creationTime()
Specifies the time when the backup group was created.
|
boolean |
deleted()
Equals 'true' if the backup group was deleted but some Snapshots are still
associated with this backup group.
|
Optional<String> |
description()
Specifies a text description about the backup group.
|
Optional<Instant> |
endTime()
Specifies the time after which the backup group becomes dormant.
|
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableBackupGroup that have equal attribute values. |
com.google.common.collect.ImmutableList<BackupGroupDiskUnit> |
excludedDisks()
Specifies the list of Disks to be excluded from backing up.
|
com.google.common.collect.ImmutableSet<VCloudProtectionSource> |
excludedSources()
Array of globally identifiable Excluded Source Objects, including
references to associated vCloud entities.
|
boolean |
fallbackToCrashConsistent()
If true, takes a crash-consistent snapshot when app-consistent snapshot
fails.
|
long |
fullProtectionSlaTimeMins()
If specified, this setting is number of minutes that a backup group Run of
a Full (no CBT) backup schedule is expected to complete, which is known as
a Service-Level Agreement (SLA).
|
int |
hashCode()
Computes a hash code from attributes:
id, uid, name, creationTime, modifiedTime, description, endTime, active, deleted, paused, excludedDisks, fallbackToCrashConsistent, skipPhysicalRdmDisks, fullProtectionSlaTimeMins, incrementalProtectionSlaTimeMins, indexingPolicy, policyUid, policyAppliedTime, priority, qosType, startTime, timezone, cohesityTenantUid, companyId, locationId, vdcUuid, orgUuid, excludedSources, protectedSources, abortInBlackoutPeriod, continueOnQuiesceFailure, quiesce. |
long |
id()
The ID of the backup group.
|
long |
incrementalProtectionSlaTimeMins()
If specified, this setting is number of minutes that a backup group Run of
a CBT-based backup schedule is expected to complete, which is known as a
Service-Level Agreement (SLA).
|
BackupGroupIndexingPolicy |
indexingPolicy()
Specifies settings for indexing files found in an Object (such as a VM) so
these files can be searched and recovered.
|
LocationId |
locationId()
The vCloud location ID (the hostname of the associated vCloud instance).
|
Instant |
modifiedTime()
Specifies the last time this backup group was updated.
|
String |
name()
Specifies the name of the backup group.
|
OrgUuid |
orgUuid()
The UUID of the associated vCloud org.
|
boolean |
paused()
Indicates if the backup group is paused, which means that no new backup
group Runs are started but any existing backup group Runs continue to
execute.
|
Optional<Instant> |
policyAppliedTime()
Specifies the time when the associated Policy was last applied to this
backup group.
|
PolicyUid |
policyUid()
Specifies the universally unique id of the Protection Policy associated
with the backup group.
|
BackupGroupPriority |
priority()
Specifies the priority of execution for a backup group.
|
com.google.common.collect.ImmutableSet<VCloudProtectionSource> |
protectedSources()
Array of globally identifiable Protected Source Objects, including
references to associated vCloud entities.
|
BackupGroupQosType |
qosType()
Specifies the QoS policy type to use for this Protection backup group.
|
boolean |
quiesce()
Indicates if the App-Consistent option is enabled for this backup group.
|
boolean |
skipPhysicalRdmDisks()
If true, skip physical RDM disks when backing up VMs.
|
TimeOfDay |
startTime()
Specifies the time of day to start the Protection Schedule.
|
String |
timezone()
Specifies the timezone to use when calculating time for this Protection
backup group such as the backup group start time.
|
String |
toString()
Prints the immutable value
BackupGroup with attribute values. |
BackupGroupUid |
uid()
Specifies a UID for the backup group.
|
VdcUuid |
vdcUuid()
The UUID of the associated vCloud virtual datacenter.
|
ImmutableBackupGroup |
withAbortInBlackoutPeriod(boolean value)
Copy the current immutable object by setting a value for the
abortInBlackoutPeriod attribute. |
ImmutableBackupGroup |
withActive(boolean value)
Copy the current immutable object by setting a value for the
active attribute. |
ImmutableBackupGroup |
withCohesityTenantUid(TenantUid value)
Copy the current immutable object by setting a value for the
cohesityTenantUid attribute. |
ImmutableBackupGroup |
withCompanyId(CompanyId value)
Copy the current immutable object by setting a value for the
companyId attribute. |
ImmutableBackupGroup |
withContinueOnQuiesceFailure(boolean value)
Copy the current immutable object by setting a value for the
continueOnQuiesceFailure attribute. |
ImmutableBackupGroup |
withCreationTime(Instant value)
Copy the current immutable object by setting a value for the
creationTime attribute. |
ImmutableBackupGroup |
withDeleted(boolean value)
Copy the current immutable object by setting a value for the
deleted attribute. |
ImmutableBackupGroup |
withDescription(Optional<String> optional)
Copy the current immutable object by setting an optional value for the
description attribute. |
ImmutableBackupGroup |
withDescription(String value)
Copy the current immutable object by setting a present value for the optional
description attribute. |
ImmutableBackupGroup |
withEndTime(Instant value)
Copy the current immutable object by setting a present value for the optional
endTime attribute. |
ImmutableBackupGroup |
withEndTime(Optional<? extends Instant> optional)
Copy the current immutable object by setting an optional value for the
endTime attribute. |
ImmutableBackupGroup |
withExcludedDisks(BackupGroupDiskUnit... elements)
Copy the current immutable object with elements that replace the content of
excludedDisks. |
ImmutableBackupGroup |
withExcludedDisks(Iterable<? extends BackupGroupDiskUnit> elements)
Copy the current immutable object with elements that replace the content of
excludedDisks. |
ImmutableBackupGroup |
withExcludedSources(Iterable<? extends VCloudProtectionSource> elements)
Copy the current immutable object with elements that replace the content of
excludedSources. |
ImmutableBackupGroup |
withExcludedSources(VCloudProtectionSource... elements)
Copy the current immutable object with elements that replace the content of
excludedSources. |
ImmutableBackupGroup |
withFallbackToCrashConsistent(boolean value)
Copy the current immutable object by setting a value for the
fallbackToCrashConsistent attribute. |
ImmutableBackupGroup |
withFullProtectionSlaTimeMins(long value)
Copy the current immutable object by setting a value for the
fullProtectionSlaTimeMins attribute. |
ImmutableBackupGroup |
withId(long value)
Copy the current immutable object by setting a value for the
id attribute. |
ImmutableBackupGroup |
withIncrementalProtectionSlaTimeMins(long value)
Copy the current immutable object by setting a value for the
incrementalProtectionSlaTimeMins attribute. |
ImmutableBackupGroup |
withIndexingPolicy(BackupGroupIndexingPolicy value)
Copy the current immutable object by setting a value for the
indexingPolicy attribute. |
ImmutableBackupGroup |
withLocationId(LocationId value)
Copy the current immutable object by setting a value for the
locationId attribute. |
ImmutableBackupGroup |
withModifiedTime(Instant value)
Copy the current immutable object by setting a value for the
modifiedTime attribute. |
ImmutableBackupGroup |
withName(String value)
Copy the current immutable object by setting a value for the
name attribute. |
ImmutableBackupGroup |
withOrgUuid(OrgUuid value)
Copy the current immutable object by setting a value for the
orgUuid attribute. |
ImmutableBackupGroup |
withPaused(boolean value)
Copy the current immutable object by setting a value for the
paused attribute. |
ImmutableBackupGroup |
withPolicyAppliedTime(Instant value)
Copy the current immutable object by setting a present value for the optional
policyAppliedTime attribute. |
ImmutableBackupGroup |
withPolicyAppliedTime(Optional<? extends Instant> optional)
Copy the current immutable object by setting an optional value for the
policyAppliedTime attribute. |
ImmutableBackupGroup |
withPolicyUid(PolicyUid value)
Copy the current immutable object by setting a value for the
policyUid attribute. |
ImmutableBackupGroup |
withPriority(BackupGroupPriority value)
Copy the current immutable object by setting a value for the
priority attribute. |
ImmutableBackupGroup |
withProtectedSources(Iterable<? extends VCloudProtectionSource> elements)
Copy the current immutable object with elements that replace the content of
protectedSources. |
ImmutableBackupGroup |
withProtectedSources(VCloudProtectionSource... elements)
Copy the current immutable object with elements that replace the content of
protectedSources. |
ImmutableBackupGroup |
withQosType(BackupGroupQosType value)
Copy the current immutable object by setting a value for the
qosType attribute. |
ImmutableBackupGroup |
withQuiesce(boolean value)
Copy the current immutable object by setting a value for the
quiesce attribute. |
ImmutableBackupGroup |
withSkipPhysicalRdmDisks(boolean value)
Copy the current immutable object by setting a value for the
skipPhysicalRdmDisks attribute. |
ImmutableBackupGroup |
withStartTime(TimeOfDay value)
Copy the current immutable object by setting a value for the
startTime attribute. |
ImmutableBackupGroup |
withTimezone(String value)
Copy the current immutable object by setting a value for the
timezone attribute. |
ImmutableBackupGroup |
withUid(BackupGroupUid value)
Copy the current immutable object by setting a value for the
uid attribute. |
ImmutableBackupGroup |
withVdcUuid(VdcUuid value)
Copy the current immutable object by setting a value for the
vdcUuid attribute. |
public long id()
id in interface BackupGrouppublic BackupGroupUid uid()
uid in interface BackupGrouppublic String name()
name in interface BackupGrouppublic Instant creationTime()
creationTime in interface BackupGrouppublic Instant modifiedTime()
modifiedTime in interface BackupGrouppublic Optional<String> description()
description in interface BackupGrouppublic Optional<Instant> endTime()
endTime in interface BackupGrouppublic boolean active()
active in interface BackupGrouppublic boolean deleted()
deleted in interface BackupGrouppublic boolean paused()
paused in interface BackupGrouppublic com.google.common.collect.ImmutableList<BackupGroupDiskUnit> excludedDisks()
excludedDisks in interface BackupGrouppublic boolean fallbackToCrashConsistent()
fallbackToCrashConsistent in interface BackupGrouppublic boolean skipPhysicalRdmDisks()
skipPhysicalRdmDisks in interface BackupGrouppublic long fullProtectionSlaTimeMins()
fullProtectionSlaTimeMins in interface BackupGrouppublic long incrementalProtectionSlaTimeMins()
incrementalProtectionSlaTimeMins in interface BackupGrouppublic BackupGroupIndexingPolicy indexingPolicy()
indexingPolicy in interface BackupGrouppublic PolicyUid policyUid()
policyUid in interface BackupGrouppublic Optional<Instant> policyAppliedTime()
policyAppliedTime in interface BackupGrouppublic BackupGroupPriority priority()
priority in interface BackupGrouppublic BackupGroupQosType qosType()
qosType in interface BackupGrouppublic TimeOfDay startTime()
startTime in interface BackupGrouppublic String timezone()
timezone in interface BackupGrouppublic TenantUid cohesityTenantUid()
cohesityTenantUid in interface BackupGrouppublic CompanyId companyId()
companyId in interface BackupGrouppublic LocationId locationId()
locationId in interface BackupGrouppublic VdcUuid vdcUuid()
vdcUuid in interface BackupGrouppublic OrgUuid orgUuid()
orgUuid in interface BackupGrouppublic com.google.common.collect.ImmutableSet<VCloudProtectionSource> excludedSources()
List of sources from a Protection Source that should not be protected and
are excluded from being backed up by the backup group. Leaf and non-leaf
Objects may be in this list and an Object in this list must have an
ancestor in the BackupGroup.protectedSources() list.
excludedSources in interface BackupGrouppublic com.google.common.collect.ImmutableSet<VCloudProtectionSource> protectedSources()
Specifies the list of Objects to protect (or back up) by the Protection backup group. An Object in this list may be descendant of another Object in this list.
protectedSources in interface BackupGrouppublic boolean abortInBlackoutPeriod()
abortInBlackoutPeriod in interface BackupGrouppublic boolean continueOnQuiesceFailure()
continueOnQuiesceFailure in interface BackupGrouppublic boolean quiesce()
quiesce in interface BackupGrouppublic final ImmutableBackupGroup withId(long value)
id attribute.
A value equality check is used to prevent copying of the same value by returning this.value - A new value for idthis objectpublic final ImmutableBackupGroup 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 ImmutableBackupGroup withName(String value)
name attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for namethis objectpublic final ImmutableBackupGroup withCreationTime(Instant value)
creationTime attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for creationTimethis objectpublic final ImmutableBackupGroup withModifiedTime(Instant value)
modifiedTime attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for modifiedTimethis objectpublic final ImmutableBackupGroup withDescription(String value)
description attribute.value - The value for descriptionthis objectpublic final ImmutableBackupGroup withDescription(Optional<String> optional)
description attribute.
An equality check is used on inner nullable value to prevent copying of the same value by returning this.optional - A value for descriptionthis objectpublic final ImmutableBackupGroup withEndTime(Instant value)
endTime attribute.value - The value for endTimethis objectpublic final ImmutableBackupGroup withEndTime(Optional<? extends Instant> optional)
endTime attribute.
A shallow reference equality check is used on unboxed optional value to prevent copying of the same value by returning this.optional - A value for endTimethis objectpublic final ImmutableBackupGroup withActive(boolean value)
active attribute.
A value equality check is used to prevent copying of the same value by returning this.value - A new value for activethis objectpublic final ImmutableBackupGroup withDeleted(boolean value)
deleted attribute.
A value equality check is used to prevent copying of the same value by returning this.value - A new value for deletedthis objectpublic final ImmutableBackupGroup withPaused(boolean value)
paused attribute.
A value equality check is used to prevent copying of the same value by returning this.value - A new value for pausedthis objectpublic final ImmutableBackupGroup withExcludedDisks(BackupGroupDiskUnit... elements)
excludedDisks.elements - The elements to setthis objectpublic final ImmutableBackupGroup withExcludedDisks(Iterable<? extends BackupGroupDiskUnit> elements)
excludedDisks.
A shallow reference equality check is used to prevent copying of the same value by returning this.elements - An iterable of excludedDisks elements to setthis objectpublic final ImmutableBackupGroup withFallbackToCrashConsistent(boolean value)
fallbackToCrashConsistent attribute.
A value equality check is used to prevent copying of the same value by returning this.value - A new value for fallbackToCrashConsistentthis objectpublic final ImmutableBackupGroup withSkipPhysicalRdmDisks(boolean value)
skipPhysicalRdmDisks attribute.
A value equality check is used to prevent copying of the same value by returning this.value - A new value for skipPhysicalRdmDisksthis objectpublic final ImmutableBackupGroup withFullProtectionSlaTimeMins(long value)
fullProtectionSlaTimeMins attribute.
A value equality check is used to prevent copying of the same value by returning this.value - A new value for fullProtectionSlaTimeMinsthis objectpublic final ImmutableBackupGroup withIncrementalProtectionSlaTimeMins(long value)
incrementalProtectionSlaTimeMins attribute.
A value equality check is used to prevent copying of the same value by returning this.value - A new value for incrementalProtectionSlaTimeMinsthis objectpublic final ImmutableBackupGroup withIndexingPolicy(BackupGroupIndexingPolicy value)
indexingPolicy attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for indexingPolicythis objectpublic final ImmutableBackupGroup withPolicyUid(PolicyUid value)
policyUid attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for policyUidthis objectpublic final ImmutableBackupGroup withPolicyAppliedTime(Instant value)
policyAppliedTime attribute.value - The value for policyAppliedTimethis objectpublic final ImmutableBackupGroup withPolicyAppliedTime(Optional<? extends Instant> optional)
policyAppliedTime attribute.
A shallow reference equality check is used on unboxed optional value to prevent copying of the same value by returning this.optional - A value for policyAppliedTimethis objectpublic final ImmutableBackupGroup withPriority(BackupGroupPriority value)
priority attribute.
A value equality check is used to prevent copying of the same value by returning this.value - A new value for prioritythis objectpublic final ImmutableBackupGroup withQosType(BackupGroupQosType value)
qosType attribute.
A value equality check is used to prevent copying of the same value by returning this.value - A new value for qosTypethis objectpublic final ImmutableBackupGroup withStartTime(TimeOfDay value)
startTime attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for startTimethis objectpublic final ImmutableBackupGroup withTimezone(String value)
timezone attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for timezonethis objectpublic final ImmutableBackupGroup 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 ImmutableBackupGroup 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 ImmutableBackupGroup 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 ImmutableBackupGroup 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 ImmutableBackupGroup 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 ImmutableBackupGroup withExcludedSources(VCloudProtectionSource... elements)
excludedSources.elements - The elements to setthis objectpublic final ImmutableBackupGroup withExcludedSources(Iterable<? extends VCloudProtectionSource> elements)
excludedSources.
A shallow reference equality check is used to prevent copying of the same value by returning this.elements - An iterable of excludedSources elements to setthis objectpublic final ImmutableBackupGroup withProtectedSources(VCloudProtectionSource... elements)
protectedSources.elements - The elements to setthis objectpublic final ImmutableBackupGroup withProtectedSources(Iterable<? extends VCloudProtectionSource> elements)
protectedSources.
A shallow reference equality check is used to prevent copying of the same value by returning this.elements - An iterable of protectedSources elements to setthis objectpublic final ImmutableBackupGroup withAbortInBlackoutPeriod(boolean value)
abortInBlackoutPeriod attribute.
A value equality check is used to prevent copying of the same value by returning this.value - A new value for abortInBlackoutPeriodthis objectpublic final ImmutableBackupGroup withContinueOnQuiesceFailure(boolean value)
continueOnQuiesceFailure attribute.
A value equality check is used to prevent copying of the same value by returning this.value - A new value for continueOnQuiesceFailurethis objectpublic final ImmutableBackupGroup withQuiesce(boolean value)
quiesce attribute.
A value equality check is used to prevent copying of the same value by returning this.value - A new value for quiescethis objectpublic boolean equals(@Nullable Object another)
ImmutableBackupGroup that have equal attribute values.public int hashCode()
id, uid, name, creationTime, modifiedTime, description, endTime, active, deleted, paused, excludedDisks, fallbackToCrashConsistent, skipPhysicalRdmDisks, fullProtectionSlaTimeMins, incrementalProtectionSlaTimeMins, indexingPolicy, policyUid, policyAppliedTime, priority, qosType, startTime, timezone, cohesityTenantUid, companyId, locationId, vdcUuid, orgUuid, excludedSources, protectedSources, abortInBlackoutPeriod, continueOnQuiesceFailure, quiesce.public String toString()
BackupGroup with attribute values.public static ImmutableBackupGroup copyOf(BackupGroup instance)
BackupGroup 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 ImmutableBackupGroup.Builder builder()
ImmutableBackupGroup.
ImmutableBackupGroup.builder()
.id(long) // required id
.uid(com.iland.cohesity.iaas.backups.common.model.BackupGroupUid) // required uid
.name(String) // required name
.creationTime(java.time.Instant) // required creationTime
.modifiedTime(java.time.Instant) // required modifiedTime
.description(String) // optional description
.endTime(java.time.Instant) // optional endTime
.active(boolean) // required active
.deleted(boolean) // required deleted
.paused(boolean) // required paused
.addExcludedDisks|addAllExcludedDisks(com.iland.cohesity.iaas.backups.backupgroups.api.model.BackupGroupDiskUnit) // excludedDisks elements
.fallbackToCrashConsistent(boolean) // required fallbackToCrashConsistent
.skipPhysicalRdmDisks(boolean) // required skipPhysicalRdmDisks
.fullProtectionSlaTimeMins(long) // required fullProtectionSlaTimeMins
.incrementalProtectionSlaTimeMins(long) // required incrementalProtectionSlaTimeMins
.indexingPolicy(com.iland.cohesity.iaas.backups.backupgroups.api.model.BackupGroupIndexingPolicy) // required indexingPolicy
.policyUid(com.iland.cohesity.iaas.backups.common.model.PolicyUid) // required policyUid
.policyAppliedTime(java.time.Instant) // optional policyAppliedTime
.priority(com.iland.cohesity.iaas.backups.backupgroups.enums.BackupGroupPriority) // required priority
.qosType(com.iland.cohesity.iaas.backups.backupgroups.enums.BackupGroupQosType) // required qosType
.startTime(com.iland.cohesity.iaas.backups.common.model.TimeOfDay) // required startTime
.timezone(String) // required timezone
.cohesityTenantUid(com.iland.cohesity.iaas.backups.common.model.TenantUid) // required cohesityTenantUid
.companyId(com.iland.cohesity.iaas.backups.common.model.CompanyId) // required companyId
.locationId(com.iland.cohesity.iaas.backups.common.model.LocationId) // required locationId
.vdcUuid(com.iland.cohesity.iaas.backups.common.model.VdcUuid) // required vdcUuid
.orgUuid(com.iland.cohesity.iaas.backups.common.model.OrgUuid) // required orgUuid
.addExcludedSources|addAllExcludedSources(com.iland.cohesity.iaas.backups.common.model.VCloudProtectionSource) // excludedSources elements
.addProtectedSources|addAllProtectedSources(com.iland.cohesity.iaas.backups.common.model.VCloudProtectionSource) // protectedSources elements
.abortInBlackoutPeriod(boolean) // required abortInBlackoutPeriod
.continueOnQuiesceFailure(boolean) // required continueOnQuiesceFailure
.quiesce(boolean) // required quiesce
.build();
Copyright © 2023 iland Internet Solutions, Corp. All rights reserved.