Class CSGandiDNSConfigurator
java.lang.Object
com.io7m.certusine.gandi.internal.CSGandiDNSConfigurator
- All Implemented Interfaces:
CSDNSConfiguratorType
A Gandi DNS configurator.
-
Constructor Summary
ConstructorsConstructorDescriptionCSGandiDNSConfigurator(CSGandiStrings inStrings, String inDomain, String inApiKey, String inApiBase) A Gandi DNS configurator. -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateTXTRecord(String recordName, String recordValue) Create a TXT record with the given text.voiddeleteTXTRecord(String recordName, String recordValue) Delete a TXT record with the given text.
-
Constructor Details
-
CSGandiDNSConfigurator
public CSGandiDNSConfigurator(CSGandiStrings inStrings, String inDomain, String inApiKey, String inApiBase) A Gandi DNS configurator.- Parameters:
inDomain- The owning domaininStrings- String resourcesinApiKey- The Gandi API keyinApiBase- The API base address
-
-
Method Details
-
createTXTRecord
public void createTXTRecord(String recordName, String recordValue) throws IOException, InterruptedException Description copied from interface:CSDNSConfiguratorTypeCreate a TXT record with the given text.- Specified by:
createTXTRecordin interfaceCSDNSConfiguratorType- Parameters:
recordName- The record namerecordValue- The text- Throws:
IOException- On errorsInterruptedException- On thread interruption
-
deleteTXTRecord
public void deleteTXTRecord(String recordName, String recordValue) throws IOException, InterruptedException Description copied from interface:CSDNSConfiguratorTypeDelete a TXT record with the given text.- Specified by:
deleteTXTRecordin interfaceCSDNSConfiguratorType- Parameters:
recordName- The record namerecordValue- The text- Throws:
IOException- On errorsInterruptedException- On thread interruption
-