Class RegionHealthChecksSettings.Builder (1.22.0)

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

Builder for RegionHealthChecksSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > RegionHealthChecksSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(RegionHealthChecksSettings settings)

protected Builder(RegionHealthChecksSettings settings)
Parameter
NameDescription
settingsRegionHealthChecksSettings

Builder(RegionHealthChecksStubSettings.Builder stubSettings)

protected Builder(RegionHealthChecksStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsRegionHealthChecksStubSettings.Builder

Methods

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

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

build()

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

deleteOperationSettings()

public OperationCallSettings.Builder<DeleteRegionHealthCheckRequest,Operation,Operation> deleteOperationSettings()

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

Returns
TypeDescription
Builder<DeleteRegionHealthCheckRequest,Operation,Operation>

deleteSettings()

public UnaryCallSettings.Builder<DeleteRegionHealthCheckRequest,Operation> deleteSettings()

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

Returns
TypeDescription
Builder<DeleteRegionHealthCheckRequest,Operation>

getSettings()

public UnaryCallSettings.Builder<GetRegionHealthCheckRequest,HealthCheck> getSettings()

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

Returns
TypeDescription
Builder<GetRegionHealthCheckRequest,HealthCheck>

getStubSettingsBuilder()

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

insertOperationSettings()

public OperationCallSettings.Builder<InsertRegionHealthCheckRequest,Operation,Operation> insertOperationSettings()

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

Returns
TypeDescription
Builder<InsertRegionHealthCheckRequest,Operation,Operation>

insertSettings()

public UnaryCallSettings.Builder<InsertRegionHealthCheckRequest,Operation> insertSettings()

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

Returns
TypeDescription
Builder<InsertRegionHealthCheckRequest,Operation>

listSettings()

public PagedCallSettings.Builder<ListRegionHealthChecksRequest,HealthCheckList,RegionHealthChecksClient.ListPagedResponse> listSettings()

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

Returns
TypeDescription
Builder<ListRegionHealthChecksRequest,HealthCheckList,ListPagedResponse>

patchOperationSettings()

public OperationCallSettings.Builder<PatchRegionHealthCheckRequest,Operation,Operation> patchOperationSettings()

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

Returns
TypeDescription
Builder<PatchRegionHealthCheckRequest,Operation,Operation>

patchSettings()

public UnaryCallSettings.Builder<PatchRegionHealthCheckRequest,Operation> patchSettings()

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

Returns
TypeDescription
Builder<PatchRegionHealthCheckRequest,Operation>

updateOperationSettings()

public OperationCallSettings.Builder<UpdateRegionHealthCheckRequest,Operation,Operation> updateOperationSettings()

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

Returns
TypeDescription
Builder<UpdateRegionHealthCheckRequest,Operation,Operation>

updateSettings()

public UnaryCallSettings.Builder<UpdateRegionHealthCheckRequest,Operation> updateSettings()

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

Returns
TypeDescription
Builder<UpdateRegionHealthCheckRequest,Operation>