Uses of Class
codes.thischwa.cf.CloudflareApiException
Packages that use CloudflareApiException
Package
Description
The base package of CloudflareDNS-java.
Fluent API interfaces and implementations for chainable DNS operations.
-
Uses of CloudflareApiException in codes.thischwa.cf
Subclasses of CloudflareApiException in codes.thischwa.cfModifier and TypeClassDescriptionclassThis exception is thrown to indicate that a requested resource was not found during interaction with the Cloudflare API.Methods in codes.thischwa.cf that throw CloudflareApiExceptionModifier and TypeMethodDescriptionCfDnsClient.recordBatch(ZoneEntity zone, @Nullable List<RecordEntity> postRecords, @Nullable List<RecordEntity> putRecords, @Nullable List<RecordEntity> patchRecords, @Nullable List<RecordEntity> deleteRecords) Processes a batch of DNS record operations (POST, PUT, PATCH, DELETE) for a specified zone.CfDnsClient.recordCreate(ZoneEntity zone, RecordEntity rec) Creates a new DNS record in the specified zone using the Cloudflare API.CfDnsClient.recordCreate(ZoneEntity zone, String name, int ttl, RecordType type, String content) Creates a DNS record in the specified DNS zone with the provided details.CfDnsClient.recordCreateSld(ZoneEntity zone, String sld, int ttl, RecordType type, String content) Creates a new DNS record for a given second-level domain (SLD) within the specified zone.booleanCfDnsClient.recordDelete(ZoneEntity zone, RecordEntity rec) Deletes a DNS record of the specified type within a given zone on the Cloudflare API.booleanCfDnsClient.recordDelete(ZoneEntity zone, String id) Deletes a DNS record of the specified type within a given zone on the Cloudflare API.voidCfDnsClient.recordDeleteTypeIfExists(ZoneEntity zone, String sld, RecordType... recordTypes) Deletes DNS records of a specific type within a given zone if they exist.CfDnsClient.recordList(ZoneEntity zone, RecordType... types) Retrieves a list of all DNS records for a given zone.CfDnsClient.recordList(ZoneEntity zone, String sld) Retrieves DNS records for the specified second-level domain (SLD) within a zone.CfDnsClient.recordList(ZoneEntity zone, String sld, @Nullable RecordType... types) Retrieves DNS records for the specified second-level domain (SLD) within a zone.CfDnsClient.recordList(ZoneEntity zone, String sld, PagingRequest pagingRequest) Retrieves all record entities for a specific second-level domain (SLD) within a given DNS zone using the provided paging request parameters.CfDnsClient.recordUpdate(ZoneEntity zone, RecordEntity rec) Updates an existing DNS record in a specified Cloudflare zone.Provides fluent API access to operations on a specific zone.Retrieves detailed information about a specific zone by its name.CfDnsClient.zoneList()Retrieves a list of all zones from the Cloudflare API.CfDnsClient.zoneList(PagingRequest pagingRequest) Retrieves a list of all DNS zones using the provided paging request parameters. -
Uses of CloudflareApiException in codes.thischwa.cf.fluent
Methods in codes.thischwa.cf.fluent that throw CloudflareApiExceptionModifier and TypeMethodDescriptionRecordOperations.create(RecordType type, String content, int ttl) Creates a new DNS record with the specified parameters.RecordOperationsImpl.create(RecordType type, String content, int ttl) voidRecordOperations.delete(RecordType... types) Deletes DNS records of the specified types.voidRecordOperationsImpl.delete(RecordType... types) RecordOperations.get()Retrieves DNS records for the selected subdomain.RecordOperationsImpl.get()ZoneOperations.list(@Nullable RecordType... types) Lists all DNS records within the zone, optionally filtered by types.ZoneOperationsImpl.list(@Nullable RecordType... types) Selects a record (subdomain) within the zone for further operations.ZoneOperations.record(String sld, @Nullable RecordType... types) Selects a record with specific types within the zone for further operations.ZoneOperationsImpl.record(String sld, @Nullable RecordType... types) Updates an existing DNS record with new content.