org.jclouds.openstack.nova.v2_0.domain
Class KeyPair.Builder<T extends KeyPair.Builder<T>>

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

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


Field Summary
protected  String fingerprint
           
protected  String name
           
protected  String privateKey
           
protected  String publicKey
           
protected  String userId
           
 
Constructor Summary
KeyPair.Builder()
           
 
Method Summary
 KeyPair build()
           
 T fingerprint(String fingerprint)
           
 T fromKeyPair(KeyPair in)
           
 T name(String name)
           
 T privateKey(String privateKey)
           
 T publicKey(String publicKey)
           
protected abstract  T self()
           
 T userId(String userId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

publicKey

protected String publicKey

privateKey

protected String privateKey

userId

protected String userId

name

protected String name

fingerprint

protected String fingerprint
Constructor Detail

KeyPair.Builder

public KeyPair.Builder()
Method Detail

self

protected abstract T self()

publicKey

public T publicKey(String publicKey)
See Also:
KeyPair.getPublicKey()

privateKey

public T privateKey(String privateKey)
See Also:
KeyPair.getPrivateKey()

userId

public T userId(String userId)
See Also:
KeyPair.getUserId()

name

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

fingerprint

public T fingerprint(String fingerprint)
See Also:
KeyPair.getFingerprint()

build

public KeyPair build()

fromKeyPair

public T fromKeyPair(KeyPair in)


Copyright © 2009-2012 jclouds. All Rights Reserved.