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

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

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


Field Summary
protected  String description
           
protected  Boolean enabled
           
protected  String id
           
protected  String name
           
 
Constructor Summary
Tenant.Builder()
           
 
Method Summary
 Tenant build()
           
 T description(String description)
           
 T enabled(Boolean enabled)
           
 T fromTenant(Tenant in)
           
 T id(String id)
           
 T name(String name)
           
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

description

protected String description

enabled

protected Boolean enabled
Constructor Detail

Tenant.Builder

public Tenant.Builder()
Method Detail

self

protected abstract T self()

id

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

enabled

public T enabled(Boolean enabled)
See Also:
Tenant.isEnabled()

name

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

description

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

build

public Tenant build()

fromTenant

public T fromTenant(Tenant in)


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