public class DriveHardwareInfo
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
DriveHardwareInfo.Builder |
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
DriveHardwareInfo() |
DriveHardwareInfo(java.lang.String description,
java.lang.String dev,
java.lang.String devpath,
java.lang.Boolean driveSecurityAtMaximum,
java.lang.Boolean driveSecurityFrozen,
java.lang.Boolean driveSecurityLocked,
java.lang.String logicalname,
java.lang.String product,
java.lang.String scsiCompatID,
java.lang.Boolean securityFeatureEnabled,
java.lang.Boolean securityFeatureSupported,
java.lang.String serial,
java.lang.Long size,
java.util.UUID uuid,
java.lang.String version) |
Modifier and Type | Method and Description |
---|---|
DriveHardwareInfo.Builder |
asBuilder() |
static DriveHardwareInfo.Builder |
builder() |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getDescription() |
java.lang.String |
getDev() |
java.lang.String |
getDevpath() |
java.lang.Boolean |
getDriveSecurityAtMaximum() |
java.lang.Boolean |
getDriveSecurityFrozen() |
java.lang.Boolean |
getDriveSecurityLocked() |
java.lang.String |
getLogicalname() |
java.lang.String |
getProduct() |
java.lang.String |
getScsiCompatID() |
java.lang.Boolean |
getSecurityFeatureEnabled() |
java.lang.Boolean |
getSecurityFeatureSupported() |
java.lang.String |
getSerial() |
java.lang.Long |
getSize() |
java.util.UUID |
getUuid() |
java.lang.String |
getVersion() |
int |
hashCode() |
void |
setDescription(java.lang.String description) |
void |
setDev(java.lang.String dev) |
void |
setDevpath(java.lang.String devpath) |
void |
setDriveSecurityAtMaximum(java.lang.Boolean driveSecurityAtMaximum) |
void |
setDriveSecurityFrozen(java.lang.Boolean driveSecurityFrozen) |
void |
setDriveSecurityLocked(java.lang.Boolean driveSecurityLocked) |
void |
setLogicalname(java.lang.String logicalname) |
void |
setProduct(java.lang.String product) |
void |
setScsiCompatID(java.lang.String scsiCompatID) |
void |
setSecurityFeatureEnabled(java.lang.Boolean securityFeatureEnabled) |
void |
setSecurityFeatureSupported(java.lang.Boolean securityFeatureSupported) |
void |
setSerial(java.lang.String serial) |
void |
setSize(java.lang.Long size) |
void |
setUuid(java.util.UUID uuid) |
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 DriveHardwareInfo(java.lang.String description, java.lang.String dev, java.lang.String devpath, java.lang.Boolean driveSecurityAtMaximum, java.lang.Boolean driveSecurityFrozen, java.lang.Boolean driveSecurityLocked, java.lang.String logicalname, java.lang.String product, java.lang.String scsiCompatID, java.lang.Boolean securityFeatureEnabled, java.lang.Boolean securityFeatureSupported, java.lang.String serial, java.lang.Long size, java.util.UUID uuid, java.lang.String version)
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
public java.lang.String getDev()
public void setDev(java.lang.String dev)
public java.lang.String getDevpath()
public void setDevpath(java.lang.String devpath)
public java.lang.Boolean getDriveSecurityAtMaximum()
public void setDriveSecurityAtMaximum(java.lang.Boolean driveSecurityAtMaximum)
public java.lang.Boolean getDriveSecurityFrozen()
public void setDriveSecurityFrozen(java.lang.Boolean driveSecurityFrozen)
public java.lang.Boolean getDriveSecurityLocked()
public void setDriveSecurityLocked(java.lang.Boolean driveSecurityLocked)
public java.lang.String getLogicalname()
public void setLogicalname(java.lang.String logicalname)
public java.lang.String getProduct()
public void setProduct(java.lang.String product)
public java.lang.String getScsiCompatID()
public void setScsiCompatID(java.lang.String scsiCompatID)
public java.lang.Boolean getSecurityFeatureEnabled()
public void setSecurityFeatureEnabled(java.lang.Boolean securityFeatureEnabled)
public java.lang.Boolean getSecurityFeatureSupported()
public void setSecurityFeatureSupported(java.lang.Boolean securityFeatureSupported)
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.util.UUID getUuid()
public void setUuid(java.util.UUID uuid)
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 DriveHardwareInfo.Builder builder()
public final DriveHardwareInfo.Builder asBuilder()