public class LocationBuilder extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
description |
protected String |
id |
protected Set<String> |
iso3166Codes |
protected Map<String,Object> |
metadata |
protected Location |
parent |
protected LocationScope |
scope |
Constructor and Description |
---|
LocationBuilder() |
Modifier and Type | Method and Description |
---|---|
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) |
protected LocationScope scope
protected String id
protected String description
protected Location parent
public LocationBuilder scope(LocationScope scope)
public LocationBuilder id(String id)
public LocationBuilder description(String description)
public LocationBuilder parent(Location parent)
public LocationBuilder iso3166Codes(Iterable<String> iso3166Codes)
public LocationBuilder metadata(Map<String,Object> metadata)
public Location build()
Copyright © 2009-2013 jclouds. All Rights Reserved.