org.jclouds.cloudsigma.domain
Class DriveInfo.Builder

java.lang.Object
  extended by org.jclouds.cloudsigma.domain.Item.Builder
      extended by org.jclouds.cloudsigma.domain.Drive.Builder
          extended by org.jclouds.cloudsigma.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.cloudsigma.domain.Drive.Builder
claimType, readers, size
 
Fields inherited from class org.jclouds.cloudsigma.domain.Item.Builder
name, use, uuid
 
Constructor Summary
DriveInfo.Builder()
           
 
Method Summary
 DriveInfo.Builder autoexpanding(Boolean autoexpanding)
           
 DriveInfo.Builder bits(Integer bits)
           
 DriveInfo build()
          
 DriveInfo.Builder claimed(Iterable<String> claimed)
           
 DriveInfo.Builder claimType(ClaimType claimType)
          
 DriveInfo.Builder description(String description)
           
 DriveInfo.Builder driveType(Iterable<String> driveType)
           
 DriveInfo.Builder encryptionCipher(String encryptionCipher)
           
 DriveInfo.Builder encryptionKey(String encryptionKey)
           
 DriveInfo.Builder free(Boolean free)
           
static DriveInfo.Builder fromDriveInfo(DriveInfo in)
           
 DriveInfo.Builder imaging(String imaging)
           
 DriveInfo.Builder installNotes(String installNotes)
           
 DriveInfo.Builder metrics(DriveMetrics metrics)
           
 DriveInfo.Builder name(String name)
          
 DriveInfo.Builder os(String os)
           
 DriveInfo.Builder readers(Iterable<String> readers)
          
 DriveInfo.Builder size(long size)
          
 DriveInfo.Builder status(DriveStatus status)
           
 DriveInfo.Builder type(DriveType type)
           
 DriveInfo.Builder url(URI url)
           
 DriveInfo.Builder use(Iterable<String> use)
          
 DriveInfo.Builder user(String user)
           
 DriveInfo.Builder uuid(String uuid)
          
 
Methods inherited from class org.jclouds.cloudsigma.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)

autoexpanding

public DriveInfo.Builder autoexpanding(Boolean autoexpanding)

bits

public DriveInfo.Builder bits(Integer bits)

description

public DriveInfo.Builder description(String description)

driveType

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

encryptionKey

public DriveInfo.Builder encryptionKey(String encryptionKey)

free

public DriveInfo.Builder free(Boolean free)

installNotes

public DriveInfo.Builder installNotes(String installNotes)

os

public DriveInfo.Builder os(String os)

type

public DriveInfo.Builder type(DriveType type)

url

public DriveInfo.Builder url(URI url)

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

use

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

Overrides:
use in class Drive.Builder

fromDriveInfo

public static DriveInfo.Builder fromDriveInfo(DriveInfo in)

build

public DriveInfo build()

Overrides:
build in class Drive.Builder


Copyright © 2009-2011 jclouds. All Rights Reserved.