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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-migrationhubstrategyrecommendations/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.



607
608
609
610
611
612
613
614
615
616
617
618
619
620
# File 'gems/aws-sdk-migrationhubstrategyrecommendations/lib/aws-sdk-migrationhubstrategyrecommendations/types.rb', line 607

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:



607
608
609
610
611
612
613
614
615
616
617
618
619
620
# File 'gems/aws-sdk-migrationhubstrategyrecommendations/lib/aws-sdk-migrationhubstrategyrecommendations/types.rb', line 607

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.



607
608
609
610
611
612
613
614
615
616
617
618
619
620
# File 'gems/aws-sdk-migrationhubstrategyrecommendations/lib/aws-sdk-migrationhubstrategyrecommendations/types.rb', line 607

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



607
608
609
# File 'gems/aws-sdk-migrationhubstrategyrecommendations/lib/aws-sdk-migrationhubstrategyrecommendations/types.rb', line 607

def unknown
  @unknown
end