@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutableVirtualDiskMapping extends Object implements VirtualDiskMapping
VirtualDiskMapping.
Use the builder to create immutable instances:
ImmutableVirtualDiskMapping.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableVirtualDiskMapping.Builder
Builds instances of type
ImmutableVirtualDiskMapping. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableVirtualDiskMapping.Builder |
builder()
Creates a builder for
ImmutableVirtualDiskMapping. |
static ImmutableVirtualDiskMapping |
copyOf(VirtualDiskMapping instance)
Creates an immutable copy of a
VirtualDiskMapping value. |
VirtualDiskIdInformation |
diskToOverwrite()
Specifies information about virtual disk which includes disk uuid,
controller type, bus number and unit number.
|
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableVirtualDiskMapping that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
diskToOverwrite, sourceDisk, storageProfileUuid. |
VirtualDiskIdInformation |
sourceDisk()
Specifies information about virtual disk which includes disk uuid,
controller type, bus number and unit number.
|
String |
storageProfileUuid()
Specifies the UUID of the storage profile that the recovered disk should be
placed on.
|
String |
toString()
Prints the immutable value
VirtualDiskMapping with attribute values. |
ImmutableVirtualDiskMapping |
withDiskToOverwrite(VirtualDiskIdInformation value)
Copy the current immutable object by setting a value for the
diskToOverwrite attribute. |
ImmutableVirtualDiskMapping |
withSourceDisk(VirtualDiskIdInformation value)
Copy the current immutable object by setting a value for the
sourceDisk attribute. |
ImmutableVirtualDiskMapping |
withStorageProfileUuid(String value)
Copy the current immutable object by setting a value for the
storageProfileUuid attribute. |
public VirtualDiskIdInformation diskToOverwrite()
diskToOverwrite in interface VirtualDiskMappingpublic VirtualDiskIdInformation sourceDisk()
sourceDisk in interface VirtualDiskMappingpublic String storageProfileUuid()
storageProfileUuid in interface VirtualDiskMappingpublic final ImmutableVirtualDiskMapping withDiskToOverwrite(VirtualDiskIdInformation value)
diskToOverwrite attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for diskToOverwritethis objectpublic final ImmutableVirtualDiskMapping withSourceDisk(VirtualDiskIdInformation value)
sourceDisk attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for sourceDiskthis objectpublic final ImmutableVirtualDiskMapping withStorageProfileUuid(String value)
storageProfileUuid attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for storageProfileUuidthis objectpublic boolean equals(@Nullable Object another)
ImmutableVirtualDiskMapping that have equal attribute values.public int hashCode()
diskToOverwrite, sourceDisk, storageProfileUuid.public String toString()
VirtualDiskMapping with attribute values.public static ImmutableVirtualDiskMapping copyOf(VirtualDiskMapping instance)
VirtualDiskMapping 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 ImmutableVirtualDiskMapping.Builder builder()
ImmutableVirtualDiskMapping.
ImmutableVirtualDiskMapping.builder()
.diskToOverwrite(com.iland.cohesity.iaas.backups.common.model.VirtualDiskIdInformation) // required diskToOverwrite
.sourceDisk(com.iland.cohesity.iaas.backups.common.model.VirtualDiskIdInformation) // required sourceDisk
.storageProfileUuid(String) // required storageProfileUuid
.build();
Copyright © 2023 iland Internet Solutions, Corp. All rights reserved.