org.jclouds.elasticstack.domain
Class Drive.Builder

java.lang.Object
  extended by org.jclouds.elasticstack.domain.Item.Builder
      extended by org.jclouds.elasticstack.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
           
 
Fields inherited from class org.jclouds.elasticstack.domain.Item.Builder
name, tags, userMetadata, 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 userMetadata(Map<String,String> userMetadata)
          
 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

readers

protected Set<String> readers
Constructor Detail

Drive.Builder

public Drive.Builder()
Method Detail

claimType

public Drive.Builder claimType(ClaimType claimType)

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

tags

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

Overrides:
tags in class Item.Builder

userMetadata

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

Overrides:
userMetadata 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-2011 jclouds. All Rights Reserved.