@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutableRestoreTaskObject extends Object implements RestoreTaskObject
RestoreTaskObject
.
Use the builder to create immutable instances:
ImmutableRestoreTaskObject.builder()
.
Modifier and Type | Class and Description |
---|---|
static class |
ImmutableRestoreTaskObject.Builder
Builds instances of type
ImmutableRestoreTaskObject . |
Modifier and Type | Method and Description |
---|---|
BackupRunUid |
backupRunUid()
The UID of the backup run.
|
static ImmutableRestoreTaskObject.Builder |
builder()
Creates a builder for
ImmutableRestoreTaskObject . |
static ImmutableRestoreTaskObject |
copyOf(RestoreTaskObject instance)
Creates an immutable copy of a
RestoreTaskObject value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableRestoreTaskObject that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
backupRunUid , source . |
VCloudProtectionSource |
source()
The source info.
|
String |
toString()
Prints the immutable value
RestoreTaskObject with attribute values. |
ImmutableRestoreTaskObject |
withBackupRunUid(BackupRunUid value)
Copy the current immutable object by setting a value for the
backupRunUid attribute. |
ImmutableRestoreTaskObject |
withSource(VCloudProtectionSource value)
Copy the current immutable object by setting a value for the
source attribute. |
public BackupRunUid backupRunUid()
backupRunUid
in interface RestoreTaskObject
public VCloudProtectionSource source()
source
in interface RestoreTaskObject
public final ImmutableRestoreTaskObject withBackupRunUid(BackupRunUid value)
backupRunUid
attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this
.value
- A new value for backupRunUidthis
objectpublic final ImmutableRestoreTaskObject 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 boolean equals(@Nullable Object another)
ImmutableRestoreTaskObject
that have equal attribute values.public int hashCode()
backupRunUid
, source
.public String toString()
RestoreTaskObject
with attribute values.public static ImmutableRestoreTaskObject copyOf(RestoreTaskObject instance)
RestoreTaskObject
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 ImmutableRestoreTaskObject.Builder builder()
ImmutableRestoreTaskObject
.
ImmutableRestoreTaskObject.builder() .backupRunUid(com.iland.cohesity.iaas.backups.common.model.BackupRunUid) // requiredbackupRunUid
.source(com.iland.cohesity.iaas.backups.common.model.VCloudProtectionSource) // requiredsource
.build();
Copyright © 2023 iland Internet Solutions, Corp. All rights reserved.