public static class SecurityCenterSettingsServiceSettings.Builder extends ClientSettings.Builder<SecurityCenterSettingsServiceSettings,SecurityCenterSettingsServiceSettings.Builder>
Builder for SecurityCenterSettingsServiceSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Parameter
Builder(SecurityCenterSettingsServiceSettings settings)
protected Builder(SecurityCenterSettingsServiceSettings settings)
Parameter
Builder(SecurityCenterSettingsServiceStubSettings.Builder stubSettings)
protected Builder(SecurityCenterSettingsServiceStubSettings.Builder stubSettings)
Parameter
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public SecurityCenterSettingsServiceSettings.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
Returns
batchCalculateEffectiveSettingsSettings()
public UnaryCallSettings.Builder<BatchCalculateEffectiveSettingsRequest,BatchCalculateEffectiveSettingsResponse> batchCalculateEffectiveSettingsSettings()
Returns the builder for the settings used for calls to batchCalculateEffectiveSettings.
Returns
batchGetSettingsSettings()
public UnaryCallSettings.Builder<BatchGetSettingsRequest,BatchGetSettingsResponse> batchGetSettingsSettings()
Returns the builder for the settings used for calls to batchGetSettings.
Returns
build()
public SecurityCenterSettingsServiceSettings build()
Returns
Overrides
Exceptions
calculateEffectiveComponentSettingsSettings()
public UnaryCallSettings.Builder<CalculateEffectiveComponentSettingsRequest,ComponentSettings> calculateEffectiveComponentSettingsSettings()
Returns the builder for the settings used for calls to calculateEffectiveComponentSettings.
Returns
calculateEffectiveSettingsSettings()
public UnaryCallSettings.Builder<CalculateEffectiveSettingsRequest,Settings> calculateEffectiveSettingsSettings()
Returns the builder for the settings used for calls to calculateEffectiveSettings.
Returns
getComponentSettingsSettings()
public UnaryCallSettings.Builder<GetComponentSettingsRequest,ComponentSettings> getComponentSettingsSettings()
Returns the builder for the settings used for calls to getComponentSettings.
Returns
getServiceAccountSettings()
public UnaryCallSettings.Builder<GetServiceAccountRequest,ServiceAccount> getServiceAccountSettings()
Returns the builder for the settings used for calls to getServiceAccount.
Returns
getSettingsSettings()
public UnaryCallSettings.Builder<GetSettingsRequest,Settings> getSettingsSettings()
Returns the builder for the settings used for calls to getSettings.
Returns
getStubSettingsBuilder()
public SecurityCenterSettingsServiceStubSettings.Builder getStubSettingsBuilder()
Returns
listComponentsSettings()
public PagedCallSettings.Builder<ListComponentsRequest,ListComponentsResponse,SecurityCenterSettingsServiceClient.ListComponentsPagedResponse> listComponentsSettings()
Returns the builder for the settings used for calls to listComponents.
Returns
public PagedCallSettings.Builder<ListDetectorsRequest,ListDetectorsResponse,SecurityCenterSettingsServiceClient.ListDetectorsPagedResponse> listDetectorsSettings()
Returns the builder for the settings used for calls to listDetectors.
Returns
resetComponentSettingsSettings()
public UnaryCallSettings.Builder<ResetComponentSettingsRequest,Empty> resetComponentSettingsSettings()
Returns the builder for the settings used for calls to resetComponentSettings.
Returns
resetSettingsSettings()
public UnaryCallSettings.Builder<ResetSettingsRequest,Empty> resetSettingsSettings()
Returns the builder for the settings used for calls to resetSettings.
Returns
updateComponentSettingsSettings()
public UnaryCallSettings.Builder<UpdateComponentSettingsRequest,ComponentSettings> updateComponentSettingsSettings()
Returns the builder for the settings used for calls to updateComponentSettings.
Returns
updateSettingsSettings()
public UnaryCallSettings.Builder<UpdateSettingsRequest,Settings> updateSettingsSettings()
Returns the builder for the settings used for calls to updateSettings.
Returns