Class WebSecurityScannerSettings.Builder (2.43.0)

public static class WebSecurityScannerSettings.Builder extends ClientSettings.Builder<WebSecurityScannerSettings,WebSecurityScannerSettings.Builder>

Builder for WebSecurityScannerSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > WebSecurityScannerSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(WebSecurityScannerSettings settings)

protected Builder(WebSecurityScannerSettings settings)
Parameter
Name Description
settings WebSecurityScannerSettings

Builder(WebSecurityScannerStubSettings.Builder stubSettings)

protected Builder(WebSecurityScannerStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings WebSecurityScannerStubSettings.Builder

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public WebSecurityScannerSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

Applies the given settings updater function to all of the unary API methods in this service.

Note: This method does not support applying settings to streaming methods.

Parameter
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
WebSecurityScannerSettings.Builder

build()

public WebSecurityScannerSettings build()
Returns
Type Description
WebSecurityScannerSettings
Overrides
Exceptions
Type Description
IOException

createScanConfigSettings()

public UnaryCallSettings.Builder<CreateScanConfigRequest,ScanConfig> createScanConfigSettings()

Returns the builder for the settings used for calls to createScanConfig.

Returns
Type Description
Builder<CreateScanConfigRequest,ScanConfig>

deleteScanConfigSettings()

public UnaryCallSettings.Builder<DeleteScanConfigRequest,Empty> deleteScanConfigSettings()

Returns the builder for the settings used for calls to deleteScanConfig.

Returns
Type Description
Builder<DeleteScanConfigRequest,Empty>

getFindingSettings()

public UnaryCallSettings.Builder<GetFindingRequest,Finding> getFindingSettings()

Returns the builder for the settings used for calls to getFinding.

Returns
Type Description
Builder<GetFindingRequest,Finding>

getScanConfigSettings()

public UnaryCallSettings.Builder<GetScanConfigRequest,ScanConfig> getScanConfigSettings()

Returns the builder for the settings used for calls to getScanConfig.

Returns
Type Description
Builder<GetScanConfigRequest,ScanConfig>

getScanRunSettings()

public UnaryCallSettings.Builder<GetScanRunRequest,ScanRun> getScanRunSettings()

Returns the builder for the settings used for calls to getScanRun.

Returns
Type Description
Builder<GetScanRunRequest,ScanRun>

getStubSettingsBuilder()

public WebSecurityScannerStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
WebSecurityScannerStubSettings.Builder

listCrawledUrlsSettings()

public PagedCallSettings.Builder<ListCrawledUrlsRequest,ListCrawledUrlsResponse,WebSecurityScannerClient.ListCrawledUrlsPagedResponse> listCrawledUrlsSettings()

Returns the builder for the settings used for calls to listCrawledUrls.

Returns
Type Description
Builder<ListCrawledUrlsRequest,ListCrawledUrlsResponse,ListCrawledUrlsPagedResponse>

listFindingTypeStatsSettings()

public UnaryCallSettings.Builder<ListFindingTypeStatsRequest,ListFindingTypeStatsResponse> listFindingTypeStatsSettings()

Returns the builder for the settings used for calls to listFindingTypeStats.

Returns
Type Description
Builder<ListFindingTypeStatsRequest,ListFindingTypeStatsResponse>

listFindingsSettings()

public PagedCallSettings.Builder<ListFindingsRequest,ListFindingsResponse,WebSecurityScannerClient.ListFindingsPagedResponse> listFindingsSettings()

Returns the builder for the settings used for calls to listFindings.

Returns
Type Description
Builder<ListFindingsRequest,ListFindingsResponse,ListFindingsPagedResponse>

listScanConfigsSettings()

public PagedCallSettings.Builder<ListScanConfigsRequest,ListScanConfigsResponse,WebSecurityScannerClient.ListScanConfigsPagedResponse> listScanConfigsSettings()

Returns the builder for the settings used for calls to listScanConfigs.

Returns
Type Description
Builder<ListScanConfigsRequest,ListScanConfigsResponse,ListScanConfigsPagedResponse>

listScanRunsSettings()

public PagedCallSettings.Builder<ListScanRunsRequest,ListScanRunsResponse,WebSecurityScannerClient.ListScanRunsPagedResponse> listScanRunsSettings()

Returns the builder for the settings used for calls to listScanRuns.

Returns
Type Description
Builder<ListScanRunsRequest,ListScanRunsResponse,ListScanRunsPagedResponse>

startScanRunSettings()

public UnaryCallSettings.Builder<StartScanRunRequest,ScanRun> startScanRunSettings()

Returns the builder for the settings used for calls to startScanRun.

Returns
Type Description
Builder<StartScanRunRequest,ScanRun>

stopScanRunSettings()

public UnaryCallSettings.Builder<StopScanRunRequest,ScanRun> stopScanRunSettings()

Returns the builder for the settings used for calls to stopScanRun.

Returns
Type Description
Builder<StopScanRunRequest,ScanRun>

updateScanConfigSettings()

public UnaryCallSettings.Builder<UpdateScanConfigRequest,ScanConfig> updateScanConfigSettings()

Returns the builder for the settings used for calls to updateScanConfig.

Returns
Type Description
Builder<UpdateScanConfigRequest,ScanConfig>