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

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

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


Field Summary
protected  String id
           
protected  String name
           
protected  com.google.common.collect.ImmutableSet.Builder<Role> roles
           
 
Constructor Summary
User.Builder()
           
 
Method Summary
 User build()
           
 T fromUser(User in)
           
 T id(String id)
           
 T name(String name)
           
 T role(Role role)
           
 T roles(Iterable<Role> roles)
           
protected abstract  T self()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected String id

name

protected String name

roles

protected com.google.common.collect.ImmutableSet.Builder<Role> roles
Constructor Detail

User.Builder

public User.Builder()
Method Detail

self

protected abstract T self()

id

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

name

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

role

public T role(Role role)
See Also:
User.delegate()

roles

public T roles(Iterable<Role> roles)
See Also:
User.delegate()

build

public User build()

fromUser

public T fromUser(User in)


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