public static final class DirectionalGroup.Builder extends Object
Constructor and Description |
---|
DirectionalGroup.Builder() |
Modifier and Type | Method and Description |
---|---|
DirectionalGroup |
build() |
DirectionalGroup.Builder |
description(String description) |
DirectionalGroup.Builder |
from(DirectionalGroup in) |
DirectionalGroup.Builder |
mapRegion(String region)
adds to current regionToTerritories
|
DirectionalGroup.Builder |
mapRegionToTerritories(String region,
Iterable<String> territories)
adds to current regionToTerritories
|
DirectionalGroup.Builder |
mapRegionToTerritory(String region,
String territory)
adds to current regionToTerritories
|
DirectionalGroup.Builder |
name(String name) |
DirectionalGroup.Builder |
regionToTerritories(com.google.common.collect.Multimap<String,String> regionToTerritories)
replaces current regionToTerritories
|
public DirectionalGroup.Builder name(String name)
DirectionalGroup.getName()
public DirectionalGroup.Builder description(String description)
DirectionalGroup.getDescription()
public DirectionalGroup.Builder mapRegionToTerritories(String region, Iterable<String> territories)
public DirectionalGroup.Builder mapRegionToTerritory(String region, String territory)
public DirectionalGroup.Builder mapRegion(String region)
public DirectionalGroup.Builder regionToTerritories(com.google.common.collect.Multimap<String,String> regionToTerritories)
public DirectionalGroup build()
public DirectionalGroup.Builder from(DirectionalGroup in)
Copyright © 2009-2013 jclouds. All Rights Reserved.