public interface RecordApi
| Modifier and Type | Method and Description | 
|---|---|
Record<? extends Map<String,Object>> | 
get(RecordId recordId)
retrieves a resource record without regard to type 
 | 
Record<AData> | 
getA(String fqdn,
    long recordId)
Gets the  
ARecord or null if not present. | 
Record<AAAAData> | 
getAAAA(String fqdn,
       long recordId)
Gets the  
AAAARecord or null if not present. | 
Record<CNAMEData> | 
getCNAME(String fqdn,
        long recordId)
Gets the  
CNAMERecord or null if not present. | 
Record<MXData> | 
getMX(String fqdn,
     long recordId)
Gets the  
MXRecord or null if not present. | 
Record<NSData> | 
getNS(String fqdn,
     long recordId)
Gets the  
NSRecord or null if not present. | 
Record<PTRData> | 
getPTR(String fqdn,
      long recordId)
Gets the  
PTRRecord or null if not present. | 
SOARecord | 
getSOA(String fqdn,
      long recordId)
Gets the  
SOARecord or null if not present. | 
Record<SPFData> | 
getSPF(String fqdn,
      long recordId)
Gets the  
SPFRecord or null if not present. | 
Record<SRVData> | 
getSRV(String fqdn,
      long recordId)
Gets the  
SRVRecord or null if not present. | 
Record<SSHFPData> | 
getSSHFP(String fqdn,
        long recordId)
Gets the  
SSHFPRecord or null if not present. | 
Record<TXTData> | 
getTXT(String fqdn,
      long recordId)
Gets the  
TXTRecord or null if not present. | 
com.google.common.collect.FluentIterable<RecordId> | 
list()
Retrieves a list of resource record ids for all records of any type in the
 given zone. 
 | 
com.google.common.collect.FluentIterable<RecordId> | 
listByFQDN(String fqdn)
Retrieves a list of resource record ids for all records of the fqdn in the
 given zone 
 | 
com.google.common.collect.FluentIterable<RecordId> | 
listByFQDNAndType(String fqdn,
                 String type)
Retrieves a list of resource record ids for all records of the fqdn and
 type in the given zone 
 | 
Job | 
scheduleCreate(CreateRecord<?> newRecord)
Schedules addition of a new record into the current session. 
 | 
Job | 
scheduleDelete(RecordId recordId)
Schedules deletion of a record into the current session. 
 | 
@Named(value="GetAllRecord") com.google.common.collect.FluentIterable<RecordId> list() throws DynECTExceptions.JobStillRunningException
DynECTExceptions.JobStillRunningException - if a different job in the session is still running@Named(value="GetRecord") com.google.common.collect.FluentIterable<RecordId> listByFQDN(String fqdn) throws DynECTExceptions.JobStillRunningException
DynECTExceptions.JobStillRunningException - if a different job in the session is still running@Named(value="GetRecord") com.google.common.collect.FluentIterable<RecordId> listByFQDNAndType(String fqdn, String type) throws DynECTExceptions.JobStillRunningException
DynECTExceptions.JobStillRunningException - if a different job in the session is still running@Named(value="CreateRecord") Job scheduleCreate(CreateRecord<?> newRecord) throws DynECTExceptions.JobStillRunningException
ZoneApi.publish(String) will publish the zone, creating the
 record.newRecord - record to createDynECTExceptions.JobStillRunningException - if a different job in the session is still running@Nullable @Named(value="DeleteRecord") Job scheduleDelete(RecordId recordId) throws DynECTExceptions.JobStillRunningException
ZoneApi.publish(String) will publish the changes, deleting the
 record.recordId - record to deleteDynECTExceptions.JobStillRunningException - if a different job in the session is still running@Named(value="GetRecord") @Nullable Record<? extends Map<String,Object>> get(RecordId recordId) throws DynECTExceptions.JobStillRunningException
DynECTExceptions.JobStillRunningException - if a different job in the session is still running@Named(value="GetAAAARecord") @Nullable Record<AAAAData> getAAAA(String fqdn, long recordId) throws DynECTExceptions.JobStillRunningException
AAAARecord or null if not present.fqdn - Node.getFQDN()recordId - RecordId.getId()DynECTExceptions.JobStillRunningException - if a different job in the session is still running@Named(value="GetARecord") @Nullable Record<AData> getA(String fqdn, long recordId) throws DynECTExceptions.JobStillRunningException
ARecord or null if not present.fqdn - Node.getFQDN()recordId - RecordId.getId()DynECTExceptions.JobStillRunningException - if a different job in the session is still running@Named(value="GetCNAMERecord") @Nullable Record<CNAMEData> getCNAME(String fqdn, long recordId) throws DynECTExceptions.JobStillRunningException
CNAMERecord or null if not present.fqdn - Node.getFQDN()recordId - RecordId.getId()DynECTExceptions.JobStillRunningException - if a different job in the session is still running@Named(value="GetMXRecord") @Nullable Record<MXData> getMX(String fqdn, long recordId) throws DynECTExceptions.JobStillRunningException
MXRecord or null if not present.fqdn - Node.getFQDN()recordId - RecordId.getId()DynECTExceptions.JobStillRunningException - if a different job in the session is still running@Named(value="GetNSRecord") @Nullable Record<NSData> getNS(String fqdn, long recordId) throws DynECTExceptions.JobStillRunningException
NSRecord or null if not present.fqdn - Node.getFQDN()recordId - RecordId.getId()DynECTExceptions.JobStillRunningException - if a different job in the session is still running@Named(value="GetPTRRecord") @Nullable Record<PTRData> getPTR(String fqdn, long recordId) throws DynECTExceptions.JobStillRunningException
PTRRecord or null if not present.fqdn - Node.getFQDN()recordId - RecordId.getId()DynECTExceptions.JobStillRunningException - if a different job in the session is still running@Named(value="GetSOARecord") @Nullable SOARecord getSOA(String fqdn, long recordId) throws DynECTExceptions.JobStillRunningException
SOARecord or null if not present.fqdn - Node.getFQDN()recordId - RecordId.getId()DynECTExceptions.JobStillRunningException - if a different job in the session is still running@Named(value="GetSPFRecord") @Nullable Record<SPFData> getSPF(String fqdn, long recordId) throws DynECTExceptions.JobStillRunningException
SPFRecord or null if not present.fqdn - Node.getFQDN()recordId - RecordId.getId()DynECTExceptions.JobStillRunningException - if a different job in the session is still running@Named(value="GetSRVRecord") @Nullable Record<SRVData> getSRV(String fqdn, long recordId) throws DynECTExceptions.JobStillRunningException
SRVRecord or null if not present.fqdn - Node.getFQDN()recordId - RecordId.getId()DynECTExceptions.JobStillRunningException - if a different job in the session is still running@Named(value="GetSSHFPRecord") @Nullable Record<SSHFPData> getSSHFP(String fqdn, long recordId) throws DynECTExceptions.JobStillRunningException
SSHFPRecord or null if not present.fqdn - Node.getFQDN()recordId - RecordId.getId()DynECTExceptions.JobStillRunningException - if a different job in the session is still running@Named(value="GetTXTRecord") @Nullable Record<TXTData> getTXT(String fqdn, long recordId) throws DynECTExceptions.JobStillRunningException
TXTRecord or null if not present.fqdn - Node.getFQDN()recordId - RecordId.getId()DynECTExceptions.JobStillRunningException - if a different job in the session is still runningCopyright © 2009-2013 jclouds. All Rights Reserved.