Class DatabaseMigrationPreference

    • Method Detail

      • heterogeneous

        public 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.

        Returns:
        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.
      • homogeneous

        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.

        Returns:
        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.
      • noPreference

        public final NoDatabaseMigrationPreference noPreference()

        Indicated that you do not prefer heterogeneous or homogeneous.

        Returns:
        Indicated that you do not prefer heterogeneous or homogeneous.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)
      • fromHeterogeneous

        public static DatabaseMigrationPreference fromHeterogeneous​(Heterogeneous heterogeneous)
        Create an instance of this class with 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.

        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.
      • fromHeterogeneous

        public static DatabaseMigrationPreference fromHeterogeneous​(Consumer<Heterogeneous.Builder> heterogeneous)
        Create an instance of this class with 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.

        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.
      • fromHomogeneous

        public static DatabaseMigrationPreference fromHomogeneous​(Homogeneous homogeneous)
        Create an instance of this class with 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.

        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.
      • fromHomogeneous

        public static DatabaseMigrationPreference fromHomogeneous​(Consumer<Homogeneous.Builder> homogeneous)
        Create an instance of this class with 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.

        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.
      • fromNoPreference

        public static DatabaseMigrationPreference fromNoPreference​(NoDatabaseMigrationPreference noPreference)
        Create an instance of this class with noPreference() initialized to the given value.

        Indicated that you do not prefer heterogeneous or homogeneous.

        Parameters:
        noPreference - Indicated that you do not prefer heterogeneous or homogeneous.