org.jclouds.cloudsigma.domain
Class CreateDriveRequest
java.lang.Object
org.jclouds.cloudsigma.domain.Item
org.jclouds.cloudsigma.domain.Drive
org.jclouds.cloudsigma.domain.CreateDriveRequest
public class CreateDriveRequest
- extends Drive
- Author:
- Adrian Cole
Fields inherited from class org.jclouds.cloudsigma.domain.Item |
name, use, uuid |
CreateDriveRequest
public CreateDriveRequest(String name,
long size,
@Nullable
ClaimType claimType,
Iterable<String> tags,
Iterable<String> readers,
Iterable<String> use,
@Nullable
String encryptionCipher,
Iterable<String> avoid)
getAvoid
public Set<String> getAvoid()
- Returns:
- list of existing drives to ensure this new drive is created on physical different
hardware than those existing drives
getEncryptionCipher
@Nullable
public String getEncryptionCipher()
- Returns:
- either 'none' or 'aes-xts-plain' (the default)
hashCode
public int hashCode()
- Overrides:
hashCode
in class Drive
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Drive
toString
public String toString()
- Overrides:
toString
in class Drive
Copyright © 2009-2012 jclouds. All Rights Reserved.