Class DataMigrationServiceSettings.Builder (2.47.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
Name Description
clientContext ClientContext

Builder(DataMigrationServiceSettings settings)

protected Builder(DataMigrationServiceSettings settings)
Parameter
Name Description
settings DataMigrationServiceSettings

Builder(DataMigrationServiceStubSettings.Builder stubSettings)

protected Builder(DataMigrationServiceStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings DataMigrationServiceStubSettings.Builder

Methods

applyConversionWorkspaceOperationSettings()

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

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

Returns
Type Description
Builder<ApplyConversionWorkspaceRequest,ConversionWorkspace,OperationMetadata>

applyConversionWorkspaceSettings()

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

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

Returns
Type Description
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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
DataMigrationServiceSettings.Builder

build()

public DataMigrationServiceSettings build()
Returns
Type Description
DataMigrationServiceSettings
Overrides
Exceptions
Type Description
IOException

commitConversionWorkspaceOperationSettings()

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

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

Returns
Type Description
Builder<CommitConversionWorkspaceRequest,ConversionWorkspace,OperationMetadata>

commitConversionWorkspaceSettings()

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

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

Returns
Type Description
Builder<CommitConversionWorkspaceRequest,Operation>

convertConversionWorkspaceOperationSettings()

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

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

Returns
Type Description
Builder<ConvertConversionWorkspaceRequest,ConversionWorkspace,OperationMetadata>

convertConversionWorkspaceSettings()

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

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

Returns
Type Description
Builder<ConvertConversionWorkspaceRequest,Operation>

createConnectionProfileOperationSettings()

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

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

Returns
Type Description
Builder<CreateConnectionProfileRequest,ConnectionProfile,OperationMetadata>

createConnectionProfileSettings()

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

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

Returns
Type Description
Builder<CreateConnectionProfileRequest,Operation>

createConversionWorkspaceOperationSettings()

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

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

Returns
Type Description
Builder<CreateConversionWorkspaceRequest,ConversionWorkspace,OperationMetadata>

createConversionWorkspaceSettings()

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

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

Returns
Type Description
Builder<CreateConversionWorkspaceRequest,Operation>

createMappingRuleSettings()

public UnaryCallSettings.Builder<CreateMappingRuleRequest,MappingRule> createMappingRuleSettings()

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

Returns
Type Description
Builder<CreateMappingRuleRequest,MappingRule>

createMigrationJobOperationSettings()

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

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

Returns
Type Description
Builder<CreateMigrationJobRequest,MigrationJob,OperationMetadata>

createMigrationJobSettings()

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

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

Returns
Type Description
Builder<CreateMigrationJobRequest,Operation>

createPrivateConnectionOperationSettings()

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

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

Returns
Type Description
Builder<CreatePrivateConnectionRequest,PrivateConnection,OperationMetadata>

createPrivateConnectionSettings()

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

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

Returns
Type Description
Builder<CreatePrivateConnectionRequest,Operation>

deleteConnectionProfileOperationSettings()

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

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

Returns
Type Description
Builder<DeleteConnectionProfileRequest,Empty,OperationMetadata>

deleteConnectionProfileSettings()

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

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

Returns
Type Description
Builder<DeleteConnectionProfileRequest,Operation>

deleteConversionWorkspaceOperationSettings()

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

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

Returns
Type Description
Builder<DeleteConversionWorkspaceRequest,Empty,OperationMetadata>

deleteConversionWorkspaceSettings()

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

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

Returns
Type Description
Builder<DeleteConversionWorkspaceRequest,Operation>

deleteMappingRuleSettings()

public UnaryCallSettings.Builder<DeleteMappingRuleRequest,Empty> deleteMappingRuleSettings()

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

Returns
Type Description
Builder<DeleteMappingRuleRequest,Empty>

deleteMigrationJobOperationSettings()

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

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

Returns
Type Description
Builder<DeleteMigrationJobRequest,Empty,OperationMetadata>

deleteMigrationJobSettings()

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

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

Returns
Type Description
Builder<DeleteMigrationJobRequest,Operation>

deletePrivateConnectionOperationSettings()

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

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

Returns
Type Description
Builder<DeletePrivateConnectionRequest,Empty,OperationMetadata>

deletePrivateConnectionSettings()

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

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

Returns
Type Description
Builder<DeletePrivateConnectionRequest,Operation>

describeConversionWorkspaceRevisionsSettings()

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

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

Returns
Type Description
Builder<DescribeConversionWorkspaceRevisionsRequest,DescribeConversionWorkspaceRevisionsResponse>

describeDatabaseEntitiesSettings()

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

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

Returns
Type Description
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
Type Description
Builder<FetchStaticIpsRequest,FetchStaticIpsResponse,FetchStaticIpsPagedResponse>

generateSshScriptSettings()

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

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

Returns
Type Description
Builder<GenerateSshScriptRequest,SshScript>

generateTcpProxyScriptSettings()

public UnaryCallSettings.Builder<GenerateTcpProxyScriptRequest,TcpProxyScript> generateTcpProxyScriptSettings()

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

Returns
Type Description
Builder<GenerateTcpProxyScriptRequest,TcpProxyScript>

getConnectionProfileSettings()

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

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

Returns
Type Description
Builder<GetConnectionProfileRequest,ConnectionProfile>

getConversionWorkspaceSettings()

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

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

Returns
Type Description
Builder<GetConversionWorkspaceRequest,ConversionWorkspace>

getMappingRuleSettings()

public UnaryCallSettings.Builder<GetMappingRuleRequest,MappingRule> getMappingRuleSettings()

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

Returns
Type Description
Builder<GetMappingRuleRequest,MappingRule>

getMigrationJobSettings()

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

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

Returns
Type Description
Builder<GetMigrationJobRequest,MigrationJob>

getPrivateConnectionSettings()

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

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

Returns
Type Description
Builder<GetPrivateConnectionRequest,PrivateConnection>

getStubSettingsBuilder()

public DataMigrationServiceStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
DataMigrationServiceStubSettings.Builder

importMappingRulesOperationSettings()

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

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

Returns
Type Description
Builder<ImportMappingRulesRequest,ConversionWorkspace,OperationMetadata>

importMappingRulesSettings()

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

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

Returns
Type Description
Builder<ImportMappingRulesRequest,Operation>

listConnectionProfilesSettings()

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

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

Returns
Type Description
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
Type Description
Builder<ListConversionWorkspacesRequest,ListConversionWorkspacesResponse,ListConversionWorkspacesPagedResponse>

listMappingRulesSettings()

public PagedCallSettings.Builder<ListMappingRulesRequest,ListMappingRulesResponse,DataMigrationServiceClient.ListMappingRulesPagedResponse> listMappingRulesSettings()

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

Returns
Type Description
Builder<ListMappingRulesRequest,ListMappingRulesResponse,ListMappingRulesPagedResponse>

listMigrationJobsSettings()

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

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

Returns
Type Description
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
Type Description
Builder<ListPrivateConnectionsRequest,ListPrivateConnectionsResponse,ListPrivateConnectionsPagedResponse>

promoteMigrationJobOperationSettings()

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

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

Returns
Type Description
Builder<PromoteMigrationJobRequest,MigrationJob,OperationMetadata>

promoteMigrationJobSettings()

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

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

Returns
Type Description
Builder<PromoteMigrationJobRequest,Operation>

restartMigrationJobOperationSettings()

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

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

Returns
Type Description
Builder<RestartMigrationJobRequest,MigrationJob,OperationMetadata>

restartMigrationJobSettings()

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

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

Returns
Type Description
Builder<RestartMigrationJobRequest,Operation>

resumeMigrationJobOperationSettings()

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

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

Returns
Type Description
Builder<ResumeMigrationJobRequest,MigrationJob,OperationMetadata>

resumeMigrationJobSettings()

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

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

Returns
Type Description
Builder<ResumeMigrationJobRequest,Operation>

rollbackConversionWorkspaceOperationSettings()

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

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

Returns
Type Description
Builder<RollbackConversionWorkspaceRequest,ConversionWorkspace,OperationMetadata>

rollbackConversionWorkspaceSettings()

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

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

Returns
Type Description
Builder<RollbackConversionWorkspaceRequest,Operation>

searchBackgroundJobsSettings()

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

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

Returns
Type Description
Builder<SearchBackgroundJobsRequest,SearchBackgroundJobsResponse>

seedConversionWorkspaceOperationSettings()

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

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

Returns
Type Description
Builder<SeedConversionWorkspaceRequest,ConversionWorkspace,OperationMetadata>

seedConversionWorkspaceSettings()

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

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

Returns
Type Description
Builder<SeedConversionWorkspaceRequest,Operation>

startMigrationJobOperationSettings()

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

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

Returns
Type Description
Builder<StartMigrationJobRequest,MigrationJob,OperationMetadata>

startMigrationJobSettings()

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

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

Returns
Type Description
Builder<StartMigrationJobRequest,Operation>

stopMigrationJobOperationSettings()

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

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

Returns
Type Description
Builder<StopMigrationJobRequest,MigrationJob,OperationMetadata>

stopMigrationJobSettings()

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

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

Returns
Type Description
Builder<StopMigrationJobRequest,Operation>

updateConnectionProfileOperationSettings()

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

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

Returns
Type Description
Builder<UpdateConnectionProfileRequest,ConnectionProfile,OperationMetadata>

updateConnectionProfileSettings()

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

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

Returns
Type Description
Builder<UpdateConnectionProfileRequest,Operation>

updateConversionWorkspaceOperationSettings()

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

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

Returns
Type Description
Builder<UpdateConversionWorkspaceRequest,ConversionWorkspace,OperationMetadata>

updateConversionWorkspaceSettings()

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

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

Returns
Type Description
Builder<UpdateConversionWorkspaceRequest,Operation>

updateMigrationJobOperationSettings()

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

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

Returns
Type Description
Builder<UpdateMigrationJobRequest,MigrationJob,OperationMetadata>

updateMigrationJobSettings()

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

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

Returns
Type Description
Builder<UpdateMigrationJobRequest,Operation>

verifyMigrationJobOperationSettings()

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

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

Returns
Type Description
Builder<VerifyMigrationJobRequest,MigrationJob,OperationMetadata>

verifyMigrationJobSettings()

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

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

Returns
Type Description
Builder<VerifyMigrationJobRequest,Operation>