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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic enum -
Method Summary
Modifier and TypeMethodDescriptionstatic DataProviderSettings.Builderbuilder()Returns the value of the DocDbSettings property for this object.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.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.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()Provides information that defines a MariaDB data provider.Returns the value of the MicrosoftSqlServerSettings property for this object.Provides information that defines a MongoDB data provider.Returns the value of the MySqlSettings property for this object.Returns the value of the OracleSettings property for this object.Returns the value of the PostgreSqlSettings property for this object.Returns the value of the RedshiftSettings property for this object.static Class<? extends DataProviderSettings.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.type()Retrieve an enum value representing which member of this object is populated.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
redshiftSettings
Returns the value of the RedshiftSettings property for this object.- Returns:
- The value of the RedshiftSettings property for this object.
-
postgreSqlSettings
Returns the value of the PostgreSqlSettings property for this object.- Returns:
- The value of the PostgreSqlSettings property for this object.
-
mySqlSettings
Returns the value of the MySqlSettings property for this object.- Returns:
- The value of the MySqlSettings property for this object.
-
oracleSettings
Returns the value of the OracleSettings property for this object.- Returns:
- The value of the OracleSettings property for this object.
-
microsoftSqlServerSettings
Returns the value of the MicrosoftSqlServerSettings property for this object.- Returns:
- The value of the MicrosoftSqlServerSettings property for this object.
-
docDbSettings
Returns the value of the DocDbSettings property for this object.- Returns:
- The value of the DocDbSettings property for this object.
-
mariaDbSettings
Provides information that defines a MariaDB data provider.
- Returns:
- Provides information that defines a MariaDB data provider.
-
mongoDbSettings
Provides information that defines a MongoDB data provider.
- Returns:
- Provides information that defines a MongoDB data provider.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<DataProviderSettings.Builder,DataProviderSettings> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
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
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
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
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
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
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
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. -
sdkFields
-