Class: Aws::MigrationHubStrategyRecommendations::Types::DatabaseMigrationPreference
- Inherits:
-
Struct
- Object
- Struct
- Aws::MigrationHubStrategyRecommendations::Types::DatabaseMigrationPreference
- Includes:
- Structure, Structure::Union
- Defined in:
- lib/aws-sdk-migrationhubstrategyrecommendations/types.rb
Overview
DatabaseMigrationPreference is a union - when making an API calls you must set exactly one of the members.
DatabaseMigrationPreference is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of DatabaseMigrationPreference corresponding to the set member.
Preferences for migrating a database to AWS.
Direct Known Subclasses
Defined Under Namespace
Classes: Heterogeneous, Homogeneous, NoPreference, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#heterogeneous ⇒ Types::Heterogeneous
Indicates whether you are interested in moving from one type of database to another.
-
#homogeneous ⇒ Types::Homogeneous
Indicates whether you are interested in moving to the same type of database into AWS.
-
#no_preference ⇒ Types::NoDatabaseMigrationPreference
Indicated that you do not prefer heterogeneous or homogeneous.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#heterogeneous ⇒ Types::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.
729 730 731 732 733 734 735 736 737 738 739 740 741 742 |
# File 'lib/aws-sdk-migrationhubstrategyrecommendations/types.rb', line 729 class DatabaseMigrationPreference < Struct.new( :heterogeneous, :homogeneous, :no_preference, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Heterogeneous < DatabaseMigrationPreference; end class Homogeneous < DatabaseMigrationPreference; end class NoPreference < DatabaseMigrationPreference; end class Unknown < DatabaseMigrationPreference; end end |
#homogeneous ⇒ Types::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.
729 730 731 732 733 734 735 736 737 738 739 740 741 742 |
# File 'lib/aws-sdk-migrationhubstrategyrecommendations/types.rb', line 729 class DatabaseMigrationPreference < Struct.new( :heterogeneous, :homogeneous, :no_preference, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Heterogeneous < DatabaseMigrationPreference; end class Homogeneous < DatabaseMigrationPreference; end class NoPreference < DatabaseMigrationPreference; end class Unknown < DatabaseMigrationPreference; end end |
#no_preference ⇒ Types::NoDatabaseMigrationPreference
Indicated that you do not prefer heterogeneous or homogeneous.
729 730 731 732 733 734 735 736 737 738 739 740 741 742 |
# File 'lib/aws-sdk-migrationhubstrategyrecommendations/types.rb', line 729 class DatabaseMigrationPreference < Struct.new( :heterogeneous, :homogeneous, :no_preference, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Heterogeneous < DatabaseMigrationPreference; end class Homogeneous < DatabaseMigrationPreference; end class NoPreference < DatabaseMigrationPreference; end class Unknown < DatabaseMigrationPreference; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
729 730 731 |
# File 'lib/aws-sdk-migrationhubstrategyrecommendations/types.rb', line 729 def unknown @unknown end |