public class DriveInfo extends Drive
Modifier and Type | Class and Description |
---|---|
static class |
DriveInfo.Builder |
Modifier and Type | Field and Description |
---|---|
protected List<String> |
affinities |
protected boolean |
allowMultimount |
protected List<Job> |
jobs |
protected List<DriveLicense> |
licenses |
protected MediaType |
media |
protected Map<String,String> |
meta |
protected List<Server> |
mountedOn |
protected BigInteger |
size |
protected List<String> |
tags |
name, resourceUri, uuid
Constructor and Description |
---|
DriveInfo(String uuid,
String name,
URI resourceUri,
BigInteger size,
Owner owner,
DriveStatus status,
boolean allowMultimount,
List<String> affinities,
List<Job> jobs,
List<DriveLicense> licenses,
MediaType media,
Map<String,String> meta,
List<Server> mountedOn,
List<String> tags) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
List<String> |
getAffinities() |
List<Job> |
getJobs() |
List<DriveLicense> |
getLicenses() |
MediaType |
getMedia() |
Map<String,String> |
getMeta() |
List<Server> |
getMountedOn() |
BigInteger |
getSize() |
List<String> |
getTags() |
int |
hashCode() |
boolean |
isAllowMultimount() |
String |
toString() |
getOwner, getStatus, toServerDrive
getName, getResourceUri, getUuid
protected final BigInteger size
@Named(value="allow_multimount") protected final boolean allowMultimount
protected final List<DriveLicense> licenses
protected final MediaType media
@ConstructorProperties(value={"uuid","name","resource_uri","size","owner","status","allow_multimount","affinities","jobs","licenses","media","meta","mounted_on","tags"}) public DriveInfo(String uuid, String name, URI resourceUri, BigInteger size, Owner owner, DriveStatus status, boolean allowMultimount, List<String> affinities, List<Job> jobs, List<DriveLicense> licenses, MediaType media, Map<String,String> meta, List<Server> mountedOn, List<String> tags)
public BigInteger getSize()
public List<String> getAffinities()
public boolean isAllowMultimount()
public List<DriveLicense> getLicenses()
public MediaType getMedia()
Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.