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 classDrive.Builder
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)ClaimTypegetClaimType()Set<String>getReaders()longgetSize()inthashCode()StringtoString()-
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
-
-