public class NewDrive
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
NewDrive.Builder |
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
NewDrive() |
NewDrive(java.lang.Long driveID,
Optional<java.lang.String> type) |
Modifier and Type | Method and Description |
---|---|
NewDrive.Builder |
asBuilder() |
static NewDrive.Builder |
builder() |
boolean |
equals(java.lang.Object o) |
java.lang.Long |
getDriveID()
A unique identifier for this drive.
|
Optional<java.lang.String> |
getType()
block or slice
|
int |
hashCode() |
void |
setDriveID(java.lang.Long driveID) |
void |
setType(Optional<java.lang.String> type) |
java.util.Map<java.lang.String,java.lang.Object> |
toMap() |
java.lang.String |
toString() |
public static final long serialVersionUID
public java.lang.Long getDriveID()
public void setDriveID(java.lang.Long driveID)
public Optional<java.lang.String> getType()
public void setType(Optional<java.lang.String> type)
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 NewDrive.Builder builder()
public final NewDrive.Builder asBuilder()