| Constructor and Description |
|---|
DomainsEndpoint(HttpEndpointClient client) |
| 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)
Disable 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.
|
public DomainsEndpoint(HttpEndpointClient client)
public ListDomainsResponse listDomains(String accountId) throws DnsimpleException, IOException
listDomains in interface DomainsaccountId - The account IDDnsimpleException - Any API errorsIOException - Any IO errorspublic ListDomainsResponse listDomains(String accountId, Map<String,Object> options) throws DnsimpleException, IOException
listDomains in interface DomainsaccountId - The account IDoptions - A Map of options to pass to the domains APIDnsimpleException - Any API errorsIOException - Any IO errorspublic GetDomainResponse getDomain(String accountId, String domainId) throws DnsimpleException, IOException
getDomain in interface DomainsaccountId - The account IDdomainId - The domain name or IDDnsimpleException - Any API errorsIOException - Any IO errorspublic CreateDomainResponse createDomain(String accountId, Map<String,Object> attributes) throws DnsimpleException, IOException
createDomain in interface DomainsaccountId - The account IDattributes - A Map of attributes for constructing the domainDnsimpleException - Any API errorsIOException - Any IO errorspublic DeleteDomainResponse deleteDomain(String accountId, String domainId) throws DnsimpleException, IOException
deleteDomain in interface DomainsaccountId - The account IDdomainId - The domain ID or nameDnsimpleException - Any API errorsIOException - Any IO errorspublic ResetDomainTokenResponse resetDomainToken(String accountId, String domainId) throws DnsimpleException, IOException
resetDomainToken in interface DomainsaccountId - The account IDdomainId - The domain ID or nameDnsimpleException - Any API errorsIOException - Any IO errorspublic EnableDnssecResponse enableDnssec(String accountId, String domainId) throws DnsimpleException, IOException
enableDnssec in interface DomainsaccountId - The account IDdomainId - The domain ID or nameDnsimpleException - Any API errorsIOException - Any IO errorspublic DisableDnssecResponse disableDnssec(String accountId, String domainId) throws DnsimpleException, IOException
disableDnssec in interface DomainsaccountId - The account IDdomainId - The domain ID or nameDnsimpleException - Any API errorsIOException - Any IO errorspublic GetDnssecResponse getDnssec(String accountId, String domainId) throws DnsimpleException, IOException
getDnssec in interface DomainsaccountId - The account IDdomainId - The domain ID or nameDnsimpleException - Any API errorsIOException - Any IO errorspublic ListDelegationSignerRecordsResponse listDelegationSignerRecords(String accountId, String domainId) throws DnsimpleException, IOException
listDelegationSignerRecords in interface DomainsaccountId - The account IDdomainId - The domain ID or nameDnsimpleException - Any API errorsIOException - Any IO errorspublic ListDelegationSignerRecordsResponse listDelegationSignerRecords(String accountId, String domainId, Map<String,Object> options) throws DnsimpleException, IOException
listDelegationSignerRecords in interface DomainsaccountId - The account IDdomainId - The domain ID or nameoptions - A Map of options to send to the APIDnsimpleException - Any API errorsIOException - Any IO errorspublic GetDelegationSignerRecordResponse getDelegationSignerRecord(String accountId, String domainId, String dsRecordId) throws DnsimpleException, IOException
getDelegationSignerRecord in interface DomainsaccountId - The account IDdomainId - The domain name or IDdsRecordId - The delegation signer record IDDnsimpleException - Any API errorsIOException - Any IO errorspublic CreateDelegationSignerRecordResponse createDelegationSignerRecord(String accountId, String domainId, Map<String,Object> attributes) throws DnsimpleException, IOException
createDelegationSignerRecord in interface DomainsaccountId - The account IDdomainId - The domain name or IDattributes - A Map of attributes for constructing the delegation signer recordDnsimpleException - Any API errorsIOException - Any IO errorspublic DeleteDelegationSignerRecordResponse deleteDelegationSignerRecord(String accountId, String domainId, String dsRecordId) throws DnsimpleException, IOException
deleteDelegationSignerRecord in interface DomainsaccountId - The account IDdomainId - The domain ID or namedsRecordId - The delegation signer record IDDnsimpleException - Any API errorsIOException - Any IO errorspublic ListEmailForwardsResponse listEmailForwards(String accountId, String domainId) throws DnsimpleException, IOException
listEmailForwards in interface DomainsaccountId - The account IDdomainId - The domain ID or nameDnsimpleException - Any API errorsIOException - Any IO errorspublic ListEmailForwardsResponse listEmailForwards(String accountId, String domainId, Map<String,Object> options) throws DnsimpleException, IOException
listEmailForwards in interface DomainsaccountId - The account IDdomainId - The domain ID or nameoptions - A Map of options to send to the APIDnsimpleException - Any API errorsIOException - Any IO errorspublic GetEmailForwardResponse getEmailForward(String accountId, String domainId, String emailForwardId) throws DnsimpleException, IOException
getEmailForward in interface DomainsaccountId - The account IDdomainId - The domain name or IDemailForwardId - The email forward IDDnsimpleException - Any API errorsIOException - Any IO errorspublic CreateEmailForwardResponse createEmailForward(String accountId, String domainId, Map<String,Object> attributes) throws DnsimpleException, IOException
createEmailForward in interface DomainsaccountId - The account IDdomainId - The domain name or IDattributes - A Map of attributes for constructing the email forwardDnsimpleException - Any API errorsIOException - Any IO errorspublic DeleteEmailForwardResponse deleteEmailForward(String accountId, String domainId, String emailForwardId) throws DnsimpleException, IOException
deleteEmailForward in interface DomainsaccountId - The account IDdomainId - The domain ID or nameemailForwardId - The email forward IDDnsimpleException - Any API errorsIOException - Any IO errorspublic InitiatePushResponse initiatePush(String accountId, String domainId, Map<String,Object> attributes) throws DnsimpleException, IOException
initiatePush in interface DomainsaccountId - The account IDdomainId - The domain name or IDattributes - A Map of attributes for constructing the pushDnsimpleException - Any API errorsIOException - Any IO errorspublic ListPushesResponse listPushes(String accountId, String domainId) throws DnsimpleException, IOException
listPushes in interface DomainsaccountId - The account IDdomainId - The domain ID or nameDnsimpleException - Any API errorsIOException - Any IO errorspublic ListPushesResponse listPushes(String accountId, String domainId, Map<String,Object> options) throws DnsimpleException, IOException
listPushes in interface DomainsaccountId - The account IDdomainId - The domain ID or nameoptions - A Map of options to send to the APIDnsimpleException - Any API errorsIOException - Any IO errorspublic AcceptPushResponse acceptPush(String accountId, String pushId, Map<String,Object> attributes) throws DnsimpleException, IOException
acceptPush in interface DomainsaccountId - The account IDpushId - The push IDattributes - A Map of attributes required when accepting the pushDnsimpleException - Any API errorsIOException - Any IO errorspublic RejectPushResponse rejectPush(String accountId, String pushId) throws DnsimpleException, IOException
rejectPush in interface DomainsaccountId - The account IDpushId - The push IDDnsimpleException - Any API errorsIOException - Any IO errorsCopyright © 2017 DNSimple. All rights reserved.