@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutableVirtualDiskIdInformation extends Object implements VirtualDiskIdInformation
VirtualDiskIdInformation
.
Use the builder to create immutable instances:
ImmutableVirtualDiskIdInformation.builder()
.
Modifier and Type | Class and Description |
---|---|
static class |
ImmutableVirtualDiskIdInformation.Builder
Builds instances of type
ImmutableVirtualDiskIdInformation . |
Modifier and Type | Method and Description |
---|---|
static ImmutableVirtualDiskIdInformation.Builder |
builder()
Creates a builder for
ImmutableVirtualDiskIdInformation . |
Long |
busNumber()
Specifies the Id of the controller bus that controls the disk.
|
String |
controllerType()
Specifies the controller type like SCSI, or IDE etc.
|
static ImmutableVirtualDiskIdInformation |
copyOf(VirtualDiskIdInformation instance)
Creates an immutable copy of a
VirtualDiskIdInformation value. |
String |
diskId()
Specfies the uuid of the virtual disk.
|
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableVirtualDiskIdInformation that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
busNumber , controllerType , diskId , unitNumber . |
String |
toString()
Prints the immutable value
VirtualDiskIdInformation with attribute values. |
Long |
unitNumber()
Specifies the disk file name.
|
ImmutableVirtualDiskIdInformation |
withBusNumber(Long value)
Copy the current immutable object by setting a value for the
busNumber attribute. |
ImmutableVirtualDiskIdInformation |
withControllerType(String value)
Copy the current immutable object by setting a value for the
controllerType attribute. |
ImmutableVirtualDiskIdInformation |
withDiskId(String value)
Copy the current immutable object by setting a value for the
diskId attribute. |
ImmutableVirtualDiskIdInformation |
withUnitNumber(Long value)
Copy the current immutable object by setting a value for the
unitNumber attribute. |
public Long busNumber()
busNumber
in interface VirtualDiskIdInformation
public String controllerType()
controllerType
in interface VirtualDiskIdInformation
public String diskId()
diskId
in interface VirtualDiskIdInformation
public Long unitNumber()
unitNumber
in interface VirtualDiskIdInformation
public final ImmutableVirtualDiskIdInformation withBusNumber(Long value)
busNumber
attribute.
An equals check used to prevent copying of the same value by returning this
.value
- A new value for busNumberthis
objectpublic final ImmutableVirtualDiskIdInformation withControllerType(String value)
controllerType
attribute.
An equals check used to prevent copying of the same value by returning this
.value
- A new value for controllerTypethis
objectpublic final ImmutableVirtualDiskIdInformation withDiskId(String value)
diskId
attribute.
An equals check used to prevent copying of the same value by returning this
.value
- A new value for diskIdthis
objectpublic final ImmutableVirtualDiskIdInformation withUnitNumber(Long value)
unitNumber
attribute.
An equals check used to prevent copying of the same value by returning this
.value
- A new value for unitNumberthis
objectpublic boolean equals(@Nullable Object another)
ImmutableVirtualDiskIdInformation
that have equal attribute values.public int hashCode()
busNumber
, controllerType
, diskId
, unitNumber
.public String toString()
VirtualDiskIdInformation
with attribute values.public static ImmutableVirtualDiskIdInformation copyOf(VirtualDiskIdInformation instance)
VirtualDiskIdInformation
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 ImmutableVirtualDiskIdInformation.Builder builder()
ImmutableVirtualDiskIdInformation
.
ImmutableVirtualDiskIdInformation.builder() .busNumber(Long) // requiredbusNumber
.controllerType(String) // requiredcontrollerType
.diskId(String) // requireddiskId
.unitNumber(Long) // requiredunitNumber
.build();
Copyright © 2023 iland Internet Solutions, Corp. All rights reserved.