@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutableLogicalVolume extends Object implements LogicalVolume
LogicalVolume.
Use the builder to create immutable instances:
ImmutableLogicalVolume.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableLogicalVolume.Builder
Builds instances of type
ImmutableLogicalVolume. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableLogicalVolume.Builder |
builder()
Creates a builder for
ImmutableLogicalVolume. |
static ImmutableLogicalVolume |
copyOf(LogicalVolume instance)
Creates an immutable copy of a
LogicalVolume value. |
DeviceTreeDetails |
deviceRootNode()
Specifies a logical volume stored as a tree where the leaves are the blocks
of partitions and intermediate nodes are assembled by combining nodes using
one of the following modes: linear layout, striped, mirrored, RAID etc.
|
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableLogicalVolume that have equal attribute values. |
String |
groupName()
Specifies the group name of the logical volume.
|
String |
groupUuid()
Specifies the group uuid of the logical volume.
|
int |
hashCode()
Computes a hash code from attributes:
deviceRootNode, groupName, groupUuid, name, uuid. |
String |
name()
Specifies the name of the logical volume.
|
String |
toString()
Prints the immutable value
LogicalVolume with attribute values. |
String |
uuid()
Specifies the uuid of the logical volume.
|
ImmutableLogicalVolume |
withDeviceRootNode(DeviceTreeDetails value)
Copy the current immutable object by setting a value for the
deviceRootNode attribute. |
ImmutableLogicalVolume |
withGroupName(String value)
Copy the current immutable object by setting a value for the
groupName attribute. |
ImmutableLogicalVolume |
withGroupUuid(String value)
Copy the current immutable object by setting a value for the
groupUuid attribute. |
ImmutableLogicalVolume |
withName(String value)
Copy the current immutable object by setting a value for the
name attribute. |
ImmutableLogicalVolume |
withUuid(String value)
Copy the current immutable object by setting a value for the
uuid attribute. |
public DeviceTreeDetails deviceRootNode()
deviceRootNode in interface LogicalVolumepublic String groupName()
groupName in interface LogicalVolumepublic String groupUuid()
groupUuid in interface LogicalVolumepublic String name()
name in interface LogicalVolumepublic String uuid()
uuid in interface LogicalVolumepublic final ImmutableLogicalVolume withDeviceRootNode(DeviceTreeDetails value)
deviceRootNode attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for deviceRootNodethis objectpublic final ImmutableLogicalVolume withGroupName(String value)
groupName attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for groupNamethis objectpublic final ImmutableLogicalVolume withGroupUuid(String value)
groupUuid attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for groupUuidthis objectpublic final ImmutableLogicalVolume withName(String value)
name attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for namethis objectpublic final ImmutableLogicalVolume withUuid(String value)
uuid attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for uuidthis objectpublic boolean equals(@Nullable Object another)
ImmutableLogicalVolume that have equal attribute values.public int hashCode()
deviceRootNode, groupName, groupUuid, name, uuid.public String toString()
LogicalVolume with attribute values.public static ImmutableLogicalVolume copyOf(LogicalVolume instance)
LogicalVolume 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 ImmutableLogicalVolume.Builder builder()
ImmutableLogicalVolume.
ImmutableLogicalVolume.builder()
.deviceRootNode(com.iland.cohesity.iaas.backups.common.model.DeviceTreeDetails) // required deviceRootNode
.groupName(String) // required groupName
.groupUuid(String) // required groupUuid
.name(String) // required name
.uuid(String) // required uuid
.build();
Copyright © 2023 iland Internet Solutions, Corp. All rights reserved.