Class CaseAttachmentServiceSettings.Builder (0.6.0)

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

Builder for CaseAttachmentServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > CaseAttachmentServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(CaseAttachmentServiceSettings settings)

protected Builder(CaseAttachmentServiceSettings settings)
Parameter
NameDescription
settingsCaseAttachmentServiceSettings

Builder(CaseAttachmentServiceStubSettings.Builder stubSettings)

protected Builder(CaseAttachmentServiceStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsCaseAttachmentServiceStubSettings.Builder

Methods

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

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

build()

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

getStubSettingsBuilder()

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

listAttachmentsSettings()

public PagedCallSettings.Builder<ListAttachmentsRequest,ListAttachmentsResponse,CaseAttachmentServiceClient.ListAttachmentsPagedResponse> listAttachmentsSettings()

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

Returns
TypeDescription
Builder<ListAttachmentsRequest,ListAttachmentsResponse,ListAttachmentsPagedResponse>