Interface DatabaseMigrationPreference.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DatabaseMigrationPreference.Builder,
,DatabaseMigrationPreference> SdkBuilder<DatabaseMigrationPreference.Builder,
,DatabaseMigrationPreference> SdkPojo
- Enclosing class:
DatabaseMigrationPreference
-
Method Summary
Modifier and TypeMethodDescriptionheterogeneous
(Consumer<Heterogeneous.Builder> heterogeneous) Indicates whether you are interested in moving from one type of database to another.heterogeneous
(Heterogeneous heterogeneous) Indicates whether you are interested in moving from one type of database to another.homogeneous
(Consumer<Homogeneous.Builder> homogeneous) Indicates whether you are interested in moving to the same type of database into AWS.homogeneous
(Homogeneous homogeneous) Indicates whether you are interested in moving to the same type of database into AWS.noPreference
(Consumer<NoDatabaseMigrationPreference.Builder> noPreference) Indicated that you do not prefer heterogeneous or homogeneous.noPreference
(NoDatabaseMigrationPreference noPreference) Indicated that you do not prefer heterogeneous or homogeneous.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
heterogeneous
Indicates whether you are interested in moving from one type of database to another. For example, from SQL Server to Amazon Aurora MySQL-Compatible Edition.
- Parameters:
heterogeneous
- Indicates whether you are interested in moving from one type of database to another. For example, from SQL Server to Amazon Aurora MySQL-Compatible Edition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
heterogeneous
default DatabaseMigrationPreference.Builder heterogeneous(Consumer<Heterogeneous.Builder> heterogeneous) Indicates whether you are interested in moving from one type of database to another. For example, from SQL Server to Amazon Aurora MySQL-Compatible Edition.
This is a convenience method that creates an instance of theHeterogeneous.Builder
avoiding the need to create one manually viaHeterogeneous.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toheterogeneous(Heterogeneous)
.- Parameters:
heterogeneous
- a consumer that will call methods onHeterogeneous.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
homogeneous
Indicates whether you are interested in moving to the same type of database into AWS. For example, from SQL Server in your environment to SQL Server on AWS.
- Parameters:
homogeneous
- Indicates whether you are interested in moving to the same type of database into AWS. For example, from SQL Server in your environment to SQL Server on AWS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
homogeneous
Indicates whether you are interested in moving to the same type of database into AWS. For example, from SQL Server in your environment to SQL Server on AWS.
This is a convenience method that creates an instance of theHomogeneous.Builder
avoiding the need to create one manually viaHomogeneous.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tohomogeneous(Homogeneous)
.- Parameters:
homogeneous
- a consumer that will call methods onHomogeneous.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
noPreference
Indicated that you do not prefer heterogeneous or homogeneous.
- Parameters:
noPreference
- Indicated that you do not prefer heterogeneous or homogeneous.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
noPreference
default DatabaseMigrationPreference.Builder noPreference(Consumer<NoDatabaseMigrationPreference.Builder> noPreference) Indicated that you do not prefer heterogeneous or homogeneous.
This is a convenience method that creates an instance of theNoDatabaseMigrationPreference.Builder
avoiding the need to create one manually viaNoDatabaseMigrationPreference.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonoPreference(NoDatabaseMigrationPreference)
.- Parameters:
noPreference
- a consumer that will call methods onNoDatabaseMigrationPreference.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-