Class SecurityCenterSettingsServiceSettings.Builder (0.6.1)

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

Builder for SecurityCenterSettingsServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > SecurityCenterSettingsServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(SecurityCenterSettingsServiceSettings settings)

protected Builder(SecurityCenterSettingsServiceSettings settings)
Parameter
NameDescription
settingsSecurityCenterSettingsServiceSettings

Builder(SecurityCenterSettingsServiceStubSettings.Builder stubSettings)

protected Builder(SecurityCenterSettingsServiceStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsSecurityCenterSettingsServiceStubSettings.Builder

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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
SecurityCenterSettingsServiceSettings.Builder

batchCalculateEffectiveSettingsSettings()

public UnaryCallSettings.Builder<BatchCalculateEffectiveSettingsRequest,BatchCalculateEffectiveSettingsResponse> batchCalculateEffectiveSettingsSettings()

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

Returns
TypeDescription
Builder<BatchCalculateEffectiveSettingsRequest,BatchCalculateEffectiveSettingsResponse>

batchGetSettingsSettings()

public UnaryCallSettings.Builder<BatchGetSettingsRequest,BatchGetSettingsResponse> batchGetSettingsSettings()

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

Returns
TypeDescription
Builder<BatchGetSettingsRequest,BatchGetSettingsResponse>

build()

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

calculateEffectiveComponentSettingsSettings()

public UnaryCallSettings.Builder<CalculateEffectiveComponentSettingsRequest,ComponentSettings> calculateEffectiveComponentSettingsSettings()

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

Returns
TypeDescription
Builder<CalculateEffectiveComponentSettingsRequest,ComponentSettings>

calculateEffectiveSettingsSettings()

public UnaryCallSettings.Builder<CalculateEffectiveSettingsRequest,Settings> calculateEffectiveSettingsSettings()

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

Returns
TypeDescription
Builder<CalculateEffectiveSettingsRequest,Settings>

getComponentSettingsSettings()

public UnaryCallSettings.Builder<GetComponentSettingsRequest,ComponentSettings> getComponentSettingsSettings()

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

Returns
TypeDescription
Builder<GetComponentSettingsRequest,ComponentSettings>

getServiceAccountSettings()

public UnaryCallSettings.Builder<GetServiceAccountRequest,ServiceAccount> getServiceAccountSettings()

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

Returns
TypeDescription
Builder<GetServiceAccountRequest,ServiceAccount>

getSettingsSettings()

public UnaryCallSettings.Builder<GetSettingsRequest,Settings> getSettingsSettings()

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

Returns
TypeDescription
Builder<GetSettingsRequest,Settings>

getStubSettingsBuilder()

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

listComponentsSettings()

public PagedCallSettings.Builder<ListComponentsRequest,ListComponentsResponse,SecurityCenterSettingsServiceClient.ListComponentsPagedResponse> listComponentsSettings()

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

Returns
TypeDescription
Builder<ListComponentsRequest,ListComponentsResponse,ListComponentsPagedResponse>

listDetectorsSettings()

public PagedCallSettings.Builder<ListDetectorsRequest,ListDetectorsResponse,SecurityCenterSettingsServiceClient.ListDetectorsPagedResponse> listDetectorsSettings()

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

Returns
TypeDescription
Builder<ListDetectorsRequest,ListDetectorsResponse,ListDetectorsPagedResponse>

resetComponentSettingsSettings()

public UnaryCallSettings.Builder<ResetComponentSettingsRequest,Empty> resetComponentSettingsSettings()

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

Returns
TypeDescription
Builder<ResetComponentSettingsRequest,Empty>

resetSettingsSettings()

public UnaryCallSettings.Builder<ResetSettingsRequest,Empty> resetSettingsSettings()

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

Returns
TypeDescription
Builder<ResetSettingsRequest,Empty>

updateComponentSettingsSettings()

public UnaryCallSettings.Builder<UpdateComponentSettingsRequest,ComponentSettings> updateComponentSettingsSettings()

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

Returns
TypeDescription
Builder<UpdateComponentSettingsRequest,ComponentSettings>

updateSettingsSettings()

public UnaryCallSettings.Builder<UpdateSettingsRequest,Settings> updateSettingsSettings()

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

Returns
TypeDescription
Builder<UpdateSettingsRequest,Settings>