public interface Domains
| Modifier and Type | Method and Description |
|---|---|
AcceptPushResponse |
acceptPush(String accountId,
String pushId,
Map<String,Object> attributes)
Accept a push.
|
CreateDelegationSignerRecordResponse |
createDelegationSignerRecord(String accountId,
String domainId,
Map<String,Object> attributes)
Create a delegation signer record for a domain.
|
CreateDomainResponse |
createDomain(String accountId,
Map<String,Object> attributes)
Create a domain in an account.
|
CreateEmailForwardResponse |
createEmailForward(String accountId,
String domainId,
Map<String,Object> attributes)
Create an email forward for a domain.
|
DeleteDelegationSignerRecordResponse |
deleteDelegationSignerRecord(String accountId,
String domainId,
String dsRecordId)
Delete a delegation signer record from a domain.
|
DeleteDomainResponse |
deleteDomain(String accountId,
String domainId)
Delete a domain from an account.
|
DeleteEmailForwardResponse |
deleteEmailForward(String accountId,
String domainId,
String emailForwardId)
Delete an email forward from a domain.
|
DisableDnssecResponse |
disableDnssec(String accountId,
String domainId)
Disables DNSSEC on the domain.
|
EnableDnssecResponse |
enableDnssec(String accountId,
String domainId)
Enables DNSSEC on the domain.
|
GetDelegationSignerRecordResponse |
getDelegationSignerRecord(String accountId,
String domainId,
String dsRecordId)
Get a delegation signer record for a domain using the delegation signer records's ID.
|
GetDnssecResponse |
getDnssec(String accountId,
String domainId)
Get DNSSEC status of the domain.
|
GetDomainResponse |
getDomain(String accountId,
String domainId)
Get a specific domain associated to an account using the domain's name or ID.
|
GetEmailForwardResponse |
getEmailForward(String accountId,
String domainId,
String emailForwardId)
Get a specific email forward associated to a domain using the email forward's ID.
|
InitiatePushResponse |
initiatePush(String accountId,
String domainId,
Map<String,Object> attributes)
Initiate a push.
|
ListDelegationSignerRecordsResponse |
listDelegationSignerRecords(String accountId,
String domainId)
Lists the delegation signer records in the domain.
|
ListDelegationSignerRecordsResponse |
listDelegationSignerRecords(String accountId,
String domainId,
Map<String,Object> options)
Lists the delegation signer records in the domain.
|
ListDomainsResponse |
listDomains(String accountId)
Lists the domains in the account.
|
ListDomainsResponse |
listDomains(String accountId,
Map<String,Object> options)
Lists the domains in the account.
|
ListEmailForwardsResponse |
listEmailForwards(String accountId,
String domainId)
List email forwards under a given domain.
|
ListEmailForwardsResponse |
listEmailForwards(String accountId,
String domainId,
Map<String,Object> options)
List email forwards under a given domain.
|
ListPushesResponse |
listPushes(String accountId,
String domainId)
List pushes under a given domain.
|
ListPushesResponse |
listPushes(String accountId,
String domainId,
Map<String,Object> options)
List pushes under a given domain.
|
RejectPushResponse |
rejectPush(String accountId,
String pushId)
Reject a push.
|
ResetDomainTokenResponse |
resetDomainToken(String accountId,
String domainId)
Resets the domain token.
|
ListDomainsResponse listDomains(String accountId) throws DnsimpleException, IOException
accountId - The account IDDnsimpleException - Any API errorsIOException - Any IO errorsListDomainsResponse listDomains(String accountId, Map<String,Object> options) throws DnsimpleException, IOException
accountId - The account IDoptions - A Map of options to pass to the domains APIDnsimpleException - Any API errorsIOException - Any IO errorsGetDomainResponse getDomain(String accountId, String domainId) throws DnsimpleException, IOException
accountId - The account IDdomainId - The domain name or IDDnsimpleException - Any API errorsIOException - Any IO errorsCreateDomainResponse createDomain(String accountId, Map<String,Object> attributes) throws DnsimpleException, IOException
accountId - The account IDattributes - A Map of attributes for constructing the domainDnsimpleException - Any API errorsIOException - Any IO errorsDeleteDomainResponse deleteDomain(String accountId, String domainId) throws DnsimpleException, IOException
accountId - The account IDdomainId - The domain ID or nameDnsimpleException - Any API errorsIOException - Any IO errorsResetDomainTokenResponse resetDomainToken(String accountId, String domainId) throws DnsimpleException, IOException
accountId - The account IDdomainId - The domain ID or nameDnsimpleException - Any API errorsIOException - Any IO errorsEnableDnssecResponse enableDnssec(String accountId, String domainId) throws DnsimpleException, IOException
accountId - The account IDdomainId - The domain ID or nameDnsimpleException - Any API errorsIOException - Any IO errorsDisableDnssecResponse disableDnssec(String accountId, String domainId) throws DnsimpleException, IOException
accountId - The account IDdomainId - The domain ID or nameDnsimpleException - Any API errorsIOException - Any IO errorsGetDnssecResponse getDnssec(String accountId, String domainId) throws DnsimpleException, IOException
accountId - The account IDdomainId - The domain ID or nameDnsimpleException - Any API errorsIOException - Any IO errorsListDelegationSignerRecordsResponse listDelegationSignerRecords(String accountId, String domainId) throws DnsimpleException, IOException
accountId - The account IDdomainId - The domain ID or nameDnsimpleException - Any API errorsIOException - Any IO errorsListDelegationSignerRecordsResponse listDelegationSignerRecords(String accountId, String domainId, Map<String,Object> options) throws DnsimpleException, IOException
accountId - The account IDdomainId - The domain ID or nameoptions - A Map of options to send to the APIDnsimpleException - Any API errorsIOException - Any IO errorsGetDelegationSignerRecordResponse getDelegationSignerRecord(String accountId, String domainId, String dsRecordId) throws DnsimpleException, IOException
accountId - The account IDdomainId - The domain name or IDdsRecordId - The delegation signer record IDDnsimpleException - Any API errorsIOException - Any IO errorsCreateDelegationSignerRecordResponse createDelegationSignerRecord(String accountId, String domainId, Map<String,Object> attributes) throws DnsimpleException, IOException
accountId - The account IDdomainId - The domain name or IDattributes - A Map of attributes for constructing the delegation signer recordDnsimpleException - Any API errorsIOException - Any IO errorsDeleteDelegationSignerRecordResponse deleteDelegationSignerRecord(String accountId, String domainId, String dsRecordId) throws DnsimpleException, IOException
accountId - The account IDdomainId - The domain ID or namedsRecordId - The delegation signer record IDDnsimpleException - Any API errorsIOException - Any IO errorsListEmailForwardsResponse listEmailForwards(String accountId, String domainId) throws DnsimpleException, IOException
accountId - The account IDdomainId - The domain ID or nameDnsimpleException - Any API errorsIOException - Any IO errorsListEmailForwardsResponse listEmailForwards(String accountId, String domainId, Map<String,Object> options) throws DnsimpleException, IOException
accountId - The account IDdomainId - The domain ID or nameoptions - A Map of options to send to the APIDnsimpleException - Any API errorsIOException - Any IO errorsGetEmailForwardResponse getEmailForward(String accountId, String domainId, String emailForwardId) throws DnsimpleException, IOException
accountId - The account IDdomainId - The domain name or IDemailForwardId - The email forward IDDnsimpleException - Any API errorsIOException - Any IO errorsCreateEmailForwardResponse createEmailForward(String accountId, String domainId, Map<String,Object> attributes) throws DnsimpleException, IOException
accountId - The account IDdomainId - The domain name or IDattributes - A Map of attributes for constructing the email forwardDnsimpleException - Any API errorsIOException - Any IO errorsDeleteEmailForwardResponse deleteEmailForward(String accountId, String domainId, String emailForwardId) throws DnsimpleException, IOException
accountId - The account IDdomainId - The domain ID or nameemailForwardId - The email forward IDDnsimpleException - Any API errorsIOException - Any IO errorsInitiatePushResponse initiatePush(String accountId, String domainId, Map<String,Object> attributes) throws DnsimpleException, IOException
accountId - The account IDdomainId - The domain name or IDattributes - A Map of attributes for constructing the pushDnsimpleException - Any API errorsIOException - Any IO errorsListPushesResponse listPushes(String accountId, String domainId) throws DnsimpleException, IOException
accountId - The account IDdomainId - The domain ID or nameDnsimpleException - Any API errorsIOException - Any IO errorsListPushesResponse listPushes(String accountId, String domainId, Map<String,Object> options) throws DnsimpleException, IOException
accountId - The account IDdomainId - The domain ID or nameoptions - A Map of options to send to the APIDnsimpleException - Any API errorsIOException - Any IO errorsAcceptPushResponse acceptPush(String accountId, String pushId, Map<String,Object> attributes) throws DnsimpleException, IOException
accountId - The account IDpushId - The push IDattributes - A Map of attributes required when accepting the pushDnsimpleException - Any API errorsIOException - Any IO errorsRejectPushResponse rejectPush(String accountId, String pushId) throws DnsimpleException, IOException
accountId - The account IDpushId - The push IDDnsimpleException - Any API errorsIOException - Any IO errorsCopyright © 2017 DNSimple. All rights reserved.