Package codes.thischwa.cf.fluent


package codes.thischwa.cf.fluent
Fluent API interfaces and implementations for chainable DNS operations.

This package provides a fluent, chainable interface for interacting with Cloudflare DNS records, making code more readable and concise.

Example usage:


 // Create a DNS record
 client.zone("example.com")
       .record("api")
       .create(RecordType.A, "192.168.1.1", 60);

 // Get DNS records
 List<RecordEntity> records = client.zone("example.com")
                                      .record("www", RecordType.A)
                                      .get();

 // Update a DNS record
 client.zone("example.com")
       .record("api", RecordType.A)
       .update("192.168.1.2");

 // Delete DNS records
 client.zone("example.com")
       .record("old-service")
       .delete(RecordType.A, RecordType.AAAA);
 
  • Class
    Description
    Fluent interface for record-level operations.
    Implementation of RecordOperations for fluent API access to record-level operations.
    Fluent interface for zone-level operations.
    Implementation of ZoneOperations for fluent API access to zone-level operations.