@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutableBackupGroupParams extends Object implements BackupGroupParams
BackupGroupParams.
Use the builder to create immutable instances:
ImmutableBackupGroupParams.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableBackupGroupParams.Builder
Builds instances of type
ImmutableBackupGroupParams. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
abortInBlackoutPeriod()
If true, aborts any currently executing Job Runs of this backup group when
a blackout period specified for this Job starts, even if the Job Run
started before the blackout period began.
|
static ImmutableBackupGroupParams.Builder |
builder()
Creates a builder for
ImmutableBackupGroupParams. |
boolean |
continueOnQuiesceFailure()
Whether to continue backing up on quiesce failure.
|
static ImmutableBackupGroupParams |
copyOf(BackupGroupParams instance)
Creates an immutable copy of a
BackupGroupParams value. |
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
ImmutableBackupGroupParams that have equal attribute values. |
com.google.common.collect.ImmutableList<BackupGroupDiskUnit> |
excludedDisks()
Specifies the list of Disks to be excluded from backing up.
|
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:
name, description, endTime, excludedDisks, fallbackToCrashConsistent, skipPhysicalRdmDisks, fullProtectionSlaTimeMins, incrementalProtectionSlaTimeMins, indexingPolicy, policyId, priority, qosType, vcloudExcludedSources, vcloudProtectedSources, startTime, timezone, abortInBlackoutPeriod, continueOnQuiesceFailure, quiesce. |
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).
|
Optional<BackupGroupIndexingPolicy> |
indexingPolicy()
Specifies settings for indexing files found in an Object (such as a VM) so
these files can be searched and recovered.
|
String |
name()
Specifies the name of the backup group.
|
PolicyUid |
policyId()
Specifies the unique id of the Protection Policy associated with the backup
group.
|
BackupGroupPriority |
priority()
Specifies the priority of execution for a backup group.
|
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
BackupGroupParams with attribute values. |
com.google.common.collect.ImmutableSet<VCloudProtectionSourceRef> |
vcloudExcludedSources()
Array of Excluded vCloud Source Objects.
|
com.google.common.collect.ImmutableSet<VCloudProtectionSourceRef> |
vcloudProtectedSources()
Array of Protected vCloud Source Objects.
|
ImmutableBackupGroupParams |
withAbortInBlackoutPeriod(boolean value)
Copy the current immutable object by setting a value for the
abortInBlackoutPeriod attribute. |
ImmutableBackupGroupParams |
withContinueOnQuiesceFailure(boolean value)
Copy the current immutable object by setting a value for the
continueOnQuiesceFailure attribute. |
ImmutableBackupGroupParams |
withDescription(Optional<String> optional)
Copy the current immutable object by setting an optional value for the
description attribute. |
ImmutableBackupGroupParams |
withDescription(String value)
Copy the current immutable object by setting a present value for the optional
description attribute. |
ImmutableBackupGroupParams |
withEndTime(Instant value)
Copy the current immutable object by setting a present value for the optional
endTime attribute. |
ImmutableBackupGroupParams |
withEndTime(Optional<? extends Instant> optional)
Copy the current immutable object by setting an optional value for the
endTime attribute. |
ImmutableBackupGroupParams |
withExcludedDisks(BackupGroupDiskUnit... elements)
Copy the current immutable object with elements that replace the content of
excludedDisks. |
ImmutableBackupGroupParams |
withExcludedDisks(Iterable<? extends BackupGroupDiskUnit> elements)
Copy the current immutable object with elements that replace the content of
excludedDisks. |
ImmutableBackupGroupParams |
withFallbackToCrashConsistent(boolean value)
Copy the current immutable object by setting a value for the
fallbackToCrashConsistent attribute. |
ImmutableBackupGroupParams |
withFullProtectionSlaTimeMins(long value)
Copy the current immutable object by setting a value for the
fullProtectionSlaTimeMins attribute. |
ImmutableBackupGroupParams |
withIncrementalProtectionSlaTimeMins(long value)
Copy the current immutable object by setting a value for the
incrementalProtectionSlaTimeMins attribute. |
ImmutableBackupGroupParams |
withIndexingPolicy(BackupGroupIndexingPolicy value)
Copy the current immutable object by setting a present value for the optional
indexingPolicy attribute. |
ImmutableBackupGroupParams |
withIndexingPolicy(Optional<? extends BackupGroupIndexingPolicy> optional)
Copy the current immutable object by setting an optional value for the
indexingPolicy attribute. |
ImmutableBackupGroupParams |
withName(String value)
Copy the current immutable object by setting a value for the
name attribute. |
ImmutableBackupGroupParams |
withPolicyId(PolicyUid value)
Copy the current immutable object by setting a value for the
policyId attribute. |
ImmutableBackupGroupParams |
withPriority(BackupGroupPriority value)
Copy the current immutable object by setting a value for the
priority attribute. |
ImmutableBackupGroupParams |
withQosType(BackupGroupQosType value)
Copy the current immutable object by setting a value for the
qosType attribute. |
ImmutableBackupGroupParams |
withQuiesce(boolean value)
Copy the current immutable object by setting a value for the
quiesce attribute. |
ImmutableBackupGroupParams |
withSkipPhysicalRdmDisks(boolean value)
Copy the current immutable object by setting a value for the
skipPhysicalRdmDisks attribute. |
ImmutableBackupGroupParams |
withStartTime(TimeOfDay value)
Copy the current immutable object by setting a value for the
startTime attribute. |
ImmutableBackupGroupParams |
withTimezone(String value)
Copy the current immutable object by setting a value for the
timezone attribute. |
ImmutableBackupGroupParams |
withVcloudExcludedSources(Iterable<? extends VCloudProtectionSourceRef> elements)
Copy the current immutable object with elements that replace the content of
vcloudExcludedSources. |
ImmutableBackupGroupParams |
withVcloudExcludedSources(VCloudProtectionSourceRef... elements)
Copy the current immutable object with elements that replace the content of
vcloudExcludedSources. |
ImmutableBackupGroupParams |
withVcloudProtectedSources(Iterable<? extends VCloudProtectionSourceRef> elements)
Copy the current immutable object with elements that replace the content of
vcloudProtectedSources. |
ImmutableBackupGroupParams |
withVcloudProtectedSources(VCloudProtectionSourceRef... elements)
Copy the current immutable object with elements that replace the content of
vcloudProtectedSources. |
public String name()
name in interface BackupGroupParamspublic Optional<String> description()
description in interface BackupGroupParamspublic Optional<Instant> endTime()
endTime in interface BackupGroupParamspublic com.google.common.collect.ImmutableList<BackupGroupDiskUnit> excludedDisks()
excludedDisks in interface BackupGroupParamspublic boolean fallbackToCrashConsistent()
fallbackToCrashConsistent in interface BackupGroupParamspublic boolean skipPhysicalRdmDisks()
skipPhysicalRdmDisks in interface BackupGroupParamspublic long fullProtectionSlaTimeMins()
fullProtectionSlaTimeMins in interface BackupGroupParamspublic long incrementalProtectionSlaTimeMins()
incrementalProtectionSlaTimeMins in interface BackupGroupParamspublic Optional<BackupGroupIndexingPolicy> indexingPolicy()
indexingPolicy in interface BackupGroupParamspublic PolicyUid policyId()
policyId in interface BackupGroupParamspublic BackupGroupPriority priority()
priority in interface BackupGroupParamspublic BackupGroupQosType qosType()
qosType in interface BackupGroupParamspublic com.google.common.collect.ImmutableSet<VCloudProtectionSourceRef> vcloudExcludedSources()
List of sources from a Protection Source that should not be protected and
are excluded from being backed up by the job. Leaf and non-leaf Objects may
be in this list and an Object in this list must have an ancestor in the
BackupGroupParams.vcloudProtectedSources() list.
vcloudExcludedSources in interface BackupGroupParamspublic com.google.common.collect.ImmutableSet<VCloudProtectionSourceRef> vcloudProtectedSources()
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.
vcloudProtectedSources in interface BackupGroupParamspublic TimeOfDay startTime()
startTime in interface BackupGroupParamspublic String timezone()
timezone in interface BackupGroupParamspublic boolean abortInBlackoutPeriod()
abortInBlackoutPeriod in interface BackupGroupParamspublic boolean continueOnQuiesceFailure()
continueOnQuiesceFailure in interface BackupGroupParamspublic boolean quiesce()
quiesce in interface BackupGroupParamspublic final ImmutableBackupGroupParams 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 ImmutableBackupGroupParams withDescription(String value)
description attribute.value - The value for descriptionthis objectpublic final ImmutableBackupGroupParams 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 ImmutableBackupGroupParams withEndTime(Instant value)
endTime attribute.value - The value for endTimethis objectpublic final ImmutableBackupGroupParams 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 ImmutableBackupGroupParams withExcludedDisks(BackupGroupDiskUnit... elements)
excludedDisks.elements - The elements to setthis objectpublic final ImmutableBackupGroupParams 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 ImmutableBackupGroupParams 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 ImmutableBackupGroupParams 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 ImmutableBackupGroupParams 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 ImmutableBackupGroupParams 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 ImmutableBackupGroupParams withIndexingPolicy(BackupGroupIndexingPolicy value)
indexingPolicy attribute.value - The value for indexingPolicythis objectpublic final ImmutableBackupGroupParams withIndexingPolicy(Optional<? extends BackupGroupIndexingPolicy> optional)
indexingPolicy 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 indexingPolicythis objectpublic final ImmutableBackupGroupParams withPolicyId(PolicyUid value)
policyId attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for policyIdthis objectpublic final ImmutableBackupGroupParams 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 ImmutableBackupGroupParams 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 ImmutableBackupGroupParams withVcloudExcludedSources(VCloudProtectionSourceRef... elements)
vcloudExcludedSources.elements - The elements to setthis objectpublic final ImmutableBackupGroupParams withVcloudExcludedSources(Iterable<? extends VCloudProtectionSourceRef> elements)
vcloudExcludedSources.
A shallow reference equality check is used to prevent copying of the same value by returning this.elements - An iterable of vcloudExcludedSources elements to setthis objectpublic final ImmutableBackupGroupParams withVcloudProtectedSources(VCloudProtectionSourceRef... elements)
vcloudProtectedSources.elements - The elements to setthis objectpublic final ImmutableBackupGroupParams withVcloudProtectedSources(Iterable<? extends VCloudProtectionSourceRef> elements)
vcloudProtectedSources.
A shallow reference equality check is used to prevent copying of the same value by returning this.elements - An iterable of vcloudProtectedSources elements to setthis objectpublic final ImmutableBackupGroupParams 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 ImmutableBackupGroupParams 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 ImmutableBackupGroupParams 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 ImmutableBackupGroupParams 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 ImmutableBackupGroupParams 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)
ImmutableBackupGroupParams that have equal attribute values.public int hashCode()
name, description, endTime, excludedDisks, fallbackToCrashConsistent, skipPhysicalRdmDisks, fullProtectionSlaTimeMins, incrementalProtectionSlaTimeMins, indexingPolicy, policyId, priority, qosType, vcloudExcludedSources, vcloudProtectedSources, startTime, timezone, abortInBlackoutPeriod, continueOnQuiesceFailure, quiesce.public String toString()
BackupGroupParams with attribute values.public static ImmutableBackupGroupParams copyOf(BackupGroupParams instance)
BackupGroupParams 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 ImmutableBackupGroupParams.Builder builder()
ImmutableBackupGroupParams.
ImmutableBackupGroupParams.builder()
.name(String) // required name
.description(String) // optional description
.endTime(java.time.Instant) // optional endTime
.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) // optional indexingPolicy
.policyId(com.iland.cohesity.iaas.backups.common.model.PolicyUid) // required policyId
.priority(com.iland.cohesity.iaas.backups.backupgroups.enums.BackupGroupPriority) // required priority
.qosType(com.iland.cohesity.iaas.backups.backupgroups.enums.BackupGroupQosType) // required qosType
.addVcloudExcludedSources|addAllVcloudExcludedSources(com.iland.cohesity.iaas.backups.common.model.VCloudProtectionSourceRef) // vcloudExcludedSources elements
.addVcloudProtectedSources|addAllVcloudProtectedSources(com.iland.cohesity.iaas.backups.common.model.VCloudProtectionSourceRef) // vcloudProtectedSources elements
.startTime(com.iland.cohesity.iaas.backups.common.model.TimeOfDay) // required startTime
.timezone(String) // required timezone
.abortInBlackoutPeriod(boolean) // required abortInBlackoutPeriod
.continueOnQuiesceFailure(boolean) // required continueOnQuiesceFailure
.quiesce(boolean) // required quiesce
.build();
Copyright © 2023 iland Internet Solutions, Corp. All rights reserved.