Class FlexTemplatesServiceSettings.Builder (0.41.0)

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

Builder for FlexTemplatesServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > FlexTemplatesServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(FlexTemplatesServiceSettings settings)

protected Builder(FlexTemplatesServiceSettings settings)
Parameter
NameDescription
settingsFlexTemplatesServiceSettings

Builder(FlexTemplatesServiceStubSettings.Builder stubSettings)

protected Builder(FlexTemplatesServiceStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsFlexTemplatesServiceStubSettings.Builder

Methods

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

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

build()

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

getStubSettingsBuilder()

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

launchFlexTemplateSettings()

public UnaryCallSettings.Builder<LaunchFlexTemplateRequest,LaunchFlexTemplateResponse> launchFlexTemplateSettings()

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

Returns
TypeDescription
Builder<LaunchFlexTemplateRequest,LaunchFlexTemplateResponse>