|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DomainApi
Provides synchronous access to Domain requests.
| Method Summary | |
|---|---|
Domain |
create(String name,
AddDomainOptions... options)
Add a domain to the Glesys dns-system |
DomainRecord |
createRecord(String domain,
String host,
String type,
String data,
AddRecordOptions... options)
Add a DNS Record |
void |
delete(String domain)
Remove a domain to the Glesys dns-system |
void |
deleteRecord(String recordId)
Delete a DNS record |
Domain |
get(String name)
Get a specific domain. |
com.google.common.collect.FluentIterable<Domain> |
list()
Get a list of all domains for this account. |
Set<DomainRecord> |
listRecords(String domain)
Retrieve the DNS records for a given domain |
Domain |
update(String domain,
DomainOptions options)
Update a domain to the Glesys dns-system |
DomainRecord |
updateRecord(String recordId,
UpdateRecordOptions options)
Modify a specific DNS Record |
| Method Detail |
|---|
@Named(value="domain:list") com.google.common.collect.FluentIterable<Domain> list()
@Named(value="domain:details") Domain get(String name)
@Named(value="domain:add")
Domain create(String name,
AddDomainOptions... options)
name - the name of the domain to add.options - optional parameters
@Named(value="domain:edit")
Domain update(String domain,
DomainOptions options)
domain - the name of the domain to add.options - optional parameters
@Named(value="domain:delete") void delete(String domain)
domain - the name of the domain to remove@Named(value="domain:listrecords") Set<DomainRecord> listRecords(String domain)
domain - the name of the domain to retrieve records for
@Named(value="domain:addrecord")
DomainRecord createRecord(String domain,
String host,
String type,
String data,
AddRecordOptions... options)
domain - the domain to add the record tooptions - optional settings for the record
@Named(value="domain:updaterecord")
DomainRecord updateRecord(String recordId,
UpdateRecordOptions options)
recordId - the id for the record to editoptions - the settings to changeto retrieve the necessary ids@Named(value="domain:deleterecord") void deleteRecord(String recordId)
recordId - the id for the record to deleteto retrieve the necessary ids
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||