Package org.jclouds.elasticstack.domain
Class Drive
- java.lang.Object
-
- org.jclouds.elasticstack.domain.Item
-
- org.jclouds.elasticstack.domain.Drive
-
- Direct Known Subclasses:
CreateDriveRequest
,DriveData
,DriveInfo
,StandardDrive
public class Drive extends Item
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Drive.Builder
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
ClaimType
getClaimType()
Set<String>
getReaders()
long
getSize()
int
hashCode()
String
toString()
-
Methods inherited from class org.jclouds.elasticstack.domain.Item
getName, getTags, getUserMetadata, getUuid
-
-
-
-
Method Detail
-
getClaimType
@Nullable public ClaimType getClaimType()
- Returns:
- either 'exclusive' (the default) or 'shared' to allow multiple servers to access a drive simultaneously
-
getReaders
public Set<String> getReaders()
- Returns:
- list of users allowed to read from a drive or 'ffffffff-ffff-ffff-ffff-ffffffffffff' for all users
-
getSize
public long getSize()
- Returns:
- size of drive in bytes
-
-