Class DataMigrationServiceSettings.Builder (2.2.3)

Stay organized with collections Save and categorize content based on your preferences.
public static class DataMigrationServiceSettings.Builder extends ClientSettings.Builder<DataMigrationServiceSettings,DataMigrationServiceSettings.Builder>

Builder for DataMigrationServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > DataMigrationServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(DataMigrationServiceSettings settings)

protected Builder(DataMigrationServiceSettings settings)
Parameter
NameDescription
settingsDataMigrationServiceSettings

Builder(DataMigrationServiceStubSettings.Builder stubSettings)

protected Builder(DataMigrationServiceStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsDataMigrationServiceStubSettings.Builder

Methods

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

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

build()

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

createConnectionProfileOperationSettings()

public OperationCallSettings.Builder<CreateConnectionProfileRequest,ConnectionProfile,OperationMetadata> createConnectionProfileOperationSettings()

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

Returns
TypeDescription
Builder<CreateConnectionProfileRequest,ConnectionProfile,OperationMetadata>

createConnectionProfileSettings()

public UnaryCallSettings.Builder<CreateConnectionProfileRequest,Operation> createConnectionProfileSettings()

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

Returns
TypeDescription
Builder<CreateConnectionProfileRequest,Operation>

createMigrationJobOperationSettings()

public OperationCallSettings.Builder<CreateMigrationJobRequest,MigrationJob,OperationMetadata> createMigrationJobOperationSettings()

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

Returns
TypeDescription
Builder<CreateMigrationJobRequest,MigrationJob,OperationMetadata>

createMigrationJobSettings()

public UnaryCallSettings.Builder<CreateMigrationJobRequest,Operation> createMigrationJobSettings()

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

Returns
TypeDescription
Builder<CreateMigrationJobRequest,Operation>

deleteConnectionProfileOperationSettings()

public OperationCallSettings.Builder<DeleteConnectionProfileRequest,Empty,OperationMetadata> deleteConnectionProfileOperationSettings()

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

Returns
TypeDescription
Builder<DeleteConnectionProfileRequest,Empty,OperationMetadata>

deleteConnectionProfileSettings()

public UnaryCallSettings.Builder<DeleteConnectionProfileRequest,Operation> deleteConnectionProfileSettings()

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

Returns
TypeDescription
Builder<DeleteConnectionProfileRequest,Operation>

deleteMigrationJobOperationSettings()

public OperationCallSettings.Builder<DeleteMigrationJobRequest,Empty,OperationMetadata> deleteMigrationJobOperationSettings()

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

Returns
TypeDescription
Builder<DeleteMigrationJobRequest,Empty,OperationMetadata>

deleteMigrationJobSettings()

public UnaryCallSettings.Builder<DeleteMigrationJobRequest,Operation> deleteMigrationJobSettings()

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

Returns
TypeDescription
Builder<DeleteMigrationJobRequest,Operation>

generateSshScriptSettings()

public UnaryCallSettings.Builder<GenerateSshScriptRequest,SshScript> generateSshScriptSettings()

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

Returns
TypeDescription
Builder<GenerateSshScriptRequest,SshScript>

getConnectionProfileSettings()

public UnaryCallSettings.Builder<GetConnectionProfileRequest,ConnectionProfile> getConnectionProfileSettings()

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

Returns
TypeDescription
Builder<GetConnectionProfileRequest,ConnectionProfile>

getMigrationJobSettings()

public UnaryCallSettings.Builder<GetMigrationJobRequest,MigrationJob> getMigrationJobSettings()

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

Returns
TypeDescription
Builder<GetMigrationJobRequest,MigrationJob>

getStubSettingsBuilder()

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

listConnectionProfilesSettings()

public PagedCallSettings.Builder<ListConnectionProfilesRequest,ListConnectionProfilesResponse,DataMigrationServiceClient.ListConnectionProfilesPagedResponse> listConnectionProfilesSettings()

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

Returns
TypeDescription
Builder<ListConnectionProfilesRequest,ListConnectionProfilesResponse,ListConnectionProfilesPagedResponse>

listMigrationJobsSettings()

public PagedCallSettings.Builder<ListMigrationJobsRequest,ListMigrationJobsResponse,DataMigrationServiceClient.ListMigrationJobsPagedResponse> listMigrationJobsSettings()

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

Returns
TypeDescription
Builder<ListMigrationJobsRequest,ListMigrationJobsResponse,ListMigrationJobsPagedResponse>

promoteMigrationJobOperationSettings()

public OperationCallSettings.Builder<PromoteMigrationJobRequest,MigrationJob,OperationMetadata> promoteMigrationJobOperationSettings()

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

Returns
TypeDescription
Builder<PromoteMigrationJobRequest,MigrationJob,OperationMetadata>

promoteMigrationJobSettings()

public UnaryCallSettings.Builder<PromoteMigrationJobRequest,Operation> promoteMigrationJobSettings()

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

Returns
TypeDescription
Builder<PromoteMigrationJobRequest,Operation>

restartMigrationJobOperationSettings()

public OperationCallSettings.Builder<RestartMigrationJobRequest,MigrationJob,OperationMetadata> restartMigrationJobOperationSettings()

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

Returns
TypeDescription
Builder<RestartMigrationJobRequest,MigrationJob,OperationMetadata>

restartMigrationJobSettings()

public UnaryCallSettings.Builder<RestartMigrationJobRequest,Operation> restartMigrationJobSettings()

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

Returns
TypeDescription
Builder<RestartMigrationJobRequest,Operation>

resumeMigrationJobOperationSettings()

public OperationCallSettings.Builder<ResumeMigrationJobRequest,MigrationJob,OperationMetadata> resumeMigrationJobOperationSettings()

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

Returns
TypeDescription
Builder<ResumeMigrationJobRequest,MigrationJob,OperationMetadata>

resumeMigrationJobSettings()

public UnaryCallSettings.Builder<ResumeMigrationJobRequest,Operation> resumeMigrationJobSettings()

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

Returns
TypeDescription
Builder<ResumeMigrationJobRequest,Operation>

startMigrationJobOperationSettings()

public OperationCallSettings.Builder<StartMigrationJobRequest,MigrationJob,OperationMetadata> startMigrationJobOperationSettings()

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

Returns
TypeDescription
Builder<StartMigrationJobRequest,MigrationJob,OperationMetadata>

startMigrationJobSettings()

public UnaryCallSettings.Builder<StartMigrationJobRequest,Operation> startMigrationJobSettings()

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

Returns
TypeDescription
Builder<StartMigrationJobRequest,Operation>

stopMigrationJobOperationSettings()

public OperationCallSettings.Builder<StopMigrationJobRequest,MigrationJob,OperationMetadata> stopMigrationJobOperationSettings()

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

Returns
TypeDescription
Builder<StopMigrationJobRequest,MigrationJob,OperationMetadata>

stopMigrationJobSettings()

public UnaryCallSettings.Builder<StopMigrationJobRequest,Operation> stopMigrationJobSettings()

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

Returns
TypeDescription
Builder<StopMigrationJobRequest,Operation>

updateConnectionProfileOperationSettings()

public OperationCallSettings.Builder<UpdateConnectionProfileRequest,ConnectionProfile,OperationMetadata> updateConnectionProfileOperationSettings()

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

Returns
TypeDescription
Builder<UpdateConnectionProfileRequest,ConnectionProfile,OperationMetadata>

updateConnectionProfileSettings()

public UnaryCallSettings.Builder<UpdateConnectionProfileRequest,Operation> updateConnectionProfileSettings()

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

Returns
TypeDescription
Builder<UpdateConnectionProfileRequest,Operation>

updateMigrationJobOperationSettings()

public OperationCallSettings.Builder<UpdateMigrationJobRequest,MigrationJob,OperationMetadata> updateMigrationJobOperationSettings()

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

Returns
TypeDescription
Builder<UpdateMigrationJobRequest,MigrationJob,OperationMetadata>

updateMigrationJobSettings()

public UnaryCallSettings.Builder<UpdateMigrationJobRequest,Operation> updateMigrationJobSettings()

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

Returns
TypeDescription
Builder<UpdateMigrationJobRequest,Operation>

verifyMigrationJobOperationSettings()

public OperationCallSettings.Builder<VerifyMigrationJobRequest,MigrationJob,OperationMetadata> verifyMigrationJobOperationSettings()

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

Returns
TypeDescription
Builder<VerifyMigrationJobRequest,MigrationJob,OperationMetadata>

verifyMigrationJobSettings()

public UnaryCallSettings.Builder<VerifyMigrationJobRequest,Operation> verifyMigrationJobSettings()

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

Returns
TypeDescription
Builder<VerifyMigrationJobRequest,Operation>