Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- A - Enum constant in enum class codes.thischwa.cf.model.RecordType
-
Represents the DNS A record type.
- AAAA - Enum constant in enum class codes.thischwa.cf.model.RecordType
-
Represents the DNS AAAA record type.
- AbstractEntity - Class in codes.thischwa.cf.model
-
Represents a base abstract entity class for modeling domain objects with a unique identifier.
- AbstractEntity() - Constructor for class codes.thischwa.cf.model.AbstractEntity
- AbstractMultipleResponse<T> - Class in codes.thischwa.cf.model
-
Abstract base class for response models that contain multiple result entries.
- AbstractResponse - Class in codes.thischwa.cf.model
-
Abstract base class for API response models.
- AbstractResponse() - Constructor for class codes.thischwa.cf.model.AbstractResponse
- AbstractSingleResponse<T> - Class in codes.thischwa.cf.model
-
Represents a base abstract response model for handling single response entities within an API response.
- AbstractSingleResponse() - Constructor for class codes.thischwa.cf.model.AbstractSingleResponse
- addQueryString(String) - Method in record class codes.thischwa.cf.model.PagingRequest
-
Appends Cloudflare-compatible pagination parameters (
pageandper_page) to an endpoint. - APEX - Static variable in class codes.thischwa.cf.CfDnsClient
-
Conventional name for the zone apex (the zone name itself).
B
- BatchEntry - Class in codes.thischwa.cf.model
-
Represents a batch entry containing different types of operations on record entities.
- BatchEntry() - Constructor for class codes.thischwa.cf.model.BatchEntry
- BatchResponse - Class in codes.thischwa.cf.model
-
Represents a response that contains a single
BatchEntryas the result. - build() - Method in class codes.thischwa.cf.CfDnsClientBuilder
-
Builds and returns a configured instance of
CfDnsClient. - build(String, RecordType, Integer, String) - Static method in class codes.thischwa.cf.model.RecordEntity
-
Builds and returns a
RecordEntityinstance with the specified attributes. - build(String, String) - Static method in class codes.thischwa.cf.model.RecordEntity
-
Builds and returns a
RecordEntityinstance with the specified ID and content. - build(String, String, String, Integer, String) - Static method in class codes.thischwa.cf.model.RecordEntity
-
Builds and returns a
RecordEntityinstance with the specified attributes.
C
- CAA - Enum constant in enum class codes.thischwa.cf.model.RecordType
-
Represents the DNS CAA (Certificate Authority Authorization) record type.
- CERT - Enum constant in enum class codes.thischwa.cf.model.RecordType
-
Represents the DNS CERT record type.
- CfDnsClient - Class in codes.thischwa.cf
-
CfDnsClient is a client interface to interact with Cloudflare DNS service.
- CfDnsClientBuilder - Class in codes.thischwa.cf
-
Builder class for configuring and creating instances of
CfDnsClient. - CfDnsClientBuilder() - Constructor for class codes.thischwa.cf.CfDnsClientBuilder
- CfRequest - Enum Class in codes.thischwa.cf
-
Enum CfRequest encapsulates various API endpoint paths for managing DNS zones and records in a cohesive and reusable manner.
- close() - Method in class codes.thischwa.cf.CfDnsClient
-
Releases the underlying HTTP client and its connections.
- CloudflareApiException - Exception Class in codes.thischwa.cf
-
Represents a custom exception for errors encountered while interacting with the Cloudflare API.
- CloudflareApiException(String) - Constructor for exception class codes.thischwa.cf.CloudflareApiException
-
Constructs a new CloudflareApiException with the specified detail message.
- CloudflareApiException(String, int, List<ResponseResultInfo.Error>) - Constructor for exception class codes.thischwa.cf.CloudflareApiException
-
Constructs a new CloudflareApiException caused by an API response.
- CloudflareApiException(String, Throwable) - Constructor for exception class codes.thischwa.cf.CloudflareApiException
-
Constructs a new CloudflareApiException with the specified detail message and cause.
- CloudflareNotFoundException - Exception Class in codes.thischwa.cf
-
This exception is thrown to indicate that a requested resource was not found during interaction with the Cloudflare API.
- CloudflareNotFoundException(String) - Constructor for exception class codes.thischwa.cf.CloudflareNotFoundException
-
Constructs a new CloudflareNotFoundException with the specified detail message.
- CloudflareNotFoundException(String, int, List<ResponseResultInfo.Error>) - Constructor for exception class codes.thischwa.cf.CloudflareNotFoundException
-
Constructs a new CloudflareNotFoundException caused by an API response.
- CNAME - Enum constant in enum class codes.thischwa.cf.model.RecordType
-
Represents the DNS CNAME (Canonical Name) record type.
- codes.thischwa.cf - package codes.thischwa.cf
-
The base package of CloudflareDNS-java.
- codes.thischwa.cf.fluent - package codes.thischwa.cf.fluent
-
Fluent API interfaces and implementations for chainable DNS operations.
- codes.thischwa.cf.model - package codes.thischwa.cf.model
-
The model of CloudflareDNS-java.
- count() - Method in record class codes.thischwa.cf.model.ResultInfo
-
Returns the value of the
countrecord component. - create(RecordType, String, int) - Method in interface codes.thischwa.cf.fluent.RecordOperations
-
Creates a new DNS record with the specified parameters.
- create(RecordType, String, int) - Method in class codes.thischwa.cf.fluent.RecordOperationsImpl
D
- DEFAULT_BASEURL - Static variable in class codes.thischwa.cf.CfDnsClientBuilder
-
The default base URL for the Cloudflare v4 API requests made by the
CfDnsClient. - DEFAULT_CONNECT_TIMEOUT - Static variable in class codes.thischwa.cf.CfDnsClientBuilder
-
The default timeout for establishing a connection.
- DEFAULT_PAGE_SIZE - Static variable in record class codes.thischwa.cf.model.PagingRequest
-
Default page size, valid for zones and DNS records.
- DEFAULT_RESPONSE_TIMEOUT - Static variable in class codes.thischwa.cf.CfDnsClientBuilder
-
The default timeout for waiting for the response data.
- defaultPaging() - Static method in record class codes.thischwa.cf.model.PagingRequest
-
Creates a request for page 1 with 50 items per page.
- delete(RecordType...) - Method in interface codes.thischwa.cf.fluent.RecordOperations
-
Deletes DNS records of the specified types for the selected subdomain.
- delete(RecordType...) - Method in class codes.thischwa.cf.fluent.RecordOperationsImpl
- DNSKEY - Enum constant in enum class codes.thischwa.cf.model.RecordType
-
Represents the DNSKEY record type.
- DS - Enum constant in enum class codes.thischwa.cf.model.RecordType
-
Represents the DNS DS (Delegation Signer) record type.
E
- equals(Object) - Method in record class codes.thischwa.cf.model.PagingRequest
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.thischwa.cf.model.ResultInfo
-
Indicates whether some other object is "equal to" this one.
- Error() - Constructor for class codes.thischwa.cf.model.ResponseResultInfo.Error
-
Constructs a new instance of the
Errorclass with default values for its properties. - Error(int, String) - Constructor for class codes.thischwa.cf.model.ResponseResultInfo.Error
-
Constructs an instance of the
Errorclass with a specified error code and message.
F
- forRecords(int, int) - Static method in record class codes.thischwa.cf.model.PagingRequest
-
Creates pagination parameters for a DNS record request.
- forZones(int, int) - Static method in record class codes.thischwa.cf.model.PagingRequest
-
Creates pagination parameters for a zone request.
G
- get() - Method in interface codes.thischwa.cf.fluent.RecordOperations
-
Retrieves DNS records for the selected subdomain.
- get() - Method in class codes.thischwa.cf.fluent.RecordOperationsImpl
- getErrors() - Method in exception class codes.thischwa.cf.CloudflareApiException
-
Returns the errors reported by Cloudflare.
- getId() - Method in class codes.thischwa.cf.model.BatchEntry
- getId() - Method in interface codes.thischwa.cf.model.ResponseEntity
-
Retrieves the unique identifier of the entity.
- getRecord(String) - Method in interface codes.thischwa.cf.fluent.ZoneOperations
-
Selects a record (subdomain) within the zone for further operations.
- getRecord(String) - Method in class codes.thischwa.cf.fluent.ZoneOperationsImpl
- getRecord(String, RecordType...) - Method in interface codes.thischwa.cf.fluent.ZoneOperations
-
Selects a record with specific types within the zone for further operations.
- getRecord(String, RecordType...) - Method in class codes.thischwa.cf.fluent.ZoneOperationsImpl
- getSld() - Method in class codes.thischwa.cf.model.RecordEntity
-
Deprecated, for removal: This API element is subject to removal in a future version.
- getStatusCode() - Method in exception class codes.thischwa.cf.CloudflareApiException
-
Returns the HTTP status code of the response that caused this exception.
- getSubdomain() - Method in class codes.thischwa.cf.model.RecordEntity
-
Retrieves the subdomain of the DNS record, i.e.
- groupRecordsByFqdn(List<RecordEntity>) - Static method in class codes.thischwa.cf.CfDnsClient
-
Groups a list of DNS records by their fully qualified domain name (FQDN).
H
- hashCode() - Method in record class codes.thischwa.cf.model.PagingRequest
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.thischwa.cf.model.ResultInfo
-
Returns a hash code value for this object.
- HTTPS - Enum constant in enum class codes.thischwa.cf.model.RecordType
-
Represents the DNS HTTPS (HTTP Service) record type.
L
- list(RecordType...) - Method in interface codes.thischwa.cf.fluent.ZoneOperations
-
Lists all DNS records within the zone, optionally filtered by types.
- list(RecordType...) - Method in class codes.thischwa.cf.fluent.ZoneOperationsImpl
- LOC - Enum constant in enum class codes.thischwa.cf.model.RecordType
-
Represents the DNS LOC (Location) record type.
M
- MAX_RECORDS_PER_PAGE - Static variable in record class codes.thischwa.cf.model.PagingRequest
-
Maximum number of DNS records allowed per page by Cloudflare.
- MAX_ZONES_PER_PAGE - Static variable in record class codes.thischwa.cf.model.PagingRequest
-
Maximum number of zones allowed per page by Cloudflare.
- MIN_ZONES_PER_PAGE - Static variable in record class codes.thischwa.cf.model.PagingRequest
-
Minimum number of zones allowed per page by Cloudflare.
- MX - Enum constant in enum class codes.thischwa.cf.model.RecordType
-
Represents the DNS MX (Mail Exchange) record type.
N
- NAPTR - Enum constant in enum class codes.thischwa.cf.model.RecordType
-
Represents the NAPTR record type for DNS configurations.
- next() - Method in record class codes.thischwa.cf.model.PagingRequest
-
Returns a request for the next page, retaining the current page size.
- NO_STATUS_CODE - Static variable in exception class codes.thischwa.cf.CloudflareApiException
-
Value of
CloudflareApiException.getStatusCode()if the exception was not caused by an HTTP response. - NS - Enum constant in enum class codes.thischwa.cf.model.RecordType
-
Represents the namespace or identifier `"NS"` within the domain model.
O
- OPENPGPKEY - Enum constant in enum class codes.thischwa.cf.model.RecordType
-
Represents the "OPENPGPKEY" DNS record type.
P
- page() - Method in record class codes.thischwa.cf.model.PagingRequest
-
Returns the value of the
pagerecord component. - page() - Method in record class codes.thischwa.cf.model.ResultInfo
-
Returns the value of the
pagerecord component. - PagingRequest - Record Class in codes.thischwa.cf.model
-
Immutable pagination parameters for Cloudflare list endpoints.
- PagingRequest(int, int) - Constructor for record class codes.thischwa.cf.model.PagingRequest
-
Validates the page number and page size.
- perPage() - Method in record class codes.thischwa.cf.model.PagingRequest
-
Returns the value of the
perPagerecord component. - perPage() - Method in record class codes.thischwa.cf.model.ResultInfo
-
Returns the value of the
perPagerecord component. - PTR - Enum constant in enum class codes.thischwa.cf.model.RecordType
-
Represents a DNS record type.
R
- RECORD_BATCH - Enum constant in enum class codes.thischwa.cf.CfRequest
-
Represents the API endpoint path for performing batch operations on DNS records within a specific zone.
- RECORD_CREATE - Enum constant in enum class codes.thischwa.cf.CfRequest
-
Represents the API endpoint path for creating a new DNS record within a specific DNS zone.
- RECORD_DELETE - Enum constant in enum class codes.thischwa.cf.CfRequest
-
Represents the API endpoint path for deleting an existing DNS record within a specific DNS zone.
- RECORD_LIST - Enum constant in enum class codes.thischwa.cf.CfRequest
-
Represents the API endpoint path for retrieving information about DNS records within a specific DNS zone.
- RECORD_LIST_NAME - Enum constant in enum class codes.thischwa.cf.CfRequest
-
Represents the API endpoint path for retrieving information about a DNS record within a specific DNS zone by its name.
- RECORD_UPDATE - Enum constant in enum class codes.thischwa.cf.CfRequest
-
Represents the API endpoint path for updating an existing DNS record within a specific DNS zone.
- recordBatch(ZoneEntity, List<RecordEntity>, List<RecordEntity>, List<RecordEntity>, List<RecordEntity>) - Method in class codes.thischwa.cf.CfDnsClient
-
Processes a batch of DNS record operations (POST, PUT, PATCH, DELETE) for a specified zone.
- recordCreate(ZoneEntity, RecordEntity) - Method in class codes.thischwa.cf.CfDnsClient
-
Creates a new DNS record in the specified zone using the Cloudflare API.
- recordCreate(ZoneEntity, String, int, RecordType, String) - Method in class codes.thischwa.cf.CfDnsClient
-
Creates a DNS record in the specified DNS zone with the provided details.
- recordCreateSubdomain(ZoneEntity, String, int, RecordType, String) - Method in class codes.thischwa.cf.CfDnsClient
-
Creates a new DNS record for a given subdomain within the specified zone.
- recordDelete(ZoneEntity, RecordEntity) - Method in class codes.thischwa.cf.CfDnsClient
-
Deletes a DNS record of the specified type within a given zone on the Cloudflare API.
- recordDelete(ZoneEntity, String) - Method in class codes.thischwa.cf.CfDnsClient
-
Deletes a DNS record of the specified type within a given zone on the Cloudflare API.
- recordDeleteTypeIfExists(ZoneEntity, String, RecordType...) - Method in class codes.thischwa.cf.CfDnsClient
-
Attempts to delete DNS records of the specified types within a given zone.
- RecordEntity - Class in codes.thischwa.cf.model
-
Represents a DNS record entity within a specific zone.
- RecordEntity() - Constructor for class codes.thischwa.cf.model.RecordEntity
-
Initializes a new instance of the RecordEntity class and invokes the parent constructor from the AbstractEntity class.
- recordList(ZoneEntity) - Method in class codes.thischwa.cf.CfDnsClient
-
Retrieves all DNS records for a specified zone.
- recordList(ZoneEntity, PagingRequest) - Method in class codes.thischwa.cf.CfDnsClient
-
Retrieves DNS records for a specified zone, with optional paging support.
- recordListBySubdomain(ZoneEntity, String, RecordType...) - Method in class codes.thischwa.cf.CfDnsClient
-
Retrieves DNS records for the specified subdomain within a zone.
- recordListByType(ZoneEntity, RecordType...) - Method in class codes.thischwa.cf.CfDnsClient
-
Retrieves all DNS records of the given types for a zone.
- RecordMultipleResponse - Class in codes.thischwa.cf.model
-
Represents the API response of the Cloudflare API containing multiple
RecordEntityinstances. - RecordMultipleResponse() - Constructor for class codes.thischwa.cf.model.RecordMultipleResponse
-
Constructs an instance of RecordMultipleResponse.
- RecordOperations - Interface in codes.thischwa.cf.fluent
-
Fluent interface for record-level operations.
- RecordOperationsImpl - Class in codes.thischwa.cf.fluent
-
Implementation of RecordOperations for fluent API access to record-level operations.
- RecordOperationsImpl(CfDnsClient, ZoneEntity, String, RecordType[]) - Constructor for class codes.thischwa.cf.fluent.RecordOperationsImpl
-
Constructs a RecordOperationsImpl instance.
- RecordSingleResponse - Class in codes.thischwa.cf.model
-
Represents the API response of the Cloudflare API containing a single
RecordEntityinstance. - RecordSingleResponse() - Constructor for class codes.thischwa.cf.model.RecordSingleResponse
-
Constructs a new instance of the RecordSingleResponse class.
- RecordType - Enum Class in codes.thischwa.cf.model
-
Enum representing various DNS record types.
- recordUpdate(ZoneEntity, RecordEntity) - Method in class codes.thischwa.cf.CfDnsClient
-
Updates an existing DNS record in a specified Cloudflare zone (partial update, attributes which are
nullremain unchanged). - ResponseEntity - Interface in codes.thischwa.cf.model
-
Represents a contract for entities that have a unique identifier.
- ResponseResultInfo - Class in codes.thischwa.cf.model
-
Represents the result of a response with metadata about its success and associated messages or errors.
- ResponseResultInfo() - Constructor for class codes.thischwa.cf.model.ResponseResultInfo
- ResponseResultInfo.Error - Class in codes.thischwa.cf.model
-
Represents an error with a specific code and message.
- ResultInfo - Record Class in codes.thischwa.cf.model
-
Represents metadata for paginated results.
- ResultInfo(int) - Constructor for record class codes.thischwa.cf.model.ResultInfo
-
Constructs a ResultInfo instance with the specified total count and default values for other fields.
- ResultInfo(int, int, int, int, int) - Constructor for record class codes.thischwa.cf.model.ResultInfo
-
Creates an instance of a
ResultInforecord class.
S
- SMIMEA - Enum constant in enum class codes.thischwa.cf.model.RecordType
-
Represents the SMIMEA DNS record type.
- SRV - Enum constant in enum class codes.thischwa.cf.model.RecordType
-
Represents a service record (SRV) type in the DNS configuration model.
- SSHFP - Enum constant in enum class codes.thischwa.cf.model.RecordType
-
Represents the DNS record type "SSHFP" (SSH Fingerprint), used in DNS to store cryptographic fingerprints associated with SSH host keys.
- SVCB - Enum constant in enum class codes.thischwa.cf.model.RecordType
-
Represents the Service Binding (SVCB) DNS record type.
T
- TLSA - Enum constant in enum class codes.thischwa.cf.model.RecordType
-
Represents a constant for the DNS-based Authentication of Named Entities (DANE) TLSA record type.
- toString() - Method in record class codes.thischwa.cf.model.PagingRequest
-
Returns a string representation of this record class.
- toString() - Method in enum class codes.thischwa.cf.model.RecordType
- toString() - Method in class codes.thischwa.cf.model.ResponseResultInfo.Error
- toString() - Method in record class codes.thischwa.cf.model.ResultInfo
-
Returns a string representation of this record class.
- totalCount() - Method in record class codes.thischwa.cf.model.ResultInfo
-
Returns the value of the
totalCountrecord component. - totalPages() - Method in record class codes.thischwa.cf.model.ResultInfo
-
Returns the value of the
totalPagesrecord component. - TXT - Enum constant in enum class codes.thischwa.cf.model.RecordType
-
Represents the TXT DNS record type.
U
- update(String) - Method in interface codes.thischwa.cf.fluent.RecordOperations
-
Updates an existing DNS record with new content.
- update(String) - Method in class codes.thischwa.cf.fluent.RecordOperationsImpl
- URI - Enum constant in enum class codes.thischwa.cf.model.RecordType
-
Represents a Uniform Resource Identifier (URI).
V
- valueOf(String) - Static method in enum class codes.thischwa.cf.CfRequest
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class codes.thischwa.cf.model.RecordType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class codes.thischwa.cf.CfRequest
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class codes.thischwa.cf.model.RecordType
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- withApiTokenAuth(String) - Method in class codes.thischwa.cf.CfDnsClientBuilder
-
Configures the authentication method for the
CfDnsClientto use an API token. - withBaseUrl(String) - Method in class codes.thischwa.cf.CfDnsClientBuilder
-
Sets the base URL to be used by the
CfDnsClient. - withConnectTimeout(Duration) - Method in class codes.thischwa.cf.CfDnsClientBuilder
-
Sets the timeout for establishing a connection.
- withEmailKeyAuth(String, String) - Method in class codes.thischwa.cf.CfDnsClientBuilder
-
Configures the authentication method for the
CfDnsClientto use an email and API key. - withEmptyResultThrowsException(boolean) - Method in class codes.thischwa.cf.CfDnsClientBuilder
-
Configures whether an exception should be thrown when an empty result is encountered during operations performed by the `CfDnsClient`.
- withPage(int) - Method in record class codes.thischwa.cf.model.PagingRequest
-
Returns a copy of this request with the specified page number.
- withResponseTimeout(Duration) - Method in class codes.thischwa.cf.CfDnsClientBuilder
-
Sets the timeout for waiting for the response data.
Z
- zone(String) - Method in class codes.thischwa.cf.CfDnsClient
-
Provides fluent API access to operations in a specific zone.
- ZONE_INFO - Enum constant in enum class codes.thischwa.cf.CfRequest
-
Represents the API endpoint path for retrieving information about a specific DNS zone by its name.
- ZONE_LIST - Enum constant in enum class codes.thischwa.cf.CfRequest
-
Represents the API endpoint path for retrieving the list of DNS zones.
- ZoneEntity - Class in codes.thischwa.cf.model
-
Represents a DNS zone entity in the Cloudflare DNS system.
- ZoneEntity() - Constructor for class codes.thischwa.cf.model.ZoneEntity
-
Default no-argument constructor for the ZoneEntity class.
- zoneGet(String) - Method in class codes.thischwa.cf.CfDnsClient
-
Retrieves detailed information about a specific zone by its name.
- zoneList() - Method in class codes.thischwa.cf.CfDnsClient
-
Retrieves a list of all zones from the Cloudflare API.
- zoneList(PagingRequest) - Method in class codes.thischwa.cf.CfDnsClient
-
Retrieves a single page of DNS zones using the provided paging request parameters.
- ZoneMultipleResponse - Class in codes.thischwa.cf.model
-
Represents a response model that contains multiple
ZoneEntityinstances. - ZoneMultipleResponse() - Constructor for class codes.thischwa.cf.model.ZoneMultipleResponse
-
Constructs a new ZoneMultipleResponse object.
- ZoneOperations - Interface in codes.thischwa.cf.fluent
-
Fluent interface for zone-level operations.
- ZoneOperationsImpl - Class in codes.thischwa.cf.fluent
-
Implementation of ZoneOperations for fluent API access to zone-level operations.
- ZoneOperationsImpl(CfDnsClient, ZoneEntity) - Constructor for class codes.thischwa.cf.fluent.ZoneOperationsImpl
-
Constructs a ZoneOperationsImpl instance.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
RecordEntity.getSubdomain()instead.