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

id

protected String id

type

protected String type

name

protected String name

description

protected String description

endpoints

protected com.google.common.collect.ImmutableSet.Builder<Endpoint> endpoints
Constructor Detail

Service.Builder

public Service.Builder()
Method Detail

self

protected abstract T self()

id

public T id(String id)
See Also:
Service.getId()

type

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

name

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

description

public T description(String description)
See Also:
Service.getDescription()

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-2014 The Apache Software Foundation. All Rights Reserved.