org.jclouds.rackspace.clouddns.v1.features
Interface RecordApi


public interface RecordApi


Method Summary
 Job<Set<RecordDetail>> create(Iterable<Record> createRecords)
          Create Records for a Domain or Subdomain.
 Job<Void> delete(Iterable<String> recordId)
          Delete the specified records in the specified domain.
 Job<Void> delete(String recordId)
          Delete the specified record in the specified domain.
 RecordDetail get(String recordId)
          Get the details for the specified record in the specified domain.
 RecordDetail getByNameAndTypeAndData(String nameFilter, String typeFilter, String dataFilter)
          RecordDetails filtered by name and type and data.
 org.jclouds.collect.PagedIterable<RecordDetail> list()
          This call lists all records configured for the specified domain.
 org.jclouds.openstack.v2_0.domain.PaginatedCollection<RecordDetail> list(org.jclouds.openstack.v2_0.options.PaginationOptions options)
          Use PaginationOptions to manually control the list of RecordDetail pages returned.
 org.jclouds.collect.PagedIterable<RecordDetail> listByNameAndType(String nameFilter, String typeFilter)
          RecordDetails filtered by name and type.
 org.jclouds.collect.PagedIterable<RecordDetail> listByType(String typeFilter)
          RecordDetails filtered by type.
 org.jclouds.collect.PagedIterable<RecordDetail> listByTypeAndData(String typeFilter, String dataFilter)
          RecordDetails filtered by type and data.
 Job<Void> update(Map<String,Record> idsToRecords)
          Update the configuration of the specified records in the specified domain.
 Job<Void> update(String recordId, Record record)
          Update the configuration of the specified record in the specified domain.
 

Method Detail

create

@Named(value="record:create")
Job<Set<RecordDetail>> create(Iterable<Record> createRecords)
Create Records for a Domain or Subdomain.

See Supported Record Types

To wait for this call to complete use JobPredicates#awaitComplete(CloudDNSApi, Job).


list

@Named(value="record:list")
org.jclouds.collect.PagedIterable<RecordDetail> list()
This call lists all records configured for the specified domain.


listByType

@Named(value="record:list")
org.jclouds.collect.PagedIterable<RecordDetail> listByType(String typeFilter)
RecordDetails filtered by type.


listByTypeAndData

@Named(value="record:list")
org.jclouds.collect.PagedIterable<RecordDetail> listByTypeAndData(String typeFilter,
                                                                        String dataFilter)
RecordDetails filtered by type and data.


listByNameAndType

@Named(value="record:list")
org.jclouds.collect.PagedIterable<RecordDetail> listByNameAndType(String nameFilter,
                                                                        String typeFilter)
RecordDetails filtered by name and type.


list

@Named(value="record:list")
org.jclouds.openstack.v2_0.domain.PaginatedCollection<RecordDetail> list(org.jclouds.openstack.v2_0.options.PaginationOptions options)
Use PaginationOptions to manually control the list of RecordDetail pages returned.


getByNameAndTypeAndData

@Named(value="record:get")
@Nullable
RecordDetail getByNameAndTypeAndData(String nameFilter,
                                                    String typeFilter,
                                                    String dataFilter)
RecordDetails filtered by name and type and data.


get

@Named(value="record:get")
@Nullable
RecordDetail get(String recordId)
Get the details for the specified record in the specified domain.


update

@Named(value="record:update")
Job<Void> update(String recordId,
                       Record record)
Update the configuration of the specified record in the specified domain.

To wait for this call to complete use JobPredicates#awaitComplete(CloudDNSApi, Job).


update

@Named(value="record:update")
Job<Void> update(Map<String,Record> idsToRecords)
Update the configuration of the specified records in the specified domain.

To wait for this call to complete use JobPredicates#awaitComplete(CloudDNSApi, Job).


delete

@Named(value="record:delete")
Job<Void> delete(String recordId)
Delete the specified record in the specified domain.

To wait for this call to complete use JobPredicates#awaitComplete(CloudDNSApi, Job).


delete

@Named(value="record:delete")
Job<Void> delete(Iterable<String> recordId)
Delete the specified records in the specified domain.

To wait for this call to complete use JobPredicates#awaitComplete(CloudDNSApi, Job).



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