Class RegionsSettings.Builder (1.16.0)

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

Builder for RegionsSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > RegionsSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(RegionsSettings settings)

protected Builder(RegionsSettings settings)
Parameter
NameDescription
settingsRegionsSettings

Builder(RegionsStubSettings.Builder stubSettings)

protected Builder(RegionsStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsRegionsStubSettings.Builder

Methods

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

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

build()

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

getSettings()

public UnaryCallSettings.Builder<GetRegionRequest,Region> getSettings()

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

Returns
TypeDescription
Builder<GetRegionRequest,Region>

getStubSettingsBuilder()

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

listSettings()

public PagedCallSettings.Builder<ListRegionsRequest,RegionList,RegionsClient.ListPagedResponse> listSettings()

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

Returns
TypeDescription
Builder<ListRegionsRequest,RegionList,ListPagedResponse>