Class ZonesSettings.Builder (1.22.0)

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

Builder for ZonesSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > ZonesSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(ZonesSettings settings)

protected Builder(ZonesSettings settings)
Parameter
NameDescription
settingsZonesSettings

Builder(ZonesStubSettings.Builder stubSettings)

protected Builder(ZonesStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsZonesStubSettings.Builder

Methods

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

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

build()

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

getSettings()

public UnaryCallSettings.Builder<GetZoneRequest,Zone> getSettings()

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

Returns
TypeDescription
Builder<GetZoneRequest,Zone>

getStubSettingsBuilder()

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

listSettings()

public PagedCallSettings.Builder<ListZonesRequest,ZoneList,ZonesClient.ListPagedResponse> listSettings()

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

Returns
TypeDescription
Builder<ListZonesRequest,ZoneList,ListPagedResponse>