Class CloudControlsPartnerMonitoringSettings.Builder (0.5.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
NameDescription
clientContextClientContext

Builder(CloudControlsPartnerMonitoringSettings settings)

protected Builder(CloudControlsPartnerMonitoringSettings settings)
Parameter
NameDescription
settingsCloudControlsPartnerMonitoringSettings

Builder(CloudControlsPartnerMonitoringStubSettings.Builder stubSettings)

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

build()

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

getStubSettingsBuilder()

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

getViolationSettings()

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

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

Returns
TypeDescription
Builder<GetViolationRequest,Violation>

listViolationsSettings()

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

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

Returns
TypeDescription
Builder<ListViolationsRequest,ListViolationsResponse,ListViolationsPagedResponse>