Modifier and Type | Class and Description |
---|---|
static class |
Drive.Builder |
Modifier and Type | Field and Description |
---|---|
protected Owner |
owner |
protected DriveStatus |
status |
name, resourceUri, uuid
Constructor and Description |
---|
Drive(String uuid,
String name,
URI resourceUri,
Owner owner,
DriveStatus status) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Owner |
getOwner() |
DriveStatus |
getStatus() |
int |
hashCode() |
ServerDrive |
toServerDrive(Integer bootOrder,
String deviceChannel,
DeviceEmulationType deviceEmulationType)
Creates drive for attaching to server
|
String |
toString() |
getName, getResourceUri, getUuid
protected final Owner owner
protected final DriveStatus status
@ConstructorProperties(value={"uuid","name","resource_uri","owner","status"}) public Drive(@Nullable String uuid, String name, @Nullable URI resourceUri, @Nullable Owner owner, DriveStatus status)
public Owner getOwner()
public DriveStatus getStatus()
public ServerDrive toServerDrive(Integer bootOrder, String deviceChannel, DeviceEmulationType deviceEmulationType)
bootOrder
- drive boot orderdeviceChannel
- device channel in format {controller:unit} ex. 0:1, 0:2, etc.deviceEmulationType
- device emulation typeCopyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.