org.jclouds.elasticstack.domain
Class DriveInfo.Builder

java.lang.Object
  extended by org.jclouds.elasticstack.domain.Item.Builder
      extended by org.jclouds.elasticstack.domain.Drive.Builder
          extended by org.jclouds.elasticstack.domain.DriveInfo.Builder
Enclosing class:
DriveInfo

public static class DriveInfo.Builder
extends Drive.Builder


Field Summary
protected  Set<String> claimed
           
protected  String encryptionCipher
           
protected  String imaging
           
protected  DriveMetrics metrics
           
protected  DriveStatus status
           
protected  String user
           
 
Fields inherited from class org.jclouds.elasticstack.domain.Drive.Builder
claimType, readers, size
 
Fields inherited from class org.jclouds.elasticstack.domain.Item.Builder
name, tags, userMetadata, uuid
 
Constructor Summary
DriveInfo.Builder()
           
 
Method Summary
 DriveInfo build()
          
 DriveInfo.Builder claimed(Iterable<String> claimed)
           
 DriveInfo.Builder claimType(ClaimType claimType)
          
 DriveInfo.Builder encryptionCipher(String encryptionCipher)
           
static DriveInfo.Builder fromDriveInfo(DriveInfo driveInfo)
           
 DriveInfo.Builder imaging(String imaging)
           
 DriveInfo.Builder metrics(DriveMetrics metrics)
           
 DriveInfo.Builder name(String name)
          
 DriveInfo.Builder readers(Iterable<String> readers)
          
 DriveInfo.Builder size(long size)
          
 DriveInfo.Builder status(DriveStatus status)
           
 DriveInfo.Builder tags(Iterable<String> tags)
          
 DriveInfo.Builder user(String user)
           
 DriveInfo.Builder userMetadata(Map<String,String> userMetadata)
          
 DriveInfo.Builder uuid(String uuid)
          
 
Methods inherited from class org.jclouds.elasticstack.domain.Drive.Builder
equals, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

status

protected DriveStatus status

user

protected String user

claimed

protected Set<String> claimed

encryptionCipher

@Nullable
protected String encryptionCipher

imaging

@Nullable
protected String imaging

metrics

protected DriveMetrics metrics
Constructor Detail

DriveInfo.Builder

public DriveInfo.Builder()
Method Detail

status

public DriveInfo.Builder status(DriveStatus status)

user

public DriveInfo.Builder user(String user)

claimed

public DriveInfo.Builder claimed(Iterable<String> claimed)

imaging

public DriveInfo.Builder imaging(String imaging)

metrics

public DriveInfo.Builder metrics(DriveMetrics metrics)

encryptionCipher

public DriveInfo.Builder encryptionCipher(String encryptionCipher)

claimType

public DriveInfo.Builder claimType(ClaimType claimType)

Overrides:
claimType in class Drive.Builder

readers

public DriveInfo.Builder readers(Iterable<String> readers)

Overrides:
readers in class Drive.Builder

size

public DriveInfo.Builder size(long size)

Overrides:
size in class Drive.Builder

uuid

public DriveInfo.Builder uuid(String uuid)

Overrides:
uuid in class Drive.Builder

name

public DriveInfo.Builder name(String name)

Overrides:
name in class Drive.Builder

tags

public DriveInfo.Builder tags(Iterable<String> tags)

Overrides:
tags in class Drive.Builder

userMetadata

public DriveInfo.Builder userMetadata(Map<String,String> userMetadata)

Overrides:
userMetadata in class Drive.Builder

fromDriveInfo

public static DriveInfo.Builder fromDriveInfo(DriveInfo driveInfo)

build

public DriveInfo build()

Overrides:
build in class Drive.Builder


Copyright © 2009-2012 jclouds. All Rights Reserved.