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
fun setGraphQLClient(graphQLClient: GraphQLClient): SudoSiteReputationClient.Builder

Provide an GraphQLClient for the SiteReputationClient to use (optional input). If this is not supplied, an GraphQLClient will be constructed and used.

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
fun setSudoUserClient(sudoUserClient: SudoUserClient): SudoSiteReputationClient.Builder

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