public interface RecordApi
RecordAsyncApi| 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<SRVData> |
getSRV(String fqdn,
long recordId)
Gets the
SRVRecord 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> |
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.
|
com.google.common.collect.FluentIterable<RecordId> list() throws DynECTExceptions.JobStillRunningException
DynECTExceptions.JobStillRunningException - if a different job in the session is still runningcom.google.common.collect.FluentIterable<RecordId> listByFQDNAndType(String fqdn, String type) throws DynECTExceptions.JobStillRunningException
DynECTExceptions.JobStillRunningException - if a different job in the session is still runningJob 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 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 runningRecord<? extends Map<String,Object>> get(RecordId recordId) throws DynECTExceptions.JobStillRunningException
DynECTExceptions.JobStillRunningException - if a different job in the session is still runningRecord<AAAAData> getAAAA(String fqdn, long recordId) throws DynECTExceptions.JobStillRunningException
AAAARecord or null if not present.fqdn - RecordId.getFQDN()recordId - RecordId.getId()DynECTExceptions.JobStillRunningException - if a different job in the session is still runningRecord<AData> getA(String fqdn, long recordId) throws DynECTExceptions.JobStillRunningException
ARecord or null if not present.fqdn - RecordId.getFQDN()recordId - RecordId.getId()DynECTExceptions.JobStillRunningException - if a different job in the session is still runningRecord<CNAMEData> getCNAME(String fqdn, long recordId) throws DynECTExceptions.JobStillRunningException
CNAMERecord or null if not present.fqdn - RecordId.getFQDN()recordId - RecordId.getId()DynECTExceptions.JobStillRunningException - if a different job in the session is still runningRecord<MXData> getMX(String fqdn, long recordId) throws DynECTExceptions.JobStillRunningException
MXRecord or null if not present.fqdn - RecordId.getFQDN()recordId - RecordId.getId()DynECTExceptions.JobStillRunningException - if a different job in the session is still runningRecord<NSData> getNS(String fqdn, long recordId) throws DynECTExceptions.JobStillRunningException
NSRecord or null if not present.fqdn - RecordId.getFQDN()recordId - RecordId.getId()DynECTExceptions.JobStillRunningException - if a different job in the session is still runningRecord<PTRData> getPTR(String fqdn, long recordId) throws DynECTExceptions.JobStillRunningException
PTRRecord or null if not present.fqdn - RecordId.getFQDN()recordId - RecordId.getId()DynECTExceptions.JobStillRunningException - if a different job in the session is still runningSOARecord getSOA(String fqdn, long recordId) throws DynECTExceptions.JobStillRunningException
SOARecord or null if not present.fqdn - RecordId.getFQDN()recordId - RecordId.getId()DynECTExceptions.JobStillRunningException - if a different job in the session is still runningRecord<SRVData> getSRV(String fqdn, long recordId) throws DynECTExceptions.JobStillRunningException
SRVRecord or null if not present.fqdn - RecordId.getFQDN()recordId - RecordId.getId()DynECTExceptions.JobStillRunningException - if a different job in the session is still runningRecord<TXTData> getTXT(String fqdn, long recordId) throws DynECTExceptions.JobStillRunningException
TXTRecord or null if not present.fqdn - RecordId.getFQDN()recordId - RecordId.getId()DynECTExceptions.JobStillRunningException - if a different job in the session is still runningCopyright © 2009-2013 jclouds. All Rights Reserved.