org.jclouds.dynect.v3.domain
Class GeoService.Builder
java.lang.Object
org.jclouds.dynect.v3.domain.GeoService.Builder
- Enclosing class:
- GeoService
public static class GeoService.Builder
- extends Object
|
Field Summary |
protected int |
ttl
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ttl
protected int ttl
GeoService.Builder
public GeoService.Builder()
name
public GeoService.Builder name(String name)
- See Also:
GeoService.getName()
active
public GeoService.Builder active(boolean active)
- See Also:
GeoService.isActive()
ttl
public GeoService.Builder ttl(int ttl)
- See Also:
GeoService.getTTL()
addNode
public GeoService.Builder addNode(Node node)
- See Also:
GeoService.getNodes()
nodes
public GeoService.Builder nodes(Iterable<Node> nodes)
- replaces current region groups
- See Also:
GeoService.getNodes()
addAllNodes
public GeoService.Builder addAllNodes(Iterable<Node> nodes)
- See Also:
GeoService.getNodes()
addGroup
public GeoService.Builder addGroup(GeoRegionGroup group)
- See Also:
GeoService.getGroups()
groups
public GeoService.Builder groups(Iterable<GeoRegionGroup> groups)
- replaces current region groups
- See Also:
GeoService.getGroups()
addAllGroups
public GeoService.Builder addAllGroups(Iterable<GeoRegionGroup> groups)
- See Also:
GeoService.getGroups()
build
public GeoService build()
from
public GeoService.Builder from(GeoService in)
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.