public static interface Endpoint.Builder extends CopyableBuilder<Endpoint.Builder,Endpoint>
Modifier and Type | Method and Description |
---|---|
Endpoint.Builder |
certificateArn(String certificateArn)
The Amazon Resource Name (ARN) used for SSL connection to the endpoint.
|
Endpoint.Builder |
databaseName(String databaseName)
The name of the database at the endpoint.
|
default Endpoint.Builder |
dynamoDbSettings(Consumer<DynamoDbSettings.Builder> dynamoDbSettings)
The settings for the target DynamoDB database.
|
Endpoint.Builder |
dynamoDbSettings(DynamoDbSettings dynamoDbSettings)
The settings for the target DynamoDB database.
|
Endpoint.Builder |
endpointArn(String endpointArn)
The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
|
Endpoint.Builder |
endpointIdentifier(String endpointIdentifier)
The database endpoint identifier.
|
Endpoint.Builder |
endpointType(ReplicationEndpointTypeValue endpointType)
The type of endpoint.
|
Endpoint.Builder |
endpointType(String endpointType)
The type of endpoint.
|
Endpoint.Builder |
engineName(String engineName)
The database engine name.
|
Endpoint.Builder |
externalId(String externalId)
Value returned by a call to CreateEndpoint that can be used for cross-account validation.
|
Endpoint.Builder |
extraConnectionAttributes(String extraConnectionAttributes)
Additional connection attributes used to connect to the endpoint.
|
Endpoint.Builder |
kmsKeyId(String kmsKeyId)
The KMS key identifier that will be used to encrypt the connection parameters.
|
default Endpoint.Builder |
mongoDbSettings(Consumer<MongoDbSettings.Builder> mongoDbSettings)
The settings for the MongoDB source endpoint.
|
Endpoint.Builder |
mongoDbSettings(MongoDbSettings mongoDbSettings)
The settings for the MongoDB source endpoint.
|
Endpoint.Builder |
port(Integer port)
The port value used to access the endpoint.
|
default Endpoint.Builder |
s3Settings(Consumer<S3Settings.Builder> s3Settings)
The settings for the S3 target endpoint.
|
Endpoint.Builder |
s3Settings(S3Settings s3Settings)
The settings for the S3 target endpoint.
|
Endpoint.Builder |
serverName(String serverName)
The name of the server at the endpoint.
|
Endpoint.Builder |
sslMode(DmsSslModeValue sslMode)
The SSL mode used to connect to the endpoint.
|
Endpoint.Builder |
sslMode(String sslMode)
The SSL mode used to connect to the endpoint.
|
Endpoint.Builder |
status(String status)
The status of the endpoint.
|
Endpoint.Builder |
username(String username)
The user name used to connect to the endpoint.
|
copy
applyMutation, build
Endpoint.Builder endpointIdentifier(String endpointIdentifier)
The database endpoint identifier. Identifiers must begin with a letter; must contain only ASCII letters, digits, and hyphens; and must not end with a hyphen or contain two consecutive hyphens.
endpointIdentifier
- The database endpoint identifier. Identifiers must begin with a letter; must contain only ASCII
letters, digits, and hyphens; and must not end with a hyphen or contain two consecutive hyphens.Endpoint.Builder endpointType(String endpointType)
The type of endpoint.
endpointType
- The type of endpoint.ReplicationEndpointTypeValue
,
ReplicationEndpointTypeValue
Endpoint.Builder endpointType(ReplicationEndpointTypeValue endpointType)
The type of endpoint.
endpointType
- The type of endpoint.ReplicationEndpointTypeValue
,
ReplicationEndpointTypeValue
Endpoint.Builder engineName(String engineName)
The database engine name. Valid values, depending on the EndPointType, include MYSQL, ORACLE, POSTGRES, MARIADB, AURORA, REDSHIFT, S3, SYBASE, DYNAMODB, MONGODB, and SQLSERVER.
engineName
- The database engine name. Valid values, depending on the EndPointType, include MYSQL, ORACLE,
POSTGRES, MARIADB, AURORA, REDSHIFT, S3, SYBASE, DYNAMODB, MONGODB, and SQLSERVER.Endpoint.Builder username(String username)
The user name used to connect to the endpoint.
username
- The user name used to connect to the endpoint.Endpoint.Builder serverName(String serverName)
The name of the server at the endpoint.
serverName
- The name of the server at the endpoint.Endpoint.Builder port(Integer port)
The port value used to access the endpoint.
port
- The port value used to access the endpoint.Endpoint.Builder databaseName(String databaseName)
The name of the database at the endpoint.
databaseName
- The name of the database at the endpoint.Endpoint.Builder extraConnectionAttributes(String extraConnectionAttributes)
Additional connection attributes used to connect to the endpoint.
extraConnectionAttributes
- Additional connection attributes used to connect to the endpoint.Endpoint.Builder status(String status)
The status of the endpoint.
status
- The status of the endpoint.Endpoint.Builder kmsKeyId(String kmsKeyId)
The KMS key identifier that will be used to encrypt the connection parameters. If you do not specify a value for the KmsKeyId parameter, then AWS DMS will use your default encryption key. AWS KMS creates the default encryption key for your AWS account. Your AWS account has a different default encryption key for each AWS region.
kmsKeyId
- The KMS key identifier that will be used to encrypt the connection parameters. If you do not specify a
value for the KmsKeyId parameter, then AWS DMS will use your default encryption key. AWS KMS creates
the default encryption key for your AWS account. Your AWS account has a different default encryption
key for each AWS region.Endpoint.Builder endpointArn(String endpointArn)
The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
endpointArn
- The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.Endpoint.Builder certificateArn(String certificateArn)
The Amazon Resource Name (ARN) used for SSL connection to the endpoint.
certificateArn
- The Amazon Resource Name (ARN) used for SSL connection to the endpoint.Endpoint.Builder sslMode(String sslMode)
The SSL mode used to connect to the endpoint.
SSL mode can be one of four values: none, require, verify-ca, verify-full.
The default value is none.
sslMode
- The SSL mode used to connect to the endpoint.
SSL mode can be one of four values: none, require, verify-ca, verify-full.
The default value is none.
DmsSslModeValue
,
DmsSslModeValue
Endpoint.Builder sslMode(DmsSslModeValue sslMode)
The SSL mode used to connect to the endpoint.
SSL mode can be one of four values: none, require, verify-ca, verify-full.
The default value is none.
sslMode
- The SSL mode used to connect to the endpoint.
SSL mode can be one of four values: none, require, verify-ca, verify-full.
The default value is none.
DmsSslModeValue
,
DmsSslModeValue
Endpoint.Builder externalId(String externalId)
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.
externalId
- 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.Endpoint.Builder dynamoDbSettings(DynamoDbSettings dynamoDbSettings)
The settings for the target DynamoDB database. For more information, see the DynamoDBSettings
structure.
dynamoDbSettings
- The settings for the target DynamoDB database. For more information, see the
DynamoDBSettings
structure.default Endpoint.Builder dynamoDbSettings(Consumer<DynamoDbSettings.Builder> dynamoDbSettings)
The settings for the target DynamoDB database. For more information, see the DynamoDBSettings
structure.
DynamoDbSettings.Builder
avoiding the need to
create one manually via DynamoDbSettings.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to dynamoDbSettings(DynamoDbSettings)
.dynamoDbSettings
- a consumer that will call methods on DynamoDbSettings.Builder
dynamoDbSettings(DynamoDbSettings)
Endpoint.Builder s3Settings(S3Settings s3Settings)
The settings for the S3 target endpoint. For more information, see the S3Settings
structure.
s3Settings
- The settings for the S3 target endpoint. For more information, see the S3Settings
structure.default Endpoint.Builder s3Settings(Consumer<S3Settings.Builder> s3Settings)
The settings for the S3 target endpoint. For more information, see the S3Settings
structure.
S3Settings.Builder
avoiding the need to create
one manually via S3Settings.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to s3Settings(S3Settings)
.s3Settings
- a consumer that will call methods on S3Settings.Builder
s3Settings(S3Settings)
Endpoint.Builder mongoDbSettings(MongoDbSettings mongoDbSettings)
The settings for the MongoDB source endpoint. For more information, see the MongoDbSettings
structure.
mongoDbSettings
- The settings for the MongoDB source endpoint. For more information, see the
MongoDbSettings
structure.default Endpoint.Builder mongoDbSettings(Consumer<MongoDbSettings.Builder> mongoDbSettings)
The settings for the MongoDB source endpoint. For more information, see the MongoDbSettings
structure.
MongoDbSettings.Builder
avoiding the need to
create one manually via MongoDbSettings.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to mongoDbSettings(MongoDbSettings)
.mongoDbSettings
- a consumer that will call methods on MongoDbSettings.Builder
mongoDbSettings(MongoDbSettings)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.