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