org.jclouds.elasticstack.domain
Class Item.Builder

java.lang.Object
  extended by org.jclouds.elasticstack.domain.Item.Builder
Direct Known Subclasses:
Drive.Builder, Server.Builder
Enclosing class:
Item

public static class Item.Builder
extends Object


Field Summary
protected  String name
           
protected  Set<String> tags
           
protected  Map<String,String> userMetadata
           
protected  String uuid
           
 
Constructor Summary
Item.Builder()
           
 
Method Summary
 Item build()
           
 boolean equals(Object obj)
           
 int hashCode()
           
 Item.Builder name(String name)
           
 Item.Builder tags(Iterable<String> tags)
           
 Item.Builder userMetadata(Map<String,String> userMetadata)
           
 Item.Builder uuid(String uuid)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

uuid

protected String uuid

name

protected String name

tags

protected Set<String> tags

userMetadata

protected Map<String,String> userMetadata
Constructor Detail

Item.Builder

public Item.Builder()
Method Detail

uuid

public Item.Builder uuid(String uuid)

name

public Item.Builder name(String name)

tags

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

userMetadata

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

build

public Item build()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2009-2012 jclouds. All Rights Reserved.