org.jclouds.cloudsigma.domain
Class Drive.Builder

java.lang.Object
  extended by org.jclouds.cloudsigma.domain.Item.Builder
      extended by org.jclouds.cloudsigma.domain.Drive.Builder
Direct Known Subclasses:
CreateDriveRequest.Builder, DriveData.Builder, DriveInfo.Builder
Enclosing class:
Drive

public static class Drive.Builder
extends Item.Builder


Field Summary
protected  ClaimType claimType
           
protected  Set<String> readers
           
protected  long size
           
protected  Set<String> tags
           
 
Fields inherited from class org.jclouds.cloudsigma.domain.Item.Builder
name, use, uuid
 
Constructor Summary
Drive.Builder()
           
 
Method Summary
 Drive build()
           
 Drive.Builder claimType(ClaimType claimType)
           
 boolean equals(Object obj)
           
 int hashCode()
           
 Drive.Builder name(String name)
          
 Drive.Builder readers(Iterable<String> readers)
           
 Drive.Builder size(long size)
           
 Drive.Builder tags(Iterable<String> tags)
           
 Drive.Builder use(Iterable<String> use)
          
 Drive.Builder uuid(String uuid)
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

size

protected long size

claimType

protected ClaimType claimType

tags

protected Set<String> tags

readers

protected Set<String> readers
Constructor Detail

Drive.Builder

public Drive.Builder()
Method Detail

claimType

public Drive.Builder claimType(ClaimType claimType)

tags

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

readers

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

size

public Drive.Builder size(long size)

uuid

public Drive.Builder uuid(String uuid)

Overrides:
uuid in class Item.Builder

name

public Drive.Builder name(String name)

Overrides:
name in class Item.Builder

use

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

Overrides:
use in class Item.Builder

build

public Drive build()
Overrides:
build in class Item.Builder

hashCode

public int hashCode()
Overrides:
hashCode in class Item.Builder

equals

public boolean equals(Object obj)
Overrides:
equals in class Item.Builder


Copyright © 2009-2012 jclouds. All Rights Reserved.