public static interface Endpoint.Builder extends SdkPojo, 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 |
dmsTransferSettings(Consumer<DmsTransferSettings.Builder> dmsTransferSettings)
The settings in JSON format for the DMS transfer type of source endpoint.
|
Endpoint.Builder |
dmsTransferSettings(DmsTransferSettings dmsTransferSettings)
The settings in JSON format for the DMS transfer type of source 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.
|
default Endpoint.Builder |
elasticsearchSettings(Consumer<ElasticsearchSettings.Builder> elasticsearchSettings)
The settings for the Elasticsearch source endpoint.
|
Endpoint.Builder |
elasticsearchSettings(ElasticsearchSettings elasticsearchSettings)
The settings for the Elasticsearch source endpoint.
|
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 |
engineDisplayName(String engineDisplayName)
The expanded name for the engine name.
|
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 |
externalTableDefinition(String externalTableDefinition)
The external table definition.
|
Endpoint.Builder |
extraConnectionAttributes(String extraConnectionAttributes)
Additional connection attributes used to connect to the endpoint.
|
default Endpoint.Builder |
kinesisSettings(Consumer<KinesisSettings.Builder> kinesisSettings)
The settings for the Amazon Kinesis source endpoint.
|
Endpoint.Builder |
kinesisSettings(KinesisSettings kinesisSettings)
The settings for the Amazon Kinesis source endpoint.
|
Endpoint.Builder |
kmsKeyId(String kmsKeyId)
The AWS KMS key identifier that is used to encrypt the content on the replication instance.
|
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 |
serviceAccessRoleArn(String serviceAccessRoleArn)
The Amazon Resource Name (ARN) used by the service access IAM role.
|
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, aurora-postgresql, redshift, s3, db2, azuredb, sybase, sybase, dynamodb, mongodb, and sqlserver.
engineName
- The database engine name. Valid values, depending on the EndPointType, include mysql, oracle,
postgres, mariadb, aurora, aurora-postgresql, redshift, s3, db2, azuredb, sybase, sybase, dynamodb,
mongodb, and sqlserver.Endpoint.Builder engineDisplayName(String engineDisplayName)
The expanded name for the engine name. For example, if the EngineName
parameter is "aurora,"
this value would be "Amazon Aurora MySQL."
engineDisplayName
- The expanded name for the engine name. For example, if the EngineName
parameter is
"aurora," this value would be "Amazon Aurora MySQL."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 AWS KMS key identifier that is used to encrypt the content on the replication instance. If you don't
specify a value for the KmsKeyId
parameter, then AWS DMS uses 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 AWS KMS key identifier that is used to encrypt the content on the replication instance. If you
don't specify a value for the KmsKeyId
parameter, then AWS DMS uses 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 serviceAccessRoleArn(String serviceAccessRoleArn)
The Amazon Resource Name (ARN) used by the service access IAM role.
serviceAccessRoleArn
- The Amazon Resource Name (ARN) used by the service access IAM role.Endpoint.Builder externalTableDefinition(String externalTableDefinition)
The external table definition.
externalTableDefinition
- The external table definition.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 dmsTransferSettings(DmsTransferSettings dmsTransferSettings)
The settings in JSON format for the DMS transfer type of source endpoint.
Possible attributes include the following:
serviceAccessRoleArn
- The IAM role that has permission to access the Amazon S3 bucket.
bucketName
- The name of the S3 bucket to use.
compressionType
- An optional parameter to use GZIP to compress the target files. To use GZIP,
set this value to NONE
(the default). To keep the files uncompressed, don't use this value.
Shorthand syntax for these attributes is as follows:
ServiceAccessRoleArn=string,BucketName=string,CompressionType=string
JSON syntax for these attributes is as follows:
{ "ServiceAccessRoleArn": "string", "BucketName": "string", "CompressionType": "none"|"gzip" }
dmsTransferSettings
- The settings in JSON format for the DMS transfer type of source endpoint.
Possible attributes include the following:
serviceAccessRoleArn
- The IAM role that has permission to access the Amazon S3 bucket.
bucketName
- The name of the S3 bucket to use.
compressionType
- An optional parameter to use GZIP to compress the target files. To use
GZIP, set this value to NONE
(the default). To keep the files uncompressed, don't use
this value.
Shorthand syntax for these attributes is as follows:
ServiceAccessRoleArn=string,BucketName=string,CompressionType=string
JSON syntax for these attributes is as follows:
{ "ServiceAccessRoleArn": "string", "BucketName": "string", "CompressionType": "none"|"gzip" }
default Endpoint.Builder dmsTransferSettings(Consumer<DmsTransferSettings.Builder> dmsTransferSettings)
The settings in JSON format for the DMS transfer type of source endpoint.
Possible attributes include the following:
serviceAccessRoleArn
- The IAM role that has permission to access the Amazon S3 bucket.
bucketName
- The name of the S3 bucket to use.
compressionType
- An optional parameter to use GZIP to compress the target files. To use GZIP,
set this value to NONE
(the default). To keep the files uncompressed, don't use this value.
Shorthand syntax for these attributes is as follows:
ServiceAccessRoleArn=string,BucketName=string,CompressionType=string
JSON syntax for these attributes is as follows:
{ "ServiceAccessRoleArn": "string", "BucketName": "string", "CompressionType": "none"|"gzip" }
DmsTransferSettings.Builder
avoiding the need
to create one manually via DmsTransferSettings.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to dmsTransferSettings(DmsTransferSettings)
.dmsTransferSettings
- a consumer that will call methods on DmsTransferSettings.Builder
dmsTransferSettings(DmsTransferSettings)
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)
Endpoint.Builder kinesisSettings(KinesisSettings kinesisSettings)
The settings for the Amazon Kinesis source endpoint. For more information, see the
KinesisSettings
structure.
kinesisSettings
- The settings for the Amazon Kinesis source endpoint. For more information, see the
KinesisSettings
structure.default Endpoint.Builder kinesisSettings(Consumer<KinesisSettings.Builder> kinesisSettings)
The settings for the Amazon Kinesis source endpoint. For more information, see the
KinesisSettings
structure.
KinesisSettings.Builder
avoiding the need to
create one manually via KinesisSettings.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to kinesisSettings(KinesisSettings)
.kinesisSettings
- a consumer that will call methods on KinesisSettings.Builder
kinesisSettings(KinesisSettings)
Endpoint.Builder elasticsearchSettings(ElasticsearchSettings elasticsearchSettings)
The settings for the Elasticsearch source endpoint. For more information, see the
ElasticsearchSettings
structure.
elasticsearchSettings
- The settings for the Elasticsearch source endpoint. For more information, see the
ElasticsearchSettings
structure.default Endpoint.Builder elasticsearchSettings(Consumer<ElasticsearchSettings.Builder> elasticsearchSettings)
The settings for the Elasticsearch source endpoint. For more information, see the
ElasticsearchSettings
structure.
ElasticsearchSettings.Builder
avoiding the need
to create one manually via ElasticsearchSettings.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to elasticsearchSettings(ElasticsearchSettings)
.elasticsearchSettings
- a consumer that will call methods on ElasticsearchSettings.Builder
elasticsearchSettings(ElasticsearchSettings)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.