Package 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
Fields Modifier and Type Field Description protected int
ttl
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GeoService.Builder
active(boolean active)
GeoService.Builder
addAllGroups(Iterable<GeoRegionGroup> groups)
GeoService.Builder
addAllNodes(Iterable<Node> nodes)
GeoService.Builder
addGroup(GeoRegionGroup group)
GeoService.Builder
addNode(Node node)
GeoService
build()
GeoService.Builder
from(GeoService in)
GeoService.Builder
groups(Iterable<GeoRegionGroup> groups)
replaces current region groupsGeoService.Builder
name(String name)
GeoService.Builder
nodes(Iterable<Node> nodes)
replaces current region groupsGeoService.Builder
ttl(int ttl)
-
-
-
Method Detail
-
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)
-
-