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

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

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


Field Summary
protected  String description
           
protected  String id
           
protected  String name
           
protected  String serviceId
           
protected  String tenantId
           
 
Constructor Summary
Role.Builder()
           
 
Method Summary
 Role build()
           
 T description(String description)
           
 T fromRole(Role in)
           
 T id(String id)
           
 T name(String name)
           
protected abstract  T self()
           
 T serviceId(String serviceId)
           
 T tenantId(String tenantId)
           
 
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

description

protected String description

serviceId

protected String serviceId

tenantId

protected String tenantId
Constructor Detail

Role.Builder

public Role.Builder()
Method Detail

self

protected abstract T self()

id

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

name

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

description

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

serviceId

public T serviceId(String serviceId)
See Also:
Role.getServiceId()

tenantId

public T tenantId(String tenantId)
See Also:
Role.getTenantId()

build

public Role build()

fromRole

public T fromRole(Role in)


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