Builder

A builder class for constructing instances of CDN with configurable properties. This class provides a fluent API to set various attributes for CDN and validates/computes URL properties as necessary.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

Specifies the formatting strategy to be used for dynamic text translations.

Link copied to clipboard
var path: (language: String) -> String

Defines the path generation logic for localization files within the CDN configuration.

Link copied to clipboard

Represents the storage configuration for the Builder.

Link copied to clipboard
var url: String?

Represents the URL associated with the CDN configuration.

Functions

Link copied to clipboard

Builds and returns a configured CDN instance.

Link copied to clipboard

Sets the formatter to be used for formatting translation messages.

Link copied to clipboard

Sets the path for the CDN configuration based on the provided function.

Link copied to clipboard

Configures the storage settings for the builder.

Link copied to clipboard

Sets the URL for the CDN configuration.