public static class DataMigrationServiceSettings.Builder extends ClientSettings.Builder<DataMigrationServiceSettings,DataMigrationServiceSettings.Builder>
Builder for DataMigrationServiceSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Builder(DataMigrationServiceSettings settings)
protected Builder(DataMigrationServiceSettings settings)
Builder(DataMigrationServiceStubSettings.Builder stubSettings)
protected Builder(DataMigrationServiceStubSettings.Builder stubSettings)
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.
build()
public DataMigrationServiceSettings build()
Overrides
createConnectionProfileOperationSettings()
public OperationCallSettings.Builder<CreateConnectionProfileRequest,ConnectionProfile,OperationMetadata> createConnectionProfileOperationSettings()
Returns the builder for the settings used for calls to createConnectionProfile.
createConnectionProfileSettings()
public UnaryCallSettings.Builder<CreateConnectionProfileRequest,Operation> createConnectionProfileSettings()
Returns the builder for the settings used for calls to createConnectionProfile.
createMigrationJobOperationSettings()
public OperationCallSettings.Builder<CreateMigrationJobRequest,MigrationJob,OperationMetadata> createMigrationJobOperationSettings()
Returns the builder for the settings used for calls to createMigrationJob.
createMigrationJobSettings()
public UnaryCallSettings.Builder<CreateMigrationJobRequest,Operation> createMigrationJobSettings()
Returns the builder for the settings used for calls to createMigrationJob.
deleteConnectionProfileOperationSettings()
public OperationCallSettings.Builder<DeleteConnectionProfileRequest,Empty,OperationMetadata> deleteConnectionProfileOperationSettings()
Returns the builder for the settings used for calls to deleteConnectionProfile.
deleteConnectionProfileSettings()
public UnaryCallSettings.Builder<DeleteConnectionProfileRequest,Operation> deleteConnectionProfileSettings()
Returns the builder for the settings used for calls to deleteConnectionProfile.
deleteMigrationJobOperationSettings()
public OperationCallSettings.Builder<DeleteMigrationJobRequest,Empty,OperationMetadata> deleteMigrationJobOperationSettings()
Returns the builder for the settings used for calls to deleteMigrationJob.
deleteMigrationJobSettings()
public UnaryCallSettings.Builder<DeleteMigrationJobRequest,Operation> deleteMigrationJobSettings()
Returns the builder for the settings used for calls to deleteMigrationJob.
generateSshScriptSettings()
public UnaryCallSettings.Builder<GenerateSshScriptRequest,SshScript> generateSshScriptSettings()
Returns the builder for the settings used for calls to generateSshScript.
getConnectionProfileSettings()
public UnaryCallSettings.Builder<GetConnectionProfileRequest,ConnectionProfile> getConnectionProfileSettings()
Returns the builder for the settings used for calls to getConnectionProfile.
getMigrationJobSettings()
public UnaryCallSettings.Builder<GetMigrationJobRequest,MigrationJob> getMigrationJobSettings()
Returns the builder for the settings used for calls to getMigrationJob.
getStubSettingsBuilder()
public DataMigrationServiceStubSettings.Builder getStubSettingsBuilder()
listConnectionProfilesSettings()
public PagedCallSettings.Builder<ListConnectionProfilesRequest,ListConnectionProfilesResponse,DataMigrationServiceClient.ListConnectionProfilesPagedResponse> listConnectionProfilesSettings()
Returns the builder for the settings used for calls to listConnectionProfiles.
listMigrationJobsSettings()
public PagedCallSettings.Builder<ListMigrationJobsRequest,ListMigrationJobsResponse,DataMigrationServiceClient.ListMigrationJobsPagedResponse> listMigrationJobsSettings()
Returns the builder for the settings used for calls to listMigrationJobs.
public OperationCallSettings.Builder<PromoteMigrationJobRequest,MigrationJob,OperationMetadata> promoteMigrationJobOperationSettings()
Returns the builder for the settings used for calls to promoteMigrationJob.
public UnaryCallSettings.Builder<PromoteMigrationJobRequest,Operation> promoteMigrationJobSettings()
Returns the builder for the settings used for calls to promoteMigrationJob.
restartMigrationJobOperationSettings()
public OperationCallSettings.Builder<RestartMigrationJobRequest,MigrationJob,OperationMetadata> restartMigrationJobOperationSettings()
Returns the builder for the settings used for calls to restartMigrationJob.
restartMigrationJobSettings()
public UnaryCallSettings.Builder<RestartMigrationJobRequest,Operation> restartMigrationJobSettings()
Returns the builder for the settings used for calls to restartMigrationJob.
resumeMigrationJobOperationSettings()
public OperationCallSettings.Builder<ResumeMigrationJobRequest,MigrationJob,OperationMetadata> resumeMigrationJobOperationSettings()
Returns the builder for the settings used for calls to resumeMigrationJob.
resumeMigrationJobSettings()
public UnaryCallSettings.Builder<ResumeMigrationJobRequest,Operation> resumeMigrationJobSettings()
Returns the builder for the settings used for calls to resumeMigrationJob.
startMigrationJobOperationSettings()
public OperationCallSettings.Builder<StartMigrationJobRequest,MigrationJob,OperationMetadata> startMigrationJobOperationSettings()
Returns the builder for the settings used for calls to startMigrationJob.
startMigrationJobSettings()
public UnaryCallSettings.Builder<StartMigrationJobRequest,Operation> startMigrationJobSettings()
Returns the builder for the settings used for calls to startMigrationJob.
stopMigrationJobOperationSettings()
public OperationCallSettings.Builder<StopMigrationJobRequest,MigrationJob,OperationMetadata> stopMigrationJobOperationSettings()
Returns the builder for the settings used for calls to stopMigrationJob.
stopMigrationJobSettings()
public UnaryCallSettings.Builder<StopMigrationJobRequest,Operation> stopMigrationJobSettings()
Returns the builder for the settings used for calls to stopMigrationJob.
updateConnectionProfileOperationSettings()
public OperationCallSettings.Builder<UpdateConnectionProfileRequest,ConnectionProfile,OperationMetadata> updateConnectionProfileOperationSettings()
Returns the builder for the settings used for calls to updateConnectionProfile.
updateConnectionProfileSettings()
public UnaryCallSettings.Builder<UpdateConnectionProfileRequest,Operation> updateConnectionProfileSettings()
Returns the builder for the settings used for calls to updateConnectionProfile.
updateMigrationJobOperationSettings()
public OperationCallSettings.Builder<UpdateMigrationJobRequest,MigrationJob,OperationMetadata> updateMigrationJobOperationSettings()
Returns the builder for the settings used for calls to updateMigrationJob.
updateMigrationJobSettings()
public UnaryCallSettings.Builder<UpdateMigrationJobRequest,Operation> updateMigrationJobSettings()
Returns the builder for the settings used for calls to updateMigrationJob.
verifyMigrationJobOperationSettings()
public OperationCallSettings.Builder<VerifyMigrationJobRequest,MigrationJob,OperationMetadata> verifyMigrationJobOperationSettings()
Returns the builder for the settings used for calls to verifyMigrationJob.
verifyMigrationJobSettings()
public UnaryCallSettings.Builder<VerifyMigrationJobRequest,Operation> verifyMigrationJobSettings()
Returns the builder for the settings used for calls to verifyMigrationJob.