org.jclouds.glesys.domain
Class Console.Builder<T extends Console.Builder<T>>

java.lang.Object
  extended by org.jclouds.glesys.domain.Console.Builder<T>
Enclosing class:
Console

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


Field Summary
protected  String host
           
protected  String password
           
protected  int port
           
protected  String protocol
           
 
Constructor Summary
Console.Builder()
           
 
Method Summary
 Console build()
           
 T fromConsole(Console in)
           
 T host(String host)
           
 T password(String password)
           
 T port(int port)
           
 T protocol(String protocol)
           
protected abstract  T self()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

host

protected String host

port

protected int port

protocol

protected String protocol

password

protected String password
Constructor Detail

Console.Builder

public Console.Builder()
Method Detail

self

protected abstract T self()

host

public T host(String host)
See Also:
Console.getHost()

port

public T port(int port)
See Also:
Console.getPort()

protocol

public T protocol(String protocol)
See Also:
Console.getProtocol()

password

public T password(String password)
See Also:
Console.getPassword()

build

public Console build()

fromConsole

public T fromConsole(Console in)


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