org.jclouds.openstack.keystone.v2_0.domain
Class Service.Builder<T extends Service.Builder<T>>

java.lang.Object
  extended by org.jclouds.openstack.keystone.v2_0.domain.Service.Builder<T>
Enclosing class:
Service

public abstract static class Service.Builder<T extends Service.Builder<T>>
extends Object


Field Summary
protected  Set<Endpoint> endpoints
           
protected  String name
           
protected  String type
           
 
Constructor Summary
Service.Builder()
           
 
Method Summary
 Service build()
           
 T endpoints(Endpoint... in)
           
 T endpoints(Set<Endpoint> endpoints)
           
 T fromService(Service in)
           
 T name(String name)
           
protected abstract  T self()
           
 T type(String type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

type

protected String type

name

protected String name

endpoints

protected Set<Endpoint> endpoints
Constructor Detail

Service.Builder

public Service.Builder()
Method Detail

self

protected abstract T self()

type

public T type(String type)
See Also:
Service.getType()

name

public T name(String name)
See Also:
Service.getName()

endpoints

public T endpoints(Set<Endpoint> endpoints)
See Also:
Service.getEndpoints()

endpoints

public T endpoints(Endpoint... in)

build

public Service build()

fromService

public T fromService(Service in)


Copyright © 2009-2012 jclouds. All Rights Reserved.