Class IamCheckerSettings.Builder (1.2.6)

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

Builder for IamCheckerSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > IamCheckerSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(IamCheckerSettings settings)

protected Builder(IamCheckerSettings settings)
Parameter
NameDescription
settingsIamCheckerSettings

Builder(IamCheckerStubSettings.Builder stubSettings)

protected Builder(IamCheckerStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsIamCheckerStubSettings.Builder

Methods

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

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

build()

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

getStubSettingsBuilder()

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

troubleshootIamPolicySettings()

public UnaryCallSettings.Builder<TroubleshootIamPolicyRequest,TroubleshootIamPolicyResponse> troubleshootIamPolicySettings()

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

Returns
TypeDescription
Builder<TroubleshootIamPolicyRequest,TroubleshootIamPolicyResponse>