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