Class WebSecurityScannerSettings.Builder (2.2.4)

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
NameDescription
clientContextClientContext

Builder(WebSecurityScannerSettings settings)

protected Builder(WebSecurityScannerSettings settings)
Parameter
NameDescription
settingsWebSecurityScannerSettings

Builder(WebSecurityScannerStubSettings.Builder stubSettings)

protected Builder(WebSecurityScannerStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsWebSecurityScannerStubSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
WebSecurityScannerSettings.Builder

build()

public WebSecurityScannerSettings build()
Returns
TypeDescription
WebSecurityScannerSettings
Overrides Exceptions
TypeDescription
IOException

createScanConfigSettings()

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

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

Returns
TypeDescription
Builder<CreateScanConfigRequest,ScanConfig>

deleteScanConfigSettings()

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

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

Returns
TypeDescription
Builder<DeleteScanConfigRequest,Empty>

getFindingSettings()

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

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

Returns
TypeDescription
Builder<GetFindingRequest,Finding>

getScanConfigSettings()

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

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

Returns
TypeDescription
Builder<GetScanConfigRequest,ScanConfig>

getScanRunSettings()

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

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

Returns
TypeDescription
Builder<GetScanRunRequest,ScanRun>

getStubSettingsBuilder()

public WebSecurityScannerStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
WebSecurityScannerStubSettings.Builder

listCrawledUrlsSettings()

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

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

Returns
TypeDescription
Builder<ListCrawledUrlsRequest,ListCrawledUrlsResponse,ListCrawledUrlsPagedResponse>

listFindingTypeStatsSettings()

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

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

Returns
TypeDescription
Builder<ListFindingTypeStatsRequest,ListFindingTypeStatsResponse>

listFindingsSettings()

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

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Builder<ListScanRunsRequest,ListScanRunsResponse,ListScanRunsPagedResponse>

startScanRunSettings()

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

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

Returns
TypeDescription
Builder<StartScanRunRequest,ScanRun>

stopScanRunSettings()

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

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

Returns
TypeDescription
Builder<StopScanRunRequest,ScanRun>

updateScanConfigSettings()

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

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

Returns
TypeDescription
Builder<UpdateScanConfigRequest,ScanConfig>