Struct aws_sdk_databasemigration::model::endpoint::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for Endpoint
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn endpoint_identifier(self, input: impl Into<String>) -> Self
pub fn endpoint_identifier(self, input: impl Into<String>) -> Self
The database endpoint identifier. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen or contain two consecutive hyphens.
sourcepub fn set_endpoint_identifier(self, input: Option<String>) -> Self
pub fn set_endpoint_identifier(self, input: Option<String>) -> Self
The database endpoint identifier. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen or contain two consecutive hyphens.
sourcepub fn endpoint_type(self, input: ReplicationEndpointTypeValue) -> Self
pub fn endpoint_type(self, input: ReplicationEndpointTypeValue) -> Self
The type of endpoint. Valid values are source
and target
.
sourcepub fn set_endpoint_type(
self,
input: Option<ReplicationEndpointTypeValue>
) -> Self
pub fn set_endpoint_type(
self,
input: Option<ReplicationEndpointTypeValue>
) -> Self
The type of endpoint. Valid values are source
and target
.
sourcepub fn engine_name(self, input: impl Into<String>) -> Self
pub fn engine_name(self, input: impl Into<String>) -> Self
The database engine name. Valid values, depending on the EndpointType, include "mysql"
, "oracle"
, "postgres"
, "mariadb"
, "aurora"
, "aurora-postgresql"
, "redshift"
, "s3"
, "db2"
, "db2-zos"
, "azuredb"
, "sybase"
, "dynamodb"
, "mongodb"
, "kinesis"
, "kafka"
, "elasticsearch"
, "documentdb"
, "sqlserver"
, "neptune"
, and "babelfish"
.
sourcepub fn set_engine_name(self, input: Option<String>) -> Self
pub fn set_engine_name(self, input: Option<String>) -> Self
The database engine name. Valid values, depending on the EndpointType, include "mysql"
, "oracle"
, "postgres"
, "mariadb"
, "aurora"
, "aurora-postgresql"
, "redshift"
, "s3"
, "db2"
, "db2-zos"
, "azuredb"
, "sybase"
, "dynamodb"
, "mongodb"
, "kinesis"
, "kafka"
, "elasticsearch"
, "documentdb"
, "sqlserver"
, "neptune"
, and "babelfish"
.
sourcepub fn engine_display_name(self, input: impl Into<String>) -> Self
pub fn engine_display_name(self, input: impl Into<String>) -> Self
The expanded name for the engine name. For example, if the EngineName
parameter is "aurora", this value would be "Amazon Aurora MySQL".
sourcepub fn set_engine_display_name(self, input: Option<String>) -> Self
pub fn set_engine_display_name(self, input: Option<String>) -> Self
The expanded name for the engine name. For example, if the EngineName
parameter is "aurora", this value would be "Amazon Aurora MySQL".
sourcepub fn username(self, input: impl Into<String>) -> Self
pub fn username(self, input: impl Into<String>) -> Self
The user name used to connect to the endpoint.
sourcepub fn set_username(self, input: Option<String>) -> Self
pub fn set_username(self, input: Option<String>) -> Self
The user name used to connect to the endpoint.
sourcepub fn server_name(self, input: impl Into<String>) -> Self
pub fn server_name(self, input: impl Into<String>) -> Self
The name of the server at the endpoint.
sourcepub fn set_server_name(self, input: Option<String>) -> Self
pub fn set_server_name(self, input: Option<String>) -> Self
The name of the server at the endpoint.
sourcepub fn database_name(self, input: impl Into<String>) -> Self
pub fn database_name(self, input: impl Into<String>) -> Self
The name of the database at the endpoint.
sourcepub fn set_database_name(self, input: Option<String>) -> Self
pub fn set_database_name(self, input: Option<String>) -> Self
The name of the database at the endpoint.
sourcepub fn extra_connection_attributes(self, input: impl Into<String>) -> Self
pub fn extra_connection_attributes(self, input: impl Into<String>) -> Self
Additional connection attributes used to connect to the endpoint.
sourcepub fn set_extra_connection_attributes(self, input: Option<String>) -> Self
pub fn set_extra_connection_attributes(self, input: Option<String>) -> Self
Additional connection attributes used to connect to the endpoint.
sourcepub fn set_status(self, input: Option<String>) -> Self
pub fn set_status(self, input: Option<String>) -> Self
The status of the endpoint.
sourcepub fn kms_key_id(self, input: impl Into<String>) -> Self
pub fn kms_key_id(self, input: impl Into<String>) -> Self
An KMS key identifier that is used to encrypt the connection parameters for the endpoint.
If you don't specify a value for the KmsKeyId
parameter, then DMS uses your default encryption key.
KMS creates the default encryption key for your Amazon Web Services account. Your Amazon Web Services account has a different default encryption key for each Amazon Web Services Region.
sourcepub fn set_kms_key_id(self, input: Option<String>) -> Self
pub fn set_kms_key_id(self, input: Option<String>) -> Self
An KMS key identifier that is used to encrypt the connection parameters for the endpoint.
If you don't specify a value for the KmsKeyId
parameter, then DMS uses your default encryption key.
KMS creates the default encryption key for your Amazon Web Services account. Your Amazon Web Services account has a different default encryption key for each Amazon Web Services Region.
sourcepub fn endpoint_arn(self, input: impl Into<String>) -> Self
pub fn endpoint_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
sourcepub fn set_endpoint_arn(self, input: Option<String>) -> Self
pub fn set_endpoint_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
sourcepub fn certificate_arn(self, input: impl Into<String>) -> Self
pub fn certificate_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) used for SSL connection to the endpoint.
sourcepub fn set_certificate_arn(self, input: Option<String>) -> Self
pub fn set_certificate_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) used for SSL connection to the endpoint.
sourcepub fn ssl_mode(self, input: DmsSslModeValue) -> Self
pub fn ssl_mode(self, input: DmsSslModeValue) -> Self
The SSL mode used to connect to the endpoint. The default value is none
.
sourcepub fn set_ssl_mode(self, input: Option<DmsSslModeValue>) -> Self
pub fn set_ssl_mode(self, input: Option<DmsSslModeValue>) -> Self
The SSL mode used to connect to the endpoint. The default value is none
.
sourcepub fn service_access_role_arn(self, input: impl Into<String>) -> Self
pub fn service_access_role_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) used by the service to access the IAM role. The role must allow the iam:PassRole
action.
sourcepub fn set_service_access_role_arn(self, input: Option<String>) -> Self
pub fn set_service_access_role_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) used by the service to access the IAM role. The role must allow the iam:PassRole
action.
sourcepub fn external_table_definition(self, input: impl Into<String>) -> Self
pub fn external_table_definition(self, input: impl Into<String>) -> Self
The external table definition.
sourcepub fn set_external_table_definition(self, input: Option<String>) -> Self
pub fn set_external_table_definition(self, input: Option<String>) -> Self
The external table definition.
sourcepub fn external_id(self, input: impl Into<String>) -> Self
pub fn external_id(self, input: impl Into<String>) -> Self
Value returned by a call to CreateEndpoint that can be used for cross-account validation. Use it on a subsequent call to CreateEndpoint to create the endpoint with a cross-account.
sourcepub fn set_external_id(self, input: Option<String>) -> Self
pub fn set_external_id(self, input: Option<String>) -> Self
Value returned by a call to CreateEndpoint that can be used for cross-account validation. Use it on a subsequent call to CreateEndpoint to create the endpoint with a cross-account.
sourcepub fn dynamo_db_settings(self, input: DynamoDbSettings) -> Self
pub fn dynamo_db_settings(self, input: DynamoDbSettings) -> Self
The settings for the DynamoDB target endpoint. For more information, see the DynamoDBSettings
structure.
sourcepub fn set_dynamo_db_settings(self, input: Option<DynamoDbSettings>) -> Self
pub fn set_dynamo_db_settings(self, input: Option<DynamoDbSettings>) -> Self
The settings for the DynamoDB target endpoint. For more information, see the DynamoDBSettings
structure.
sourcepub fn s3_settings(self, input: S3Settings) -> Self
pub fn s3_settings(self, input: S3Settings) -> Self
The settings for the S3 target endpoint. For more information, see the S3Settings
structure.
sourcepub fn set_s3_settings(self, input: Option<S3Settings>) -> Self
pub fn set_s3_settings(self, input: Option<S3Settings>) -> Self
The settings for the S3 target endpoint. For more information, see the S3Settings
structure.
sourcepub fn dms_transfer_settings(self, input: DmsTransferSettings) -> Self
pub fn dms_transfer_settings(self, input: DmsTransferSettings) -> Self
The settings for the DMS Transfer type source. For more information, see the DmsTransferSettings structure.
sourcepub fn set_dms_transfer_settings(
self,
input: Option<DmsTransferSettings>
) -> Self
pub fn set_dms_transfer_settings(
self,
input: Option<DmsTransferSettings>
) -> Self
The settings for the DMS Transfer type source. For more information, see the DmsTransferSettings structure.
sourcepub fn mongo_db_settings(self, input: MongoDbSettings) -> Self
pub fn mongo_db_settings(self, input: MongoDbSettings) -> Self
The settings for the MongoDB source endpoint. For more information, see the MongoDbSettings
structure.
sourcepub fn set_mongo_db_settings(self, input: Option<MongoDbSettings>) -> Self
pub fn set_mongo_db_settings(self, input: Option<MongoDbSettings>) -> Self
The settings for the MongoDB source endpoint. For more information, see the MongoDbSettings
structure.
sourcepub fn kinesis_settings(self, input: KinesisSettings) -> Self
pub fn kinesis_settings(self, input: KinesisSettings) -> Self
The settings for the Amazon Kinesis target endpoint. For more information, see the KinesisSettings
structure.
sourcepub fn set_kinesis_settings(self, input: Option<KinesisSettings>) -> Self
pub fn set_kinesis_settings(self, input: Option<KinesisSettings>) -> Self
The settings for the Amazon Kinesis target endpoint. For more information, see the KinesisSettings
structure.
sourcepub fn kafka_settings(self, input: KafkaSettings) -> Self
pub fn kafka_settings(self, input: KafkaSettings) -> Self
The settings for the Apache Kafka target endpoint. For more information, see the KafkaSettings
structure.
sourcepub fn set_kafka_settings(self, input: Option<KafkaSettings>) -> Self
pub fn set_kafka_settings(self, input: Option<KafkaSettings>) -> Self
The settings for the Apache Kafka target endpoint. For more information, see the KafkaSettings
structure.
sourcepub fn elasticsearch_settings(self, input: ElasticsearchSettings) -> Self
pub fn elasticsearch_settings(self, input: ElasticsearchSettings) -> Self
The settings for the OpenSearch source endpoint. For more information, see the ElasticsearchSettings
structure.
sourcepub fn set_elasticsearch_settings(
self,
input: Option<ElasticsearchSettings>
) -> Self
pub fn set_elasticsearch_settings(
self,
input: Option<ElasticsearchSettings>
) -> Self
The settings for the OpenSearch source endpoint. For more information, see the ElasticsearchSettings
structure.
sourcepub fn neptune_settings(self, input: NeptuneSettings) -> Self
pub fn neptune_settings(self, input: NeptuneSettings) -> Self
The settings for the Amazon Neptune target endpoint. For more information, see the NeptuneSettings
structure.
sourcepub fn set_neptune_settings(self, input: Option<NeptuneSettings>) -> Self
pub fn set_neptune_settings(self, input: Option<NeptuneSettings>) -> Self
The settings for the Amazon Neptune target endpoint. For more information, see the NeptuneSettings
structure.
sourcepub fn redshift_settings(self, input: RedshiftSettings) -> Self
pub fn redshift_settings(self, input: RedshiftSettings) -> Self
Settings for the Amazon Redshift endpoint.
sourcepub fn set_redshift_settings(self, input: Option<RedshiftSettings>) -> Self
pub fn set_redshift_settings(self, input: Option<RedshiftSettings>) -> Self
Settings for the Amazon Redshift endpoint.
sourcepub fn postgre_sql_settings(self, input: PostgreSqlSettings) -> Self
pub fn postgre_sql_settings(self, input: PostgreSqlSettings) -> Self
The settings for the PostgreSQL source and target endpoint. For more information, see the PostgreSQLSettings
structure.
sourcepub fn set_postgre_sql_settings(self, input: Option<PostgreSqlSettings>) -> Self
pub fn set_postgre_sql_settings(self, input: Option<PostgreSqlSettings>) -> Self
The settings for the PostgreSQL source and target endpoint. For more information, see the PostgreSQLSettings
structure.
sourcepub fn my_sql_settings(self, input: MySqlSettings) -> Self
pub fn my_sql_settings(self, input: MySqlSettings) -> Self
The settings for the MySQL source and target endpoint. For more information, see the MySQLSettings
structure.
sourcepub fn set_my_sql_settings(self, input: Option<MySqlSettings>) -> Self
pub fn set_my_sql_settings(self, input: Option<MySqlSettings>) -> Self
The settings for the MySQL source and target endpoint. For more information, see the MySQLSettings
structure.
sourcepub fn oracle_settings(self, input: OracleSettings) -> Self
pub fn oracle_settings(self, input: OracleSettings) -> Self
The settings for the Oracle source and target endpoint. For more information, see the OracleSettings
structure.
sourcepub fn set_oracle_settings(self, input: Option<OracleSettings>) -> Self
pub fn set_oracle_settings(self, input: Option<OracleSettings>) -> Self
The settings for the Oracle source and target endpoint. For more information, see the OracleSettings
structure.
sourcepub fn sybase_settings(self, input: SybaseSettings) -> Self
pub fn sybase_settings(self, input: SybaseSettings) -> Self
The settings for the SAP ASE source and target endpoint. For more information, see the SybaseSettings
structure.
sourcepub fn set_sybase_settings(self, input: Option<SybaseSettings>) -> Self
pub fn set_sybase_settings(self, input: Option<SybaseSettings>) -> Self
The settings for the SAP ASE source and target endpoint. For more information, see the SybaseSettings
structure.
sourcepub fn microsoft_sql_server_settings(
self,
input: MicrosoftSqlServerSettings
) -> Self
pub fn microsoft_sql_server_settings(
self,
input: MicrosoftSqlServerSettings
) -> Self
The settings for the Microsoft SQL Server source and target endpoint. For more information, see the MicrosoftSQLServerSettings
structure.
sourcepub fn set_microsoft_sql_server_settings(
self,
input: Option<MicrosoftSqlServerSettings>
) -> Self
pub fn set_microsoft_sql_server_settings(
self,
input: Option<MicrosoftSqlServerSettings>
) -> Self
The settings for the Microsoft SQL Server source and target endpoint. For more information, see the MicrosoftSQLServerSettings
structure.
sourcepub fn ibm_db2_settings(self, input: IbmDb2Settings) -> Self
pub fn ibm_db2_settings(self, input: IbmDb2Settings) -> Self
The settings for the IBM Db2 LUW source endpoint. For more information, see the IBMDb2Settings
structure.
sourcepub fn set_ibm_db2_settings(self, input: Option<IbmDb2Settings>) -> Self
pub fn set_ibm_db2_settings(self, input: Option<IbmDb2Settings>) -> Self
The settings for the IBM Db2 LUW source endpoint. For more information, see the IBMDb2Settings
structure.
sourcepub fn doc_db_settings(self, input: DocDbSettings) -> Self
pub fn doc_db_settings(self, input: DocDbSettings) -> Self
Provides information that defines a DocumentDB endpoint.
sourcepub fn set_doc_db_settings(self, input: Option<DocDbSettings>) -> Self
pub fn set_doc_db_settings(self, input: Option<DocDbSettings>) -> Self
Provides information that defines a DocumentDB endpoint.
sourcepub fn redis_settings(self, input: RedisSettings) -> Self
pub fn redis_settings(self, input: RedisSettings) -> Self
The settings for the Redis target endpoint. For more information, see the RedisSettings
structure.
sourcepub fn set_redis_settings(self, input: Option<RedisSettings>) -> Self
pub fn set_redis_settings(self, input: Option<RedisSettings>) -> Self
The settings for the Redis target endpoint. For more information, see the RedisSettings
structure.
sourcepub fn gcp_my_sql_settings(self, input: GcpMySqlSettings) -> Self
pub fn gcp_my_sql_settings(self, input: GcpMySqlSettings) -> Self
Settings in JSON format for the source GCP MySQL endpoint.
sourcepub fn set_gcp_my_sql_settings(self, input: Option<GcpMySqlSettings>) -> Self
pub fn set_gcp_my_sql_settings(self, input: Option<GcpMySqlSettings>) -> Self
Settings in JSON format for the source GCP MySQL endpoint.