Class RegionInstanceTemplatesSettings.Builder (1.39.0)

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

Builder for RegionInstanceTemplatesSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > RegionInstanceTemplatesSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(RegionInstanceTemplatesSettings settings)

protected Builder(RegionInstanceTemplatesSettings settings)
Parameter
NameDescription
settingsRegionInstanceTemplatesSettings

Builder(RegionInstanceTemplatesStubSettings.Builder stubSettings)

protected Builder(RegionInstanceTemplatesStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsRegionInstanceTemplatesStubSettings.Builder

Methods

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

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

build()

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

deleteOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteRegionInstanceTemplateRequest,Operation,Operation>

deleteSettings()

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

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

Returns
TypeDescription
Builder<DeleteRegionInstanceTemplateRequest,Operation>

getSettings()

public UnaryCallSettings.Builder<GetRegionInstanceTemplateRequest,InstanceTemplate> getSettings()

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

Returns
TypeDescription
Builder<GetRegionInstanceTemplateRequest,InstanceTemplate>

getStubSettingsBuilder()

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

insertOperationSettings()

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

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

Returns
TypeDescription
Builder<InsertRegionInstanceTemplateRequest,Operation,Operation>

insertSettings()

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

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

Returns
TypeDescription
Builder<InsertRegionInstanceTemplateRequest,Operation>

listSettings()

public PagedCallSettings.Builder<ListRegionInstanceTemplatesRequest,InstanceTemplateList,RegionInstanceTemplatesClient.ListPagedResponse> listSettings()

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

Returns
TypeDescription
Builder<ListRegionInstanceTemplatesRequest,InstanceTemplateList,ListPagedResponse>