org.jclouds.glesys.features
Interface DomainClient


public interface DomainClient

Provides synchronous access to Domain requests.

Author:
Adam Lowe
See Also:
DomainAsyncClient,

Method Summary
 void addDomain(String domain, AddDomainOptions... options)
          Add a domain to the Glesys dns-system
 void addRecord(String domain, String host, String type, String data, AddRecordOptions... options)
          Add a DNS Record
 void deleteDomain(String domain)
          Remove a domain to the Glesys dns-system
 void deleteRecord(String recordId)
          Delete a DNS record
 void editDomain(String domain, DomainOptions... options)
          Add a domain to the Glesys dns-system
 void editRecord(String recordId, EditRecordOptions... options)
          Modify a specific DNS Record
 Set<Domain> listDomains()
          Get a list of all invoices for this account.
 Set<DomainRecord> listRecords(String domain)
          Retrieve the DNS records for a given domain
 

Method Detail

listDomains

Set<Domain> listDomains()
Get a list of all invoices for this account.

Returns:
an account's associated invoice objects.

addDomain

void addDomain(String domain,
               AddDomainOptions... options)
Add a domain to the Glesys dns-system

Parameters:
domain - the name of the domain to add.
options - optional parameters

editDomain

void editDomain(String domain,
                DomainOptions... options)
Add a domain to the Glesys dns-system

Parameters:
domain - the name of the domain to add.
options - optional parameters

deleteDomain

void deleteDomain(String domain)
Remove a domain to the Glesys dns-system

Parameters:
domain - the name of the domain to remove

listRecords

Set<DomainRecord> listRecords(String domain)
Retrieve the DNS records for a given domain

Parameters:
domain - the name of the domain to retrieve records for

addRecord

void addRecord(String domain,
               String host,
               String type,
               String data,
               AddRecordOptions... options)
Add a DNS Record

Parameters:
domain - the domain to add the record to
host -
type -
data -
options - optional settings for the record

editRecord

void editRecord(String recordId,
                EditRecordOptions... options)
Modify a specific DNS Record

Parameters:
recordId - the id for the record to edit
options - the settings to change
See Also:
to retrieve the necessary ids

deleteRecord

void deleteRecord(String recordId)
Delete a DNS record

Parameters:
recordId - the id for the record to delete
See Also:
to retrieve the necessary ids


Copyright © 2009-2012 jclouds. All Rights Reserved.