org.jclouds.elasticstack.domain
Class CreateDriveRequest
java.lang.Object
org.jclouds.elasticstack.domain.Item
org.jclouds.elasticstack.domain.Drive
org.jclouds.elasticstack.domain.CreateDriveRequest
public class CreateDriveRequest
- extends Drive
- Author:
- Adrian Cole
CreateDriveRequest
public CreateDriveRequest(String name,
long size,
@Nullable
ClaimType claimType,
Iterable<String> readers,
Iterable<String> tags,
Map<String,String> userMetadata,
@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.