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  com.google.common.collect.ImmutableSet.Builder<Endpoint> endpoints
           
protected  String name
           
protected  String type
           
 
Constructor Summary
Service.Builder()
           
 
Method Summary
 Service build()
           
 T endpoint(Endpoint endpoint)
           
 T endpoints(Iterable<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 com.google.common.collect.ImmutableSet.Builder<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()

endpoint

public T endpoint(Endpoint endpoint)
See Also:
Service.delegate()

endpoints

public T endpoints(Iterable<Endpoint> endpoints)
See Also:
Service.delegate()

build

public Service build()

fromService

public T fromService(Service in)


Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.