Class DataProviderSettings

java.lang.Object
software.amazon.awssdk.services.databasemigration.model.DataProviderSettings
All Implemented Interfaces:
Serializable, SdkPojo, ToCopyableBuilder<DataProviderSettings.Builder,DataProviderSettings>

@Generated("software.amazon.awssdk:codegen") public final class DataProviderSettings extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DataProviderSettings.Builder,DataProviderSettings>

Provides information that defines a data provider.

See Also:
  • Method Details

    • redshiftSettings

      public final RedshiftDataProviderSettings redshiftSettings()
      Returns the value of the RedshiftSettings property for this object.
      Returns:
      The value of the RedshiftSettings property for this object.
    • postgreSqlSettings

      public final PostgreSqlDataProviderSettings postgreSqlSettings()
      Returns the value of the PostgreSqlSettings property for this object.
      Returns:
      The value of the PostgreSqlSettings property for this object.
    • mySqlSettings

      public final MySqlDataProviderSettings mySqlSettings()
      Returns the value of the MySqlSettings property for this object.
      Returns:
      The value of the MySqlSettings property for this object.
    • oracleSettings

      public final OracleDataProviderSettings oracleSettings()
      Returns the value of the OracleSettings property for this object.
      Returns:
      The value of the OracleSettings property for this object.
    • microsoftSqlServerSettings

      public final MicrosoftSqlServerDataProviderSettings microsoftSqlServerSettings()
      Returns the value of the MicrosoftSqlServerSettings property for this object.
      Returns:
      The value of the MicrosoftSqlServerSettings property for this object.
    • docDbSettings

      public final DocDbDataProviderSettings docDbSettings()
      Returns the value of the DocDbSettings property for this object.
      Returns:
      The value of the DocDbSettings property for this object.
    • mariaDbSettings

      public final MariaDbDataProviderSettings mariaDbSettings()

      Provides information that defines a MariaDB data provider.

      Returns:
      Provides information that defines a MariaDB data provider.
    • ibmDb2LuwSettings

      public final IbmDb2LuwDataProviderSettings ibmDb2LuwSettings()

      Provides information that defines an IBM DB2 LUW data provider.

      Returns:
      Provides information that defines an IBM DB2 LUW data provider.
    • ibmDb2zOsSettings

      public final IbmDb2zOsDataProviderSettings ibmDb2zOsSettings()

      Provides information that defines an IBM DB2 for z/OS data provider.

      Returns:
      Provides information that defines an IBM DB2 for z/OS data provider.
    • mongoDbSettings

      public final MongoDbDataProviderSettings mongoDbSettings()

      Provides information that defines a MongoDB data provider.

      Returns:
      Provides information that defines a MongoDB data provider.
    • toBuilder

      public DataProviderSettings.Builder toBuilder()
      Description copied from interface: ToCopyableBuilder
      Take this object and create a builder that contains all of the current property values of this object.
      Specified by:
      toBuilder in interface ToCopyableBuilder<DataProviderSettings.Builder,DataProviderSettings>
      Returns:
      a builder for type T
    • builder

      public static DataProviderSettings.Builder builder()
    • serializableBuilderClass

      public static Class<? extends DataProviderSettings.Builder> serializableBuilderClass()
    • hashCode

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

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

      public final boolean equalsBySdkFields(Object obj)
      Description copied from interface: SdkPojo
      Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in an SdkPojo class, and is generated based on a service model.

      If an SdkPojo class does not have any inherited fields, equalsBySdkFields and equals are essentially the same.

      Specified by:
      equalsBySdkFields in interface SdkPojo
      Parameters:
      obj - the object to be compared with
      Returns:
      true if the other object equals to this object by sdk fields, false otherwise.
    • 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)
    • fromRedshiftSettings

      public static DataProviderSettings fromRedshiftSettings(RedshiftDataProviderSettings redshiftSettings)
      Create an instance of this class with redshiftSettings() initialized to the given value. Sets the value of the RedshiftSettings property for this object.
      Parameters:
      redshiftSettings - The new value for the RedshiftSettings property for this object.
    • fromRedshiftSettings

      public static DataProviderSettings fromRedshiftSettings(Consumer<RedshiftDataProviderSettings.Builder> redshiftSettings)
      Create an instance of this class with redshiftSettings() initialized to the given value. Sets the value of the RedshiftSettings property for this object.
      Parameters:
      redshiftSettings - The new value for the RedshiftSettings property for this object.
    • fromPostgreSqlSettings

      public static DataProviderSettings fromPostgreSqlSettings(PostgreSqlDataProviderSettings postgreSqlSettings)
      Create an instance of this class with postgreSqlSettings() initialized to the given value. Sets the value of the PostgreSqlSettings property for this object.
      Parameters:
      postgreSqlSettings - The new value for the PostgreSqlSettings property for this object.
    • fromPostgreSqlSettings

      public static DataProviderSettings fromPostgreSqlSettings(Consumer<PostgreSqlDataProviderSettings.Builder> postgreSqlSettings)
      Create an instance of this class with postgreSqlSettings() initialized to the given value. Sets the value of the PostgreSqlSettings property for this object.
      Parameters:
      postgreSqlSettings - The new value for the PostgreSqlSettings property for this object.
    • fromMySqlSettings

      public static DataProviderSettings fromMySqlSettings(MySqlDataProviderSettings mySqlSettings)
      Create an instance of this class with mySqlSettings() initialized to the given value. Sets the value of the MySqlSettings property for this object.
      Parameters:
      mySqlSettings - The new value for the MySqlSettings property for this object.
    • fromMySqlSettings

      public static DataProviderSettings fromMySqlSettings(Consumer<MySqlDataProviderSettings.Builder> mySqlSettings)
      Create an instance of this class with mySqlSettings() initialized to the given value. Sets the value of the MySqlSettings property for this object.
      Parameters:
      mySqlSettings - The new value for the MySqlSettings property for this object.
    • fromOracleSettings

      public static DataProviderSettings fromOracleSettings(OracleDataProviderSettings oracleSettings)
      Create an instance of this class with oracleSettings() initialized to the given value. Sets the value of the OracleSettings property for this object.
      Parameters:
      oracleSettings - The new value for the OracleSettings property for this object.
    • fromOracleSettings

      public static DataProviderSettings fromOracleSettings(Consumer<OracleDataProviderSettings.Builder> oracleSettings)
      Create an instance of this class with oracleSettings() initialized to the given value. Sets the value of the OracleSettings property for this object.
      Parameters:
      oracleSettings - The new value for the OracleSettings property for this object.
    • fromMicrosoftSqlServerSettings

      public static DataProviderSettings fromMicrosoftSqlServerSettings(MicrosoftSqlServerDataProviderSettings microsoftSqlServerSettings)
      Create an instance of this class with microsoftSqlServerSettings() initialized to the given value. Sets the value of the MicrosoftSqlServerSettings property for this object.
      Parameters:
      microsoftSqlServerSettings - The new value for the MicrosoftSqlServerSettings property for this object.
    • fromMicrosoftSqlServerSettings

      public static DataProviderSettings fromMicrosoftSqlServerSettings(Consumer<MicrosoftSqlServerDataProviderSettings.Builder> microsoftSqlServerSettings)
      Create an instance of this class with microsoftSqlServerSettings() initialized to the given value. Sets the value of the MicrosoftSqlServerSettings property for this object.
      Parameters:
      microsoftSqlServerSettings - The new value for the MicrosoftSqlServerSettings property for this object.
    • fromDocDbSettings

      public static DataProviderSettings fromDocDbSettings(DocDbDataProviderSettings docDbSettings)
      Create an instance of this class with docDbSettings() initialized to the given value. Sets the value of the DocDbSettings property for this object.
      Parameters:
      docDbSettings - The new value for the DocDbSettings property for this object.
    • fromDocDbSettings

      public static DataProviderSettings fromDocDbSettings(Consumer<DocDbDataProviderSettings.Builder> docDbSettings)
      Create an instance of this class with docDbSettings() initialized to the given value. Sets the value of the DocDbSettings property for this object.
      Parameters:
      docDbSettings - The new value for the DocDbSettings property for this object.
    • fromMariaDbSettings

      public static DataProviderSettings fromMariaDbSettings(MariaDbDataProviderSettings mariaDbSettings)
      Create an instance of this class with mariaDbSettings() initialized to the given value.

      Provides information that defines a MariaDB data provider.

      Parameters:
      mariaDbSettings - Provides information that defines a MariaDB data provider.
    • fromMariaDbSettings

      public static DataProviderSettings fromMariaDbSettings(Consumer<MariaDbDataProviderSettings.Builder> mariaDbSettings)
      Create an instance of this class with mariaDbSettings() initialized to the given value.

      Provides information that defines a MariaDB data provider.

      Parameters:
      mariaDbSettings - Provides information that defines a MariaDB data provider.
    • fromIbmDb2LuwSettings

      public static DataProviderSettings fromIbmDb2LuwSettings(IbmDb2LuwDataProviderSettings ibmDb2LuwSettings)
      Create an instance of this class with ibmDb2LuwSettings() initialized to the given value.

      Provides information that defines an IBM DB2 LUW data provider.

      Parameters:
      ibmDb2LuwSettings - Provides information that defines an IBM DB2 LUW data provider.
    • fromIbmDb2LuwSettings

      public static DataProviderSettings fromIbmDb2LuwSettings(Consumer<IbmDb2LuwDataProviderSettings.Builder> ibmDb2LuwSettings)
      Create an instance of this class with ibmDb2LuwSettings() initialized to the given value.

      Provides information that defines an IBM DB2 LUW data provider.

      Parameters:
      ibmDb2LuwSettings - Provides information that defines an IBM DB2 LUW data provider.
    • fromIbmDb2zOsSettings

      public static DataProviderSettings fromIbmDb2zOsSettings(IbmDb2zOsDataProviderSettings ibmDb2zOsSettings)
      Create an instance of this class with ibmDb2zOsSettings() initialized to the given value.

      Provides information that defines an IBM DB2 for z/OS data provider.

      Parameters:
      ibmDb2zOsSettings - Provides information that defines an IBM DB2 for z/OS data provider.
    • fromIbmDb2zOsSettings

      public static DataProviderSettings fromIbmDb2zOsSettings(Consumer<IbmDb2zOsDataProviderSettings.Builder> ibmDb2zOsSettings)
      Create an instance of this class with ibmDb2zOsSettings() initialized to the given value.

      Provides information that defines an IBM DB2 for z/OS data provider.

      Parameters:
      ibmDb2zOsSettings - Provides information that defines an IBM DB2 for z/OS data provider.
    • fromMongoDbSettings

      public static DataProviderSettings fromMongoDbSettings(MongoDbDataProviderSettings mongoDbSettings)
      Create an instance of this class with mongoDbSettings() initialized to the given value.

      Provides information that defines a MongoDB data provider.

      Parameters:
      mongoDbSettings - Provides information that defines a MongoDB data provider.
    • fromMongoDbSettings

      public static DataProviderSettings fromMongoDbSettings(Consumer<MongoDbDataProviderSettings.Builder> mongoDbSettings)
      Create an instance of this class with mongoDbSettings() initialized to the given value.

      Provides information that defines a MongoDB data provider.

      Parameters:
      mongoDbSettings - Provides information that defines a MongoDB data provider.
    • type

      Retrieve an enum value representing which member of this object is populated. When this class is returned in a service response, this will be DataProviderSettings.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 DataProviderSettings.Type.UNKNOWN_TO_SDK_VERSION if zero members are set, and null if more than one member is set.
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
      Returns:
      List of SdkField in this POJO. May be empty list but should never be null.
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo
      Returns:
      The mapping between the field name and its corresponding field.