@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 BackupGroupParams
public Optional<String> description()
description
in interface BackupGroupParams
public Optional<Instant> endTime()
endTime
in interface BackupGroupParams
public com.google.common.collect.ImmutableList<BackupGroupDiskUnit> excludedDisks()
excludedDisks
in interface BackupGroupParams
public boolean fallbackToCrashConsistent()
fallbackToCrashConsistent
in interface BackupGroupParams
public boolean skipPhysicalRdmDisks()
skipPhysicalRdmDisks
in interface BackupGroupParams
public long fullProtectionSlaTimeMins()
fullProtectionSlaTimeMins
in interface BackupGroupParams
public long incrementalProtectionSlaTimeMins()
incrementalProtectionSlaTimeMins
in interface BackupGroupParams
public Optional<BackupGroupIndexingPolicy> indexingPolicy()
indexingPolicy
in interface BackupGroupParams
public PolicyUid policyId()
policyId
in interface BackupGroupParams
public BackupGroupPriority priority()
priority
in interface BackupGroupParams
public BackupGroupQosType qosType()
qosType
in interface BackupGroupParams
public 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 BackupGroupParams
public 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 BackupGroupParams
public TimeOfDay startTime()
startTime
in interface BackupGroupParams
public String timezone()
timezone
in interface BackupGroupParams
public boolean abortInBlackoutPeriod()
abortInBlackoutPeriod
in interface BackupGroupParams
public boolean continueOnQuiesceFailure()
continueOnQuiesceFailure
in interface BackupGroupParams
public boolean quiesce()
quiesce
in interface BackupGroupParams
public 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) // requiredname
.description(String) // optionaldescription
.endTime(java.time.Instant) // optionalendTime
.addExcludedDisks|addAllExcludedDisks(com.iland.cohesity.iaas.backups.backupgroups.api.model.BackupGroupDiskUnit) //excludedDisks
elements .fallbackToCrashConsistent(boolean) // requiredfallbackToCrashConsistent
.skipPhysicalRdmDisks(boolean) // requiredskipPhysicalRdmDisks
.fullProtectionSlaTimeMins(long) // requiredfullProtectionSlaTimeMins
.incrementalProtectionSlaTimeMins(long) // requiredincrementalProtectionSlaTimeMins
.indexingPolicy(com.iland.cohesity.iaas.backups.backupgroups.api.model.BackupGroupIndexingPolicy) // optionalindexingPolicy
.policyId(com.iland.cohesity.iaas.backups.common.model.PolicyUid) // requiredpolicyId
.priority(com.iland.cohesity.iaas.backups.backupgroups.enums.BackupGroupPriority) // requiredpriority
.qosType(com.iland.cohesity.iaas.backups.backupgroups.enums.BackupGroupQosType) // requiredqosType
.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) // requiredstartTime
.timezone(String) // requiredtimezone
.abortInBlackoutPeriod(boolean) // requiredabortInBlackoutPeriod
.continueOnQuiesceFailure(boolean) // requiredcontinueOnQuiesceFailure
.quiesce(boolean) // requiredquiesce
.build();
Copyright © 2023 iland Internet Solutions, Corp. All rights reserved.