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