org.jclouds.cloudsigma.domain
Class CreateDriveRequest

java.lang.Object
  extended by org.jclouds.cloudsigma.domain.Item
      extended by org.jclouds.cloudsigma.domain.Drive
          extended by org.jclouds.cloudsigma.domain.CreateDriveRequest

public class CreateDriveRequest
extends Drive

Author:
Adrian Cole

Nested Class Summary
static class CreateDriveRequest.Builder
           
 
Field Summary
 
Fields inherited from class org.jclouds.cloudsigma.domain.Drive
claimType, readers, size, tags
 
Fields inherited from class org.jclouds.cloudsigma.domain.Item
name, use, uuid
 
Constructor Summary
CreateDriveRequest(String name, long size, ClaimType claimType, Iterable<String> tags, Iterable<String> readers, Iterable<String> use, String encryptionCipher, Iterable<String> avoid)
           
 
Method Summary
 boolean equals(Object obj)
           
 Set<String> getAvoid()
           
 String getEncryptionCipher()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class org.jclouds.cloudsigma.domain.Drive
getClaimType, getReaders, getSize, getTags
 
Methods inherited from class org.jclouds.cloudsigma.domain.Item
getName, getUse, getUuid
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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.