public final class LocationBuilder extends Object
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) |
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-2016 The Apache Software Foundation. All Rights Reserved.