Class: Aws::MigrationHubStrategyRecommendations::Types::DatabaseMigrationPreference

Inherits:
Struct
  • Object
show all
Includes:
Structure, Structure::Union
Defined in:
lib/aws-sdk-migrationhubstrategyrecommendations/types.rb

Overview

Note:

DatabaseMigrationPreference is a union - when making an API calls you must set exactly one of the members.

Note:

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

Heterogeneous, Homogeneous, NoPreference, Unknown

Defined Under Namespace

Classes: Heterogeneous, Homogeneous, NoPreference, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#heterogeneousTypes::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

#homogeneousTypes::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:



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_preferenceTypes::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

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



729
730
731
# File 'lib/aws-sdk-migrationhubstrategyrecommendations/types.rb', line 729

def unknown
  @unknown
end