public class DriveHardware
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
DriveHardware.Builder |
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
DriveHardware() |
DriveHardware(java.lang.String canonicalName,
java.lang.Boolean connected,
java.lang.Long dev,
java.lang.String devPath,
java.lang.String driveType,
java.lang.String driveEncryptionCapability,
java.lang.Long lifeRemainingPercent,
java.lang.Long lifetimeReadBytes,
java.lang.Long lifetimeWriteBytes,
java.lang.String name,
java.lang.String path,
java.lang.String pathLink,
java.lang.Long powerOnHours,
java.lang.String product,
java.lang.Long reallocatedSectors,
java.lang.Long reserveCapacityPercent,
java.lang.String scsiCompatId,
java.lang.String scsiState,
java.lang.Boolean securityAtMaximum,
java.lang.Boolean securityEnabled,
java.lang.Boolean securityFrozen,
java.lang.Boolean securityLocked,
java.lang.Boolean securitySupported,
java.lang.String serial,
java.lang.Long size,
java.lang.Long slot,
Optional<java.lang.Boolean> smartSsdWriteCapable,
java.util.UUID uuid,
java.lang.String vendor,
java.lang.String version) |
Modifier and Type | Method and Description |
---|---|
DriveHardware.Builder |
asBuilder() |
static DriveHardware.Builder |
builder() |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getCanonicalName() |
java.lang.Boolean |
getConnected() |
java.lang.Long |
getDev() |
java.lang.String |
getDevPath() |
java.lang.String |
getDriveEncryptionCapability() |
java.lang.String |
getDriveType() |
java.lang.Long |
getLifeRemainingPercent() |
java.lang.Long |
getLifetimeReadBytes() |
java.lang.Long |
getLifetimeWriteBytes() |
java.lang.String |
getName() |
java.lang.String |
getPath() |
java.lang.String |
getPathLink() |
java.lang.Long |
getPowerOnHours() |
java.lang.String |
getProduct() |
java.lang.Long |
getReallocatedSectors() |
java.lang.Long |
getReserveCapacityPercent() |
java.lang.String |
getScsiCompatId() |
java.lang.String |
getScsiState() |
java.lang.Boolean |
getSecurityAtMaximum() |
java.lang.Boolean |
getSecurityEnabled() |
java.lang.Boolean |
getSecurityFrozen() |
java.lang.Boolean |
getSecurityLocked() |
java.lang.Boolean |
getSecuritySupported() |
java.lang.String |
getSerial() |
java.lang.Long |
getSize() |
java.lang.Long |
getSlot() |
Optional<java.lang.Boolean> |
getSmartSsdWriteCapable() |
java.util.UUID |
getUuid() |
java.lang.String |
getVendor() |
java.lang.String |
getVersion() |
int |
hashCode() |
void |
setCanonicalName(java.lang.String canonicalName) |
void |
setConnected(java.lang.Boolean connected) |
void |
setDev(java.lang.Long dev) |
void |
setDevPath(java.lang.String devPath) |
void |
setDriveEncryptionCapability(java.lang.String driveEncryptionCapability) |
void |
setDriveType(java.lang.String driveType) |
void |
setLifeRemainingPercent(java.lang.Long lifeRemainingPercent) |
void |
setLifetimeReadBytes(java.lang.Long lifetimeReadBytes) |
void |
setLifetimeWriteBytes(java.lang.Long lifetimeWriteBytes) |
void |
setName(java.lang.String name) |
void |
setPath(java.lang.String path) |
void |
setPathLink(java.lang.String pathLink) |
void |
setPowerOnHours(java.lang.Long powerOnHours) |
void |
setProduct(java.lang.String product) |
void |
setReallocatedSectors(java.lang.Long reallocatedSectors) |
void |
setReserveCapacityPercent(java.lang.Long reserveCapacityPercent) |
void |
setScsiCompatId(java.lang.String scsiCompatId) |
void |
setScsiState(java.lang.String scsiState) |
void |
setSecurityAtMaximum(java.lang.Boolean securityAtMaximum) |
void |
setSecurityEnabled(java.lang.Boolean securityEnabled) |
void |
setSecurityFrozen(java.lang.Boolean securityFrozen) |
void |
setSecurityLocked(java.lang.Boolean securityLocked) |
void |
setSecuritySupported(java.lang.Boolean securitySupported) |
void |
setSerial(java.lang.String serial) |
void |
setSize(java.lang.Long size) |
void |
setSlot(java.lang.Long slot) |
void |
setSmartSsdWriteCapable(Optional<java.lang.Boolean> smartSsdWriteCapable) |
void |
setUuid(java.util.UUID uuid) |
void |
setVendor(java.lang.String vendor) |
void |
setVersion(java.lang.String version) |
java.util.Map<java.lang.String,java.lang.Object> |
toMap() |
java.lang.String |
toString() |
public static final long serialVersionUID
@Since(value="7.0") public DriveHardware(java.lang.String canonicalName, java.lang.Boolean connected, java.lang.Long dev, java.lang.String devPath, java.lang.String driveType, java.lang.String driveEncryptionCapability, java.lang.Long lifeRemainingPercent, java.lang.Long lifetimeReadBytes, java.lang.Long lifetimeWriteBytes, java.lang.String name, java.lang.String path, java.lang.String pathLink, java.lang.Long powerOnHours, java.lang.String product, java.lang.Long reallocatedSectors, java.lang.Long reserveCapacityPercent, java.lang.String scsiCompatId, java.lang.String scsiState, java.lang.Boolean securityAtMaximum, java.lang.Boolean securityEnabled, java.lang.Boolean securityFrozen, java.lang.Boolean securityLocked, java.lang.Boolean securitySupported, java.lang.String serial, java.lang.Long size, java.lang.Long slot, Optional<java.lang.Boolean> smartSsdWriteCapable, java.util.UUID uuid, java.lang.String vendor, java.lang.String version)
public java.lang.String getCanonicalName()
public void setCanonicalName(java.lang.String canonicalName)
public java.lang.Boolean getConnected()
public void setConnected(java.lang.Boolean connected)
public java.lang.Long getDev()
public void setDev(java.lang.Long dev)
public java.lang.String getDevPath()
public void setDevPath(java.lang.String devPath)
public java.lang.String getDriveType()
public void setDriveType(java.lang.String driveType)
public java.lang.String getDriveEncryptionCapability()
public void setDriveEncryptionCapability(java.lang.String driveEncryptionCapability)
public java.lang.Long getLifeRemainingPercent()
public void setLifeRemainingPercent(java.lang.Long lifeRemainingPercent)
public java.lang.Long getLifetimeReadBytes()
public void setLifetimeReadBytes(java.lang.Long lifetimeReadBytes)
public java.lang.Long getLifetimeWriteBytes()
public void setLifetimeWriteBytes(java.lang.Long lifetimeWriteBytes)
public java.lang.String getName()
public void setName(java.lang.String name)
public java.lang.String getPath()
public void setPath(java.lang.String path)
public java.lang.String getPathLink()
public void setPathLink(java.lang.String pathLink)
public java.lang.Long getPowerOnHours()
public void setPowerOnHours(java.lang.Long powerOnHours)
public java.lang.String getProduct()
public void setProduct(java.lang.String product)
public java.lang.Long getReallocatedSectors()
public void setReallocatedSectors(java.lang.Long reallocatedSectors)
public java.lang.Long getReserveCapacityPercent()
public void setReserveCapacityPercent(java.lang.Long reserveCapacityPercent)
public java.lang.String getScsiCompatId()
public void setScsiCompatId(java.lang.String scsiCompatId)
public java.lang.String getScsiState()
public void setScsiState(java.lang.String scsiState)
public java.lang.Boolean getSecurityAtMaximum()
public void setSecurityAtMaximum(java.lang.Boolean securityAtMaximum)
public java.lang.Boolean getSecurityEnabled()
public void setSecurityEnabled(java.lang.Boolean securityEnabled)
public java.lang.Boolean getSecurityFrozen()
public void setSecurityFrozen(java.lang.Boolean securityFrozen)
public java.lang.Boolean getSecurityLocked()
public void setSecurityLocked(java.lang.Boolean securityLocked)
public java.lang.Boolean getSecuritySupported()
public void setSecuritySupported(java.lang.Boolean securitySupported)
public java.lang.String getSerial()
public void setSerial(java.lang.String serial)
public java.lang.Long getSize()
public void setSize(java.lang.Long size)
public java.lang.Long getSlot()
public void setSlot(java.lang.Long slot)
public Optional<java.lang.Boolean> getSmartSsdWriteCapable()
public void setSmartSsdWriteCapable(Optional<java.lang.Boolean> smartSsdWriteCapable)
public java.util.UUID getUuid()
public void setUuid(java.util.UUID uuid)
public java.lang.String getVendor()
public void setVendor(java.lang.String vendor)
public java.lang.String getVersion()
public void setVersion(java.lang.String version)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.util.Map<java.lang.String,java.lang.Object> toMap()
public java.lang.String toString()
toString
in class java.lang.Object
public static DriveHardware.Builder builder()
public final DriveHardware.Builder asBuilder()