Class CloudControlsPartnerMonitoringSettings.Builder (0.7.0)

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

Builder for CloudControlsPartnerMonitoringSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > CloudControlsPartnerMonitoringSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(CloudControlsPartnerMonitoringSettings settings)

protected Builder(CloudControlsPartnerMonitoringSettings settings)
Parameter
Name Description
settings CloudControlsPartnerMonitoringSettings

Builder(CloudControlsPartnerMonitoringStubSettings.Builder stubSettings)

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

Methods

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

public CloudControlsPartnerMonitoringSettings.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
CloudControlsPartnerMonitoringSettings.Builder

build()

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

getStubSettingsBuilder()

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

getViolationSettings()

public UnaryCallSettings.Builder<GetViolationRequest,Violation> getViolationSettings()

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

Returns
Type Description
Builder<GetViolationRequest,Violation>

listViolationsSettings()

public PagedCallSettings.Builder<ListViolationsRequest,ListViolationsResponse,CloudControlsPartnerMonitoringClient.ListViolationsPagedResponse> listViolationsSettings()

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

Returns
Type Description
Builder<ListViolationsRequest,ListViolationsResponse,ListViolationsPagedResponse>