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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDataProviderSettings.Builderstatic classDataProviderSettings.Type
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DataProviderSettings.Builderbuilder()DocDbDataProviderSettingsdocDbSettings()Returns the value of the DocDbSettings property for this object.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)static DataProviderSettingsfromDocDbSettings(Consumer<DocDbDataProviderSettings.Builder> docDbSettings)Create an instance of this class withdocDbSettings()initialized to the given value.static DataProviderSettingsfromDocDbSettings(DocDbDataProviderSettings docDbSettings)Create an instance of this class withdocDbSettings()initialized to the given value.static DataProviderSettingsfromMariaDbSettings(Consumer<MariaDbDataProviderSettings.Builder> mariaDbSettings)Create an instance of this class withmariaDbSettings()initialized to the given value.static DataProviderSettingsfromMariaDbSettings(MariaDbDataProviderSettings mariaDbSettings)Create an instance of this class withmariaDbSettings()initialized to the given value.static DataProviderSettingsfromMicrosoftSqlServerSettings(Consumer<MicrosoftSqlServerDataProviderSettings.Builder> microsoftSqlServerSettings)Create an instance of this class withmicrosoftSqlServerSettings()initialized to the given value.static DataProviderSettingsfromMicrosoftSqlServerSettings(MicrosoftSqlServerDataProviderSettings microsoftSqlServerSettings)Create an instance of this class withmicrosoftSqlServerSettings()initialized to the given value.static DataProviderSettingsfromMongoDbSettings(Consumer<MongoDbDataProviderSettings.Builder> mongoDbSettings)Create an instance of this class withmongoDbSettings()initialized to the given value.static DataProviderSettingsfromMongoDbSettings(MongoDbDataProviderSettings mongoDbSettings)Create an instance of this class withmongoDbSettings()initialized to the given value.static DataProviderSettingsfromMySqlSettings(Consumer<MySqlDataProviderSettings.Builder> mySqlSettings)Create an instance of this class withmySqlSettings()initialized to the given value.static DataProviderSettingsfromMySqlSettings(MySqlDataProviderSettings mySqlSettings)Create an instance of this class withmySqlSettings()initialized to the given value.static DataProviderSettingsfromOracleSettings(Consumer<OracleDataProviderSettings.Builder> oracleSettings)Create an instance of this class withoracleSettings()initialized to the given value.static DataProviderSettingsfromOracleSettings(OracleDataProviderSettings oracleSettings)Create an instance of this class withoracleSettings()initialized to the given value.static DataProviderSettingsfromPostgreSqlSettings(Consumer<PostgreSqlDataProviderSettings.Builder> postgreSqlSettings)Create an instance of this class withpostgreSqlSettings()initialized to the given value.static DataProviderSettingsfromPostgreSqlSettings(PostgreSqlDataProviderSettings postgreSqlSettings)Create an instance of this class withpostgreSqlSettings()initialized to the given value.static DataProviderSettingsfromRedshiftSettings(Consumer<RedshiftDataProviderSettings.Builder> redshiftSettings)Create an instance of this class withredshiftSettings()initialized to the given value.static DataProviderSettingsfromRedshiftSettings(RedshiftDataProviderSettings redshiftSettings)Create an instance of this class withredshiftSettings()initialized to the given value.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()MariaDbDataProviderSettingsmariaDbSettings()Provides information that defines a MariaDB data provider.MicrosoftSqlServerDataProviderSettingsmicrosoftSqlServerSettings()Returns the value of the MicrosoftSqlServerSettings property for this object.MongoDbDataProviderSettingsmongoDbSettings()Provides information that defines a MongoDB data provider.MySqlDataProviderSettingsmySqlSettings()Returns the value of the MySqlSettings property for this object.OracleDataProviderSettingsoracleSettings()Returns the value of the OracleSettings property for this object.PostgreSqlDataProviderSettingspostgreSqlSettings()Returns the value of the PostgreSqlSettings property for this object.RedshiftDataProviderSettingsredshiftSettings()Returns the value of the RedshiftSettings property for this object.List<SdkField<?>>sdkFields()static Class<? extends DataProviderSettings.Builder>serializableBuilderClass()DataProviderSettings.BuildertoBuilder()StringtoString()Returns a string representation of this object.DataProviderSettings.Typetype()Retrieve an enum value representing which member of this object is populated.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
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.
-
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()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DataProviderSettings.Builder,DataProviderSettings>
-
builder
public static DataProviderSettings.Builder builder()
-
serializableBuilderClass
public static Class<? extends DataProviderSettings.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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.
-
fromRedshiftSettings
public static DataProviderSettings fromRedshiftSettings(RedshiftDataProviderSettings redshiftSettings)
Create an instance of this class withredshiftSettings()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 withredshiftSettings()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 withpostgreSqlSettings()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 withpostgreSqlSettings()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 withmySqlSettings()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 withmySqlSettings()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 withoracleSettings()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 withoracleSettings()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 withmicrosoftSqlServerSettings()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 withmicrosoftSqlServerSettings()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 withdocDbSettings()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 withdocDbSettings()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 withmariaDbSettings()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 withmariaDbSettings()initialized to the given value.Provides information that defines a MariaDB data provider.
- Parameters:
mariaDbSettings- Provides information that defines a MariaDB data provider.
-
fromMongoDbSettings
public static DataProviderSettings fromMongoDbSettings(MongoDbDataProviderSettings mongoDbSettings)
Create an instance of this class withmongoDbSettings()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 withmongoDbSettings()initialized to the given value.Provides information that defines a MongoDB data provider.
- Parameters:
mongoDbSettings- Provides information that defines a MongoDB data provider.
-
type
public DataProviderSettings.Type type()
Retrieve an enum value representing which member of this object is populated. When this class is returned in a service response, this will beDataProviderSettings.Type.UNKNOWN_TO_SDK_VERSIONif 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 beDataProviderSettings.Type.UNKNOWN_TO_SDK_VERSIONif zero members are set, andnullif more than one member is set.
-
-