Class DataMigrationServiceSettings.Builder (2.19.0)

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

applyConversionWorkspaceOperationSettings()

public OperationCallSettings.Builder<ApplyConversionWorkspaceRequest,ConversionWorkspace,OperationMetadata> applyConversionWorkspaceOperationSettings()

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

Returns
TypeDescription
Builder<ApplyConversionWorkspaceRequest,ConversionWorkspace,OperationMetadata>

applyConversionWorkspaceSettings()

public UnaryCallSettings.Builder<ApplyConversionWorkspaceRequest,Operation> applyConversionWorkspaceSettings()

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

Returns
TypeDescription
Builder<ApplyConversionWorkspaceRequest,Operation>

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

commitConversionWorkspaceOperationSettings()

public OperationCallSettings.Builder<CommitConversionWorkspaceRequest,ConversionWorkspace,OperationMetadata> commitConversionWorkspaceOperationSettings()

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

Returns
TypeDescription
Builder<CommitConversionWorkspaceRequest,ConversionWorkspace,OperationMetadata>

commitConversionWorkspaceSettings()

public UnaryCallSettings.Builder<CommitConversionWorkspaceRequest,Operation> commitConversionWorkspaceSettings()

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

Returns
TypeDescription
Builder<CommitConversionWorkspaceRequest,Operation>

convertConversionWorkspaceOperationSettings()

public OperationCallSettings.Builder<ConvertConversionWorkspaceRequest,ConversionWorkspace,OperationMetadata> convertConversionWorkspaceOperationSettings()

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

Returns
TypeDescription
Builder<ConvertConversionWorkspaceRequest,ConversionWorkspace,OperationMetadata>

convertConversionWorkspaceSettings()

public UnaryCallSettings.Builder<ConvertConversionWorkspaceRequest,Operation> convertConversionWorkspaceSettings()

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

Returns
TypeDescription
Builder<ConvertConversionWorkspaceRequest,Operation>

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>

createConversionWorkspaceOperationSettings()

public OperationCallSettings.Builder<CreateConversionWorkspaceRequest,ConversionWorkspace,OperationMetadata> createConversionWorkspaceOperationSettings()

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

Returns
TypeDescription
Builder<CreateConversionWorkspaceRequest,ConversionWorkspace,OperationMetadata>

createConversionWorkspaceSettings()

public UnaryCallSettings.Builder<CreateConversionWorkspaceRequest,Operation> createConversionWorkspaceSettings()

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

Returns
TypeDescription
Builder<CreateConversionWorkspaceRequest,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>

createPrivateConnectionOperationSettings()

public OperationCallSettings.Builder<CreatePrivateConnectionRequest,PrivateConnection,OperationMetadata> createPrivateConnectionOperationSettings()

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

Returns
TypeDescription
Builder<CreatePrivateConnectionRequest,PrivateConnection,OperationMetadata>

createPrivateConnectionSettings()

public UnaryCallSettings.Builder<CreatePrivateConnectionRequest,Operation> createPrivateConnectionSettings()

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

Returns
TypeDescription
Builder<CreatePrivateConnectionRequest,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>

deleteConversionWorkspaceOperationSettings()

public OperationCallSettings.Builder<DeleteConversionWorkspaceRequest,Empty,OperationMetadata> deleteConversionWorkspaceOperationSettings()

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

Returns
TypeDescription
Builder<DeleteConversionWorkspaceRequest,Empty,OperationMetadata>

deleteConversionWorkspaceSettings()

public UnaryCallSettings.Builder<DeleteConversionWorkspaceRequest,Operation> deleteConversionWorkspaceSettings()

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

Returns
TypeDescription
Builder<DeleteConversionWorkspaceRequest,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>

deletePrivateConnectionOperationSettings()

public OperationCallSettings.Builder<DeletePrivateConnectionRequest,Empty,OperationMetadata> deletePrivateConnectionOperationSettings()

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

Returns
TypeDescription
Builder<DeletePrivateConnectionRequest,Empty,OperationMetadata>

deletePrivateConnectionSettings()

public UnaryCallSettings.Builder<DeletePrivateConnectionRequest,Operation> deletePrivateConnectionSettings()

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

Returns
TypeDescription
Builder<DeletePrivateConnectionRequest,Operation>

describeConversionWorkspaceRevisionsSettings()

public UnaryCallSettings.Builder<DescribeConversionWorkspaceRevisionsRequest,DescribeConversionWorkspaceRevisionsResponse> describeConversionWorkspaceRevisionsSettings()

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

Returns
TypeDescription
Builder<DescribeConversionWorkspaceRevisionsRequest,DescribeConversionWorkspaceRevisionsResponse>

describeDatabaseEntitiesSettings()

public PagedCallSettings.Builder<DescribeDatabaseEntitiesRequest,DescribeDatabaseEntitiesResponse,DataMigrationServiceClient.DescribeDatabaseEntitiesPagedResponse> describeDatabaseEntitiesSettings()

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

