@Generated(value="software.amazon.awssdk:codegen") public final class DatabaseMigrationPreference extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DatabaseMigrationPreference.Builder,DatabaseMigrationPreference>
Preferences for migrating a database to AWS.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DatabaseMigrationPreference.Builder |
static class |
DatabaseMigrationPreference.Type |
| Modifier and Type | Method and Description |
|---|---|
static DatabaseMigrationPreference.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
static DatabaseMigrationPreference |
fromHeterogeneous(Consumer<Heterogeneous.Builder> heterogeneous)
Create an instance of this class with
heterogeneous() initialized to the given value. |
static DatabaseMigrationPreference |
fromHeterogeneous(Heterogeneous heterogeneous)
Create an instance of this class with
heterogeneous() initialized to the given value. |
static DatabaseMigrationPreference |
fromHomogeneous(Consumer<Homogeneous.Builder> homogeneous)
Create an instance of this class with
homogeneous() initialized to the given value. |
static DatabaseMigrationPreference |
fromHomogeneous(Homogeneous homogeneous)
Create an instance of this class with
homogeneous() initialized to the given value. |
static DatabaseMigrationPreference |
fromNoPreference(Consumer<NoDatabaseMigrationPreference.Builder> noPreference)
Create an instance of this class with
noPreference() initialized to the given value. |
static DatabaseMigrationPreference |
fromNoPreference(NoDatabaseMigrationPreference noPreference)
Create an instance of this class with
noPreference() initialized to the given value. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Heterogeneous |
heterogeneous()
Indicates whether you are interested in moving from one type of database to another.
|
Homogeneous |
homogeneous()
Indicates whether you are interested in moving to the same type of database into AWS.
|
NoDatabaseMigrationPreference |
noPreference()
Indicated that you do not prefer heterogeneous or homogeneous.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DatabaseMigrationPreference.Builder> |
serializableBuilderClass() |
DatabaseMigrationPreference.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
DatabaseMigrationPreference.Type |
type()
Retrieve an enum value representing which member of this object is populated.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Heterogeneous 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.
public final Homogeneous 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.
public final NoDatabaseMigrationPreference noPreference()
Indicated that you do not prefer heterogeneous or homogeneous.
public DatabaseMigrationPreference.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DatabaseMigrationPreference.Builder,DatabaseMigrationPreference>public static DatabaseMigrationPreference.Builder builder()
public static Class<? extends DatabaseMigrationPreference.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public static DatabaseMigrationPreference fromHeterogeneous(Heterogeneous heterogeneous)
heterogeneous() initialized to the given value.
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.
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.public static DatabaseMigrationPreference fromHeterogeneous(Consumer<Heterogeneous.Builder> heterogeneous)
heterogeneous() initialized to the given value.
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.
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.public static DatabaseMigrationPreference fromHomogeneous(Homogeneous homogeneous)
homogeneous() initialized to the given value.
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.
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.public static DatabaseMigrationPreference fromHomogeneous(Consumer<Homogeneous.Builder> homogeneous)
homogeneous() initialized to the given value.
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.
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.public static DatabaseMigrationPreference fromNoPreference(NoDatabaseMigrationPreference noPreference)
noPreference() initialized to the given value.
Indicated that you do not prefer heterogeneous or homogeneous.
noPreference - Indicated that you do not prefer heterogeneous or homogeneous.public static DatabaseMigrationPreference fromNoPreference(Consumer<NoDatabaseMigrationPreference.Builder> noPreference)
noPreference() initialized to the given value.
Indicated that you do not prefer heterogeneous or homogeneous.
noPreference - Indicated that you do not prefer heterogeneous or homogeneous.public DatabaseMigrationPreference.Type type()
DatabaseMigrationPreference.Type.UNKNOWN_TO_SDK_VERSION if the
service returned a member that is only known to a newer SDK version.
When this class is created directly in your code, this will be DatabaseMigrationPreference.Type.UNKNOWN_TO_SDK_VERSION if zero
members are set, and null if more than one member is set.Copyright © 2023. All rights reserved.