Class RegionZonesSettings.Builder (1.50.0)

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

Builder for RegionZonesSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > RegionZonesSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(RegionZonesSettings settings)

protected Builder(RegionZonesSettings settings)
Parameter
NameDescription
settingsRegionZonesSettings

Builder(RegionZonesStubSettings.Builder stubSettings)

protected Builder(RegionZonesStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsRegionZonesStubSettings.Builder

Methods

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

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

build()

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

getStubSettingsBuilder()

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

listSettings()

public PagedCallSettings.Builder<ListRegionZonesRequest,ZoneList,RegionZonesClient.ListPagedResponse> listSettings()

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

Returns
TypeDescription
Builder<ListRegionZonesRequest,ZoneList,ListPagedResponse>