Class HealthChecksSettings.Builder (1.22.0)

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

Builder for HealthChecksSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > HealthChecksSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(HealthChecksSettings settings)

protected Builder(HealthChecksSettings settings)
Parameter
NameDescription
settingsHealthChecksSettings

Builder(HealthChecksStubSettings.Builder stubSettings)

protected Builder(HealthChecksStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsHealthChecksStubSettings.Builder

Methods

aggregatedListSettings()

public PagedCallSettings.Builder<AggregatedListHealthChecksRequest,HealthChecksAggregatedList,HealthChecksClient.AggregatedListPagedResponse> aggregatedListSettings()

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

Returns
TypeDescription
Builder<AggregatedListHealthChecksRequest,HealthChecksAggregatedList,AggregatedListPagedResponse>

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

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

build()

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

deleteOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteHealthCheckRequest,Operation,Operation>

deleteSettings()

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

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

Returns
TypeDescription
Builder<DeleteHealthCheckRequest,Operation>

getSettings()

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

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

Returns
TypeDescription
Builder<GetHealthCheckRequest,HealthCheck>

getStubSettingsBuilder()

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

insertOperationSettings()

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

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

Returns
TypeDescription
Builder<InsertHealthCheckRequest,Operation,Operation>

insertSettings()

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

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

Returns
TypeDescription
Builder<InsertHealthCheckRequest,Operation>

listSettings()

public PagedCallSettings.Builder<ListHealthChecksRequest,HealthCheckList,HealthChecksClient.ListPagedResponse> listSettings()

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

Returns
TypeDescription
Builder<ListHealthChecksRequest,HealthCheckList,ListPagedResponse>

patchOperationSettings()

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

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

Returns
TypeDescription
Builder<PatchHealthCheckRequest,Operation,Operation>

patchSettings()

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

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

Returns
TypeDescription
Builder<PatchHealthCheckRequest,Operation>

updateOperationSettings()

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

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

Returns
TypeDescription
Builder<UpdateHealthCheckRequest,Operation,Operation>

updateSettings()

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

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

Returns
TypeDescription
Builder<UpdateHealthCheckRequest,Operation>