Returns
TypeDescription
Builder<DescribeDatabaseEntitiesRequest,DescribeDatabaseEntitiesResponse,DescribeDatabaseEntitiesPagedResponse>

fetchStaticIpsSettings()

public PagedCallSettings.Builder<FetchStaticIpsRequest,FetchStaticIpsResponse,DataMigrationServiceClient.FetchStaticIpsPagedResponse> fetchStaticIpsSettings()

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

Returns
TypeDescription
Builder<FetchStaticIpsRequest,FetchStaticIpsResponse,FetchStaticIpsPagedResponse>

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>

getConversionWorkspaceSettings()

public UnaryCallSettings.Builder<GetConversionWorkspaceRequest,ConversionWorkspace> getConversionWorkspaceSettings()

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

Returns
TypeDescription
Builder<GetConversionWorkspaceRequest,ConversionWorkspace>

getMigrationJobSettings()

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

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

Returns
TypeDescription
Builder<GetMigrationJobRequest,MigrationJob>

getPrivateConnectionSettings()

public UnaryCallSettings.Builder<GetPrivateConnectionRequest,PrivateConnection> getPrivateConnectionSettings()

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

Returns
TypeDescription
Builder<GetPrivateConnectionRequest,PrivateConnection>

getStubSettingsBuilder()

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

importMappingRulesOperationSettings()

public OperationCallSettings.Builder<ImportMappingRulesRequest,ConversionWorkspace,OperationMetadata> importMappingRulesOperationSettings()

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

Returns
TypeDescription
Builder<ImportMappingRulesRequest,ConversionWorkspace,OperationMetadata>

importMappingRulesSettings()

public UnaryCallSettings.Builder<ImportMappingRulesRequest,Operation> importMappingRulesSettings()

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

Returns
TypeDescription
Builder<ImportMappingRulesRequest,Operation>

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>

listConversionWorkspacesSettings()

public PagedCallSettings.Builder<ListConversionWorkspacesRequest,ListConversionWorkspacesResponse,DataMigrationServiceClient.ListConversionWorkspacesPagedResponse> listConversionWorkspacesSettings()

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

Returns
TypeDescription
Builder<ListConversionWorkspacesRequest,ListConversionWorkspacesResponse,ListConversionWorkspacesPagedResponse>

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>

listPrivateConnectionsSettings()

public PagedCallSettings.Builder<ListPrivateConnectionsRequest,ListPrivateConnectionsResponse,DataMigrationServiceClient.ListPrivateConnectionsPagedResponse> listPrivateConnectionsSettings()

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

Returns
TypeDescription
Builder<ListPrivateConnectionsRequest,ListPrivateConnectionsResponse,ListPrivateConnectionsPagedResponse>

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>

rollbackConversionWorkspaceOperationSettings()

public OperationCallSettings.Builder<RollbackConversionWorkspaceRequest,ConversionWorkspace,OperationMetadata> rollbackConversionWorkspaceOperationSettings()

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

Returns
TypeDescription
Builder<RollbackConversionWorkspaceRequest,ConversionWorkspace,OperationMetadata>

rollbackConversionWorkspaceSettings()

public UnaryCallSettings.Builder<RollbackConversionWorkspaceRequest,Operation> rollbackConversionWorkspaceSettings()

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

Returns
TypeDescription
Builder<RollbackConversionWorkspaceRequest,Operation>

searchBackgroundJobsSettings()

public UnaryCallSettings.Builder<SearchBackgroundJobsRequest,SearchBackgroundJobsResponse> searchBackgroundJobsSettings()

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

Returns
TypeDescription
Builder<SearchBackgroundJobsRequest,SearchBackgroundJobsResponse>

seedConversionWorkspaceOperationSettings()

public OperationCallSettings.Builder<SeedConversionWorkspaceRequest,ConversionWorkspace,OperationMetadata> seedConversionWorkspaceOperationSettings()

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

Returns
TypeDescription
Builder<SeedConversionWorkspaceRequest,ConversionWorkspace,OperationMetadata>

seedConversionWorkspaceSettings()

public UnaryCallSettings.Builder<SeedConversionWorkspaceRequest,Operation> seedConversionWorkspaceSettings()

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

Returns
TypeDescription
Builder<SeedConversionWorkspaceRequest,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>

updateConversionWorkspaceOperationSettings()

public OperationCallSettings.Builder<UpdateConversionWorkspaceRequest,ConversionWorkspace,OperationMetadata> updateConversionWorkspaceOperationSettings()

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

Returns
TypeDescription
Builder<UpdateConversionWorkspaceRequest,ConversionWorkspace,OperationMetadata>

updateConversionWorkspaceSettings()

public UnaryCallSettings.Builder<UpdateConversionWorkspaceRequest,Operation> updateConversionWorkspaceSettings()

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

Returns
TypeDescription
Builder<UpdateConversionWorkspaceRequest,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>