Builder

class Builder

Builder used to construct the LegacySudoSiteReputationClient.

Functions

Link copied to clipboard

Construct the LegacySudoSiteReputationClient. Will throw a NullPointerException if the context or sudoUserClient have not been provided or ConfigurationException if the sudoplatformconfig.json file is missing the region or bucket item in the identityService stanza.

Link copied to clipboard

Provide the application context (required input).

Link copied to clipboard

Provide the implementation of the Logger used for logging errors (optional input). If a value is not supplied a default implementation will be used.

Link copied to clipboard

Provide the implementation of the StorageProvider used to read and write cached metadata and contents and the allow list (optional input). If a value is not supplied a default implementation will be used.

Link copied to clipboard
fun setSudoUserClient(sudoUserClient: SudoUserClient): LegacySudoSiteReputationClient.Builder

Provide the implementation of the SudoUserClient used to perform sign in and ownership operations (required input).