Class AccessApprovalAdminSettings.Builder (2.4.10)

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

Builder for AccessApprovalAdminSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > AccessApprovalAdminSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(AccessApprovalAdminSettings settings)

protected Builder(AccessApprovalAdminSettings settings)
Parameter
NameDescription
settingsAccessApprovalAdminSettings

Builder(AccessApprovalStubSettings.Builder stubSettings)

protected Builder(AccessApprovalStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsAccessApprovalStubSettings.Builder

Methods

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

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

approveApprovalRequestSettings()

public UnaryCallSettings.Builder<ApproveApprovalRequestMessage,ApprovalRequest> approveApprovalRequestSettings()

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

Returns
TypeDescription
Builder<ApproveApprovalRequestMessage,ApprovalRequest>

build()

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

deleteAccessApprovalSettingsSettings()

public UnaryCallSettings.Builder<DeleteAccessApprovalSettingsMessage,Empty> deleteAccessApprovalSettingsSettings()

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

Returns
TypeDescription
Builder<DeleteAccessApprovalSettingsMessage,Empty>

dismissApprovalRequestSettings()

public UnaryCallSettings.Builder<DismissApprovalRequestMessage,ApprovalRequest> dismissApprovalRequestSettings()

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

Returns
TypeDescription
Builder<DismissApprovalRequestMessage,ApprovalRequest>

getAccessApprovalServiceAccountSettings()

public UnaryCallSettings.Builder<GetAccessApprovalServiceAccountMessage,AccessApprovalServiceAccount> getAccessApprovalServiceAccountSettings()

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

Returns
TypeDescription
Builder<GetAccessApprovalServiceAccountMessage,AccessApprovalServiceAccount>

getAccessApprovalSettingsSettings()

public UnaryCallSettings.Builder<GetAccessApprovalSettingsMessage,AccessApprovalSettings> getAccessApprovalSettingsSettings()

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

Returns
TypeDescription
Builder<GetAccessApprovalSettingsMessage,AccessApprovalSettings>

getApprovalRequestSettings()

public UnaryCallSettings.Builder<GetApprovalRequestMessage,ApprovalRequest> getApprovalRequestSettings()

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

Returns
TypeDescription
Builder<GetApprovalRequestMessage,ApprovalRequest>

getStubSettingsBuilder()

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

invalidateApprovalRequestSettings()

public UnaryCallSettings.Builder<InvalidateApprovalRequestMessage,ApprovalRequest> invalidateApprovalRequestSettings()

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

Returns
TypeDescription
Builder<InvalidateApprovalRequestMessage,ApprovalRequest>

listApprovalRequestsSettings()

public PagedCallSettings.Builder<ListApprovalRequestsMessage,ListApprovalRequestsResponse,AccessApprovalAdminClient.ListApprovalRequestsPagedResponse> listApprovalRequestsSettings()

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

Returns
TypeDescription
Builder<ListApprovalRequestsMessage,ListApprovalRequestsResponse,ListApprovalRequestsPagedResponse>

updateAccessApprovalSettingsSettings()

public UnaryCallSettings.Builder<UpdateAccessApprovalSettingsMessage,AccessApprovalSettings> updateAccessApprovalSettingsSettings()

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

Returns
TypeDescription
Builder<UpdateAccessApprovalSettingsMessage,AccessApprovalSettings>