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