org.jclouds.openstack.keystone.v2_0.domain
Class User.Builder<T extends User.Builder<T>>
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
id
protected String id
name
protected String name
email
protected String email
enabled
protected Boolean enabled
tenantId
protected String tenantId
roles
protected com.google.common.collect.ImmutableSet.Builder<Role> roles
User.Builder
public User.Builder()
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()
email
public T email(String email)
- See Also:
User.getEmail()
enabled
public T enabled(Boolean enabled)
- See Also:
User.isEnabled()
tenantId
public T tenantId(String tenantId)
- See Also:
User.getTenantId()
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-2014 The Apache Software Foundation. All Rights Reserved.