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

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

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


Field Summary
protected  String data
           
protected  String domainname
           
protected  String host
           
protected  String id
           
protected  int ttl
           
protected  String type
           
 
Constructor Summary
DomainRecord.Builder()
           
 
Method Summary
 DomainRecord build()
           
 T data(String data)
           
 T domainname(String domainname)
           
 T fromDomainRecord(DomainRecord in)
           
 T host(String host)
           
 T id(String id)
           
protected abstract  T self()
           
 T ttl(int ttl)
           
 T type(String type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected String id

domainname

protected String domainname

host

protected String host

type

protected String type

data

protected String data

ttl

protected int ttl
Constructor Detail

DomainRecord.Builder

public DomainRecord.Builder()
Method Detail

self

protected abstract T self()

id

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

domainname

public T domainname(String domainname)
See Also:
DomainRecord.getname()

host

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

type

public T type(String type)
See Also:
DomainRecord.getType()

data

public T data(String data)
See Also:
DomainRecord.getData()

ttl

public T ttl(int ttl)
See Also:
DomainRecord.getTtl()

build

public DomainRecord build()

fromDomainRecord

public T fromDomainRecord(DomainRecord in)


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