@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutableSourceBackupStatus extends Object implements SourceBackupStatus
SourceBackupStatus.
 
 Use the builder to create immutable instances:
 ImmutableSourceBackupStatus.builder().
| Modifier and Type | Class and Description | 
|---|---|
| static class  | ImmutableSourceBackupStatus.BuilderBuilds instances of type  ImmutableSourceBackupStatus. | 
| Modifier and Type | Method and Description | 
|---|---|
| static ImmutableSourceBackupStatus.Builder | builder()Creates a builder for  ImmutableSourceBackupStatus. | 
| static ImmutableSourceBackupStatus | copyOf(SourceBackupStatus instance)Creates an immutable copy of a  SourceBackupStatusvalue. | 
| boolean | equals(Object another)This instance is equal to all instances of  ImmutableSourceBackupStatusthat have equal attribute values. | 
| Optional<String> | error()Specifies if an error occurred (if any) while running this task. | 
| int | hashCode()Computes a hash code from attributes:  error,isFullBackup,numRestarts,quiesced,slaViolated,source,stats,status,warnings. | 
| boolean | isFullBackup()Specifies whether this is a 'FULL' or 'REGULAR' backup of the Run. | 
| int | numRestarts()Specifies the number of times the the task was restarted because of the
 changes on the backup source host. | 
| boolean | quiesced()Specifies if app-consistent snapshot was captured. | 
| boolean | slaViolated()Specifies if the SLA was violated for the backup group run. | 
| VCloudProtectionSource | source()Specifies the vCloud protected source info. | 
| BackupSourceStats | stats()Specifies statistics about a Backup task in backup group run. | 
| StatusSourceBackupStatus | status()Specifies the status of the source object being protected. | 
| String | toString()Prints the immutable value  SourceBackupStatuswith attribute values. | 
| com.google.common.collect.ImmutableSet<String> | warnings()Array of Warnings. | 
| ImmutableSourceBackupStatus | withError(Optional<String> optional)Copy the current immutable object by setting an optional value for the  errorattribute. | 
| ImmutableSourceBackupStatus | withError(String value)Copy the current immutable object by setting a present value for the optional  errorattribute. | 
| ImmutableSourceBackupStatus | withIsFullBackup(boolean value)Copy the current immutable object by setting a value for the  isFullBackupattribute. | 
| ImmutableSourceBackupStatus | withNumRestarts(int value)Copy the current immutable object by setting a value for the  numRestartsattribute. | 
| ImmutableSourceBackupStatus | withQuiesced(boolean value)Copy the current immutable object by setting a value for the  quiescedattribute. | 
| ImmutableSourceBackupStatus | withSlaViolated(boolean value)Copy the current immutable object by setting a value for the  slaViolatedattribute. | 
| ImmutableSourceBackupStatus | withSource(VCloudProtectionSource value)Copy the current immutable object by setting a value for the  sourceattribute. | 
| ImmutableSourceBackupStatus | withStats(BackupSourceStats value)Copy the current immutable object by setting a value for the  statsattribute. | 
| ImmutableSourceBackupStatus | withStatus(StatusSourceBackupStatus value)Copy the current immutable object by setting a value for the  statusattribute. | 
| ImmutableSourceBackupStatus | withWarnings(Iterable<String> elements)Copy the current immutable object with elements that replace the content of  warnings. | 
| ImmutableSourceBackupStatus | withWarnings(String... elements)Copy the current immutable object with elements that replace the content of  warnings. | 
public Optional<String> error()
error in interface SourceBackupStatuspublic boolean isFullBackup()
isFullBackup in interface SourceBackupStatuspublic int numRestarts()
numRestarts in interface SourceBackupStatuspublic boolean quiesced()
quiesced in interface SourceBackupStatuspublic boolean slaViolated()
slaViolated in interface SourceBackupStatuspublic VCloudProtectionSource source()
source in interface SourceBackupStatuspublic BackupSourceStats stats()
stats in interface SourceBackupStatuspublic StatusSourceBackupStatus status()
status in interface SourceBackupStatuspublic com.google.common.collect.ImmutableSet<String> warnings()
Specifies the warnings that occurred (if any) while running this task.
warnings in interface SourceBackupStatuspublic final ImmutableSourceBackupStatus withError(String value)
error attribute.value - The value for errorthis objectpublic final ImmutableSourceBackupStatus withError(Optional<String> optional)
error attribute.
 An equality check is used on inner nullable value to prevent copying of the same value by returning this.optional - A value for errorthis objectpublic final ImmutableSourceBackupStatus withIsFullBackup(boolean value)
isFullBackup attribute.
 A value equality check is used to prevent copying of the same value by returning this.value - A new value for isFullBackupthis objectpublic final ImmutableSourceBackupStatus withNumRestarts(int value)
numRestarts attribute.
 A value equality check is used to prevent copying of the same value by returning this.value - A new value for numRestartsthis objectpublic final ImmutableSourceBackupStatus withQuiesced(boolean value)
quiesced attribute.
 A value equality check is used to prevent copying of the same value by returning this.value - A new value for quiescedthis objectpublic final ImmutableSourceBackupStatus withSlaViolated(boolean value)
slaViolated attribute.
 A value equality check is used to prevent copying of the same value by returning this.value - A new value for slaViolatedthis objectpublic final ImmutableSourceBackupStatus withSource(VCloudProtectionSource value)
source attribute.
 A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for sourcethis objectpublic final ImmutableSourceBackupStatus withStats(BackupSourceStats value)
stats attribute.
 A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for statsthis objectpublic final ImmutableSourceBackupStatus withStatus(StatusSourceBackupStatus value)
status attribute.
 A value equality check is used to prevent copying of the same value by returning this.value - A new value for statusthis objectpublic final ImmutableSourceBackupStatus withWarnings(String... elements)
warnings.elements - The elements to setthis objectpublic final ImmutableSourceBackupStatus withWarnings(Iterable<String> elements)
warnings.
 A shallow reference equality check is used to prevent copying of the same value by returning this.elements - An iterable of warnings elements to setthis objectpublic boolean equals(@Nullable Object another)
ImmutableSourceBackupStatus that have equal attribute values.public int hashCode()
error, isFullBackup, numRestarts, quiesced, slaViolated, source, stats, status, warnings.public String toString()
SourceBackupStatus with attribute values.public static ImmutableSourceBackupStatus copyOf(SourceBackupStatus instance)
SourceBackupStatus 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 ImmutableSourceBackupStatus.Builder builder()
ImmutableSourceBackupStatus.
 
 ImmutableSourceBackupStatus.builder()
    .error(String) // optional error
    .isFullBackup(boolean) // required isFullBackup
    .numRestarts(int) // required numRestarts
    .quiesced(boolean) // required quiesced
    .slaViolated(boolean) // required slaViolated
    .source(com.iland.cohesity.iaas.backups.common.model.VCloudProtectionSource) // required source
    .stats(com.iland.cohesity.iaas.backups.backupgroups.api.model.BackupSourceStats) // required stats
    .status(com.iland.cohesity.iaas.backups.backupgroups.enums.StatusSourceBackupStatus) // required status
    .addWarnings|addAllWarnings(String) // warnings elements
    .build();
 Copyright © 2023 iland Internet Solutions, Corp. All rights reserved.