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 extends ResponseEntity> - 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 extends ResponseEntity> - 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 class codes.thischwa.cf.model.PagingRequest
-
Appends a query string with pagination parameters (page and perPage) to the provided endpoint.
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
-
Constructs a new instance of `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.
- CloudflareApiException - Exception in codes.thischwa.cf
-
Represents a custom exception for errors encountered while interacting with the Cloudflare API.
- CloudflareApiException(String) - Constructor for exception codes.thischwa.cf.CloudflareApiException
-
Constructs a new CloudflareApiException with the specified detail message.
- CloudflareApiException(String, Throwable) - Constructor for exception codes.thischwa.cf.CloudflareApiException
-
Constructs a new CloudflareApiException with the specified detail message and cause.
- CloudflareNotFoundException - Exception 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 codes.thischwa.cf.CloudflareNotFoundException
-
Constructs a new CloudflareNotFoundException with the specified detail message.
- CloudflareNotFoundException(String, Throwable) - Constructor for exception codes.thischwa.cf.CloudflareNotFoundException
-
Constructs a new CloudflareNotFoundException with the specified detail message and cause.
- 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. - defaultPaging() - Static method in class codes.thischwa.cf.model.PagingRequest
-
Creates a default
PagingRequestinstance with a page number set to 1 and a high number of items per page to accommodate large dataset requests and effectively retrieve all records. - delete(RecordType...) - Method in interface codes.thischwa.cf.fluent.RecordOperations
-
Deletes DNS records of the specified types.
- 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.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.
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
- 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.
- getPagingParams() - Method in class codes.thischwa.cf.model.PagingRequest
-
Retrieves the pagination parameters in a key-value map format.
- getSld() - Method in class codes.thischwa.cf.model.RecordEntity
-
Retrieves the short name (subdomain) of the DNS record.
- 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.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
- 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.
- NS - Enum constant in enum class codes.thischwa.cf.model.RecordType
-
Represents the namespace or identifier `"NS"` within the domain model.
O
- of(int, int) - Static method in class codes.thischwa.cf.model.PagingRequest
-
Creates a new
PagingRequestinstance with the specified page number and items per page. - 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.ResultInfo
-
Returns the value of the
pagerecord component. - PagingRequest - Class in codes.thischwa.cf.model
-
Represents a request model for paginated data.
- 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(String) - Method in interface codes.thischwa.cf.fluent.ZoneOperations
-
Selects a record (subdomain) within the zone for further operations.
- record(String) - Method in class codes.thischwa.cf.fluent.ZoneOperationsImpl
- record(String, RecordType...) - Method in interface codes.thischwa.cf.fluent.ZoneOperations
-
Selects a record with specific types within the zone for further operations.
- record(String, RecordType...) - Method in class codes.thischwa.cf.fluent.ZoneOperationsImpl
- 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_INFO_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_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_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.
- recordCreateSld(ZoneEntity, String, int, RecordType, String) - Method in class codes.thischwa.cf.CfDnsClient
-
Creates a new DNS record for a given second-level domain (SLD) 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
-
Deletes DNS records of a specific type within a given zone if they exist.
- 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, RecordType...) - Method in class codes.thischwa.cf.CfDnsClient
-
Retrieves a list of all DNS records for a given zone.
- recordList(ZoneEntity, String) - Method in class codes.thischwa.cf.CfDnsClient
-
Retrieves DNS records for the specified second-level domain (SLD) within a zone.
- recordList(ZoneEntity, String, RecordType...) - Method in class codes.thischwa.cf.CfDnsClient
-
Retrieves DNS records for the specified second-level domain (SLD) within a zone.
- recordList(ZoneEntity, String, PagingRequest) - Method in class codes.thischwa.cf.CfDnsClient
-
Retrieves all record entities for a specific second-level domain (SLD) within a given DNS zone using the provided paging request parameters.
- 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.
- 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 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. - 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`.
Z
- zone(String) - Method in class codes.thischwa.cf.CfDnsClient
-
Provides fluent API access to operations on 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 list of all 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