org.jclouds.domain
Class LocationBuilder

java.lang.Object
  extended by org.jclouds.domain.LocationBuilder

public class LocationBuilder
extends Object

Author:
Adrian Cole

Field Summary
protected  String description
           
protected  String id
           
protected  Set<String> iso3166Codes
           
protected  Map<String,Object> metadata
           
protected  Location parent
           
protected  LocationScope scope
           
 
Constructor Summary
LocationBuilder()
           
 
Method Summary
 Location build()
           
 LocationBuilder description(String description)
           
 LocationBuilder id(String id)
           
 LocationBuilder iso3166Codes(Iterable<String> iso3166Codes)
           
 LocationBuilder metadata(Map<String,Object> metadata)
           
 LocationBuilder parent(Location parent)
           
 LocationBuilder scope(LocationScope scope)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

scope

protected LocationScope scope

id

protected String id

description

protected String description

parent

protected Location parent

iso3166Codes

protected Set<String> iso3166Codes

metadata

protected Map<String,Object> metadata
Constructor Detail

LocationBuilder

public LocationBuilder()
Method Detail

scope

public LocationBuilder scope(LocationScope scope)

id

public LocationBuilder id(String id)

description

public LocationBuilder description(String description)

parent

public LocationBuilder parent(Location parent)

iso3166Codes

public LocationBuilder iso3166Codes(Iterable<String> iso3166Codes)

metadata

public LocationBuilder metadata(Map<String,Object> metadata)

build

public Location build()


Copyright © 2009-2011 jclouds. All Rights Reserved.