Class DataFusionSettings.Builder (1.16.0)

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

Builder for DataFusionSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > DataFusionSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(DataFusionSettings settings)

protected Builder(DataFusionSettings settings)
Parameter
NameDescription
settingsDataFusionSettings

Builder(DataFusionStubSettings.Builder stubSettings)

protected Builder(DataFusionStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsDataFusionStubSettings.Builder

Methods

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

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

build()

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

createInstanceOperationSettings()

public OperationCallSettings.Builder<CreateInstanceRequest,Instance,OperationMetadata> createInstanceOperationSettings()

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

Returns
TypeDescription
Builder<CreateInstanceRequest,Instance,OperationMetadata>

createInstanceSettings()

public UnaryCallSettings.Builder<CreateInstanceRequest,Operation> createInstanceSettings()

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

Returns
TypeDescription
Builder<CreateInstanceRequest,Operation>

deleteInstanceOperationSettings()

public OperationCallSettings.Builder<DeleteInstanceRequest,Empty,OperationMetadata> deleteInstanceOperationSettings()

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

Returns
TypeDescription
Builder<DeleteInstanceRequest,Empty,OperationMetadata>

deleteInstanceSettings()

public UnaryCallSettings.Builder<DeleteInstanceRequest,Operation> deleteInstanceSettings()

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

Returns
TypeDescription
Builder<DeleteInstanceRequest,Operation>

getInstanceSettings()

public UnaryCallSettings.Builder<GetInstanceRequest,Instance> getInstanceSettings()

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

Returns
TypeDescription
Builder<GetInstanceRequest,Instance>

getStubSettingsBuilder()

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

listAvailableVersionsSettings()

public PagedCallSettings.Builder<ListAvailableVersionsRequest,ListAvailableVersionsResponse,DataFusionClient.ListAvailableVersionsPagedResponse> listAvailableVersionsSettings()

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

Returns
TypeDescription
Builder<ListAvailableVersionsRequest,ListAvailableVersionsResponse,ListAvailableVersionsPagedResponse>

listInstancesSettings()

public PagedCallSettings.Builder<ListInstancesRequest,ListInstancesResponse,DataFusionClient.ListInstancesPagedResponse> listInstancesSettings()

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

Returns
TypeDescription
Builder<ListInstancesRequest,ListInstancesResponse,ListInstancesPagedResponse>

restartInstanceOperationSettings()

public OperationCallSettings.Builder<RestartInstanceRequest,Instance,OperationMetadata> restartInstanceOperationSettings()

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

Returns
TypeDescription
Builder<RestartInstanceRequest,Instance,OperationMetadata>

restartInstanceSettings()

public UnaryCallSettings.Builder<RestartInstanceRequest,Operation> restartInstanceSettings()

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

Returns
TypeDescription
Builder<RestartInstanceRequest,Operation>

updateInstanceOperationSettings()

public OperationCallSettings.Builder<UpdateInstanceRequest,Instance,OperationMetadata> updateInstanceOperationSettings()

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

Returns
TypeDescription
Builder<UpdateInstanceRequest,Instance,OperationMetadata>

updateInstanceSettings()

public UnaryCallSettings.Builder<UpdateInstanceRequest,Operation> updateInstanceSettings()

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

Returns
TypeDescription
Builder<UpdateInstanceRequest,Operation>