Class DataFusionSettings.Builder (1.4.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

addDnsPeeringSettings()

public UnaryCallSettings.Builder<AddDnsPeeringRequest,AddDnsPeeringResponse> addDnsPeeringSettings()

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

Returns
TypeDescription
Builder<AddDnsPeeringRequest,AddDnsPeeringResponse>

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>

listDnsPeeringsSettings()

public PagedCallSettings.Builder<ListDnsPeeringsRequest,ListDnsPeeringsResponse,DataFusionClient.ListDnsPeeringsPagedResponse> listDnsPeeringsSettings()

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

Returns
TypeDescription
Builder<ListDnsPeeringsRequest,ListDnsPeeringsResponse,ListDnsPeeringsPagedResponse>

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>

listNamespacesSettings()

public PagedCallSettings.Builder<ListNamespacesRequest,ListNamespacesResponse,DataFusionClient.ListNamespacesPagedResponse> listNamespacesSettings()

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

Returns
TypeDescription
Builder<ListNamespacesRequest,ListNamespacesResponse,ListNamespacesPagedResponse>

removeDnsPeeringSettings()

public UnaryCallSettings.Builder<RemoveDnsPeeringRequest,RemoveDnsPeeringResponse> removeDnsPeeringSettings()

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

Returns
TypeDescription
Builder<RemoveDnsPeeringRequest,RemoveDnsPeeringResponse>

removeIamPolicySettings()

public UnaryCallSettings.Builder<RemoveIamPolicyRequest,RemoveIamPolicyResponse> removeIamPolicySettings()

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

Returns
TypeDescription
Builder<RemoveIamPolicyRequest,RemoveIamPolicyResponse>

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>

upgradeInstanceOperationSettings()

public OperationCallSettings.Builder<UpgradeInstanceRequest,Instance,OperationMetadata> upgradeInstanceOperationSettings()

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

Returns
TypeDescription
Builder<UpgradeInstanceRequest,Instance,OperationMetadata>

upgradeInstanceSettings()

public UnaryCallSettings.Builder<UpgradeInstanceRequest,Operation> upgradeInstanceSettings()

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

Returns
TypeDescription
Builder<UpgradeInstanceRequest,Operation>