@Generated(value="software.amazon.awssdk:codegen") public final class Endpoint extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Endpoint.Builder,Endpoint>
Describes an endpoint of a database instance in response to operations such as the following:
CreateEndpoint
DescribeEndpoint
DescribeEndpointTypes
ModifyEndpoint
| Modifier and Type | Class and Description |
|---|---|
static interface |
Endpoint.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Endpoint.Builder |
builder() |
String |
certificateArn()
The Amazon Resource Name (ARN) used for SSL connection to the endpoint.
|
String |
databaseName()
The name of the database at the endpoint.
|
DmsTransferSettings |
dmsTransferSettings()
The settings in JSON format for the DMS transfer type of source endpoint.
|
DocDbSettings |
docDbSettings()
Returns the value of the DocDbSettings property for this object.
|
DynamoDbSettings |
dynamoDbSettings()
The settings for the DynamoDB target endpoint.
|
ElasticsearchSettings |
elasticsearchSettings()
The settings for the Elasticsearch source endpoint.
|
String |
endpointArn()
The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
|
String |
endpointIdentifier()
The database endpoint identifier.
|
ReplicationEndpointTypeValue |
endpointType()
The type of endpoint.
|
String |
endpointTypeAsString()
The type of endpoint.
|
String |
engineDisplayName()
The expanded name for the engine name.
|
String |
engineName()
The database engine name.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
externalId()
Value returned by a call to CreateEndpoint that can be used for cross-account validation.
|
String |
externalTableDefinition()
The external table definition.
|
String |
extraConnectionAttributes()
Additional connection attributes used to connect to the endpoint.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
IBMDb2Settings |
ibmDb2Settings()
The settings for the IBM Db2 LUW source endpoint.
|
KafkaSettings |
kafkaSettings()
The settings for the Apache Kafka target endpoint.
|
KinesisSettings |
kinesisSettings()
The settings for the Amazon Kinesis target endpoint.
|
String |
kmsKeyId()
An AWS KMS key identifier that is used to encrypt the connection parameters for the endpoint.
|
MicrosoftSQLServerSettings |
microsoftSQLServerSettings()
The settings for the Microsoft SQL Server source and target endpoint.
|
MongoDbSettings |
mongoDbSettings()
The settings for the MongoDB source endpoint.
|
MySQLSettings |
mySQLSettings()
The settings for the MySQL source and target endpoint.
|
NeptuneSettings |
neptuneSettings()
The settings for the Amazon Neptune target endpoint.
|
OracleSettings |
oracleSettings()
The settings for the Oracle source and target endpoint.
|
Integer |
port()
The port value used to access the endpoint.
|
PostgreSQLSettings |
postgreSQLSettings()
The settings for the PostgreSQL source and target endpoint.
|
RedshiftSettings |
redshiftSettings()
Settings for the Amazon Redshift endpoint.
|
S3Settings |
s3Settings()
The settings for the S3 target endpoint.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Endpoint.Builder> |
serializableBuilderClass() |
String |
serverName()
The name of the server at the endpoint.
|
String |
serviceAccessRoleArn()
The Amazon Resource Name (ARN) used by the service access IAM role.
|
DmsSslModeValue |
sslMode()
The SSL mode used to connect to the endpoint.
|
String |
sslModeAsString()
The SSL mode used to connect to the endpoint.
|
String |
status()
The status of the endpoint.
|
SybaseSettings |
sybaseSettings()
The settings for the SAP ASE source and target endpoint.
|
Endpoint.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
username()
The user name used to connect to the endpoint.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String endpointIdentifier()
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.
public final ReplicationEndpointTypeValue endpointType()
The type of endpoint. Valid values are source and target.
If the service returns an enum value that is not available in the current SDK version, endpointType will
return ReplicationEndpointTypeValue.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from endpointTypeAsString().
source and target.ReplicationEndpointTypeValuepublic final String endpointTypeAsString()
The type of endpoint. Valid values are source and target.
If the service returns an enum value that is not available in the current SDK version, endpointType will
return ReplicationEndpointTypeValue.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from endpointTypeAsString().
source and target.ReplicationEndpointTypeValuepublic final 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", "dynamodb", "mongodb",
"kinesis", "kafka", "elasticsearch", "documentdb",
"sqlserver", and "neptune".
"mysql",
"oracle", "postgres", "mariadb", "aurora",
"aurora-postgresql", "redshift", "s3", "db2",
"azuredb", "sybase", "dynamodb", "mongodb",
"kinesis", "kafka", "elasticsearch", "documentdb",
"sqlserver", and "neptune".public final String engineDisplayName()
The expanded name for the engine name. For example, if the EngineName parameter is "aurora," this
value would be "Amazon Aurora MySQL."
EngineName parameter is "aurora,"
this value would be "Amazon Aurora MySQL."public final String username()
The user name used to connect to the endpoint.
public final String serverName()
The name of the server at the endpoint.
public final Integer port()
The port value used to access the endpoint.
public final String databaseName()
The name of the database at the endpoint.
public final String extraConnectionAttributes()
Additional connection attributes used to connect to the endpoint.
public final String status()
The status of the endpoint.
public final String kmsKeyId()
An AWS 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 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.
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.
public final String endpointArn()
The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
public final String certificateArn()
The Amazon Resource Name (ARN) used for SSL connection to the endpoint.
public final DmsSslModeValue sslMode()
The SSL mode used to connect to the endpoint. The default value is none.
If the service returns an enum value that is not available in the current SDK version, sslMode will
return DmsSslModeValue.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
sslModeAsString().
none.DmsSslModeValuepublic final String sslModeAsString()
The SSL mode used to connect to the endpoint. The default value is none.
If the service returns an enum value that is not available in the current SDK version, sslMode will
return DmsSslModeValue.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
sslModeAsString().
none.DmsSslModeValuepublic final String serviceAccessRoleArn()
The Amazon Resource Name (ARN) used by the service access IAM role.
public final String externalTableDefinition()
The external table definition.
public final 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.
public final DynamoDbSettings dynamoDbSettings()
The settings for the DynamoDB target endpoint. For more information, see the DynamoDBSettings
structure.
DynamoDBSettings structure.public final S3Settings s3Settings()
The settings for the S3 target endpoint. For more information, see the S3Settings structure.
S3Settings structure.public final DmsTransferSettings dmsTransferSettings()
The settings in JSON format for the DMS transfer type of source endpoint.
Possible settings 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 settings is as follows:
ServiceAccessRoleArn=string,BucketName=string,CompressionType=string
JSON syntax for these settings is as follows:
{ "ServiceAccessRoleArn": "string", "BucketName": "string", "CompressionType": "none"|"gzip" }
Possible settings 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 settings is as follows:
ServiceAccessRoleArn=string,BucketName=string,CompressionType=string
JSON syntax for these settings is as follows:
{ "ServiceAccessRoleArn": "string", "BucketName": "string", "CompressionType": "none"|"gzip" }
public final MongoDbSettings mongoDbSettings()
The settings for the MongoDB source endpoint. For more information, see the MongoDbSettings
structure.
MongoDbSettings
structure.public final KinesisSettings kinesisSettings()
The settings for the Amazon Kinesis target endpoint. For more information, see the KinesisSettings
structure.
KinesisSettings structure.public final KafkaSettings kafkaSettings()
The settings for the Apache Kafka target endpoint. For more information, see the KafkaSettings
structure.
KafkaSettings structure.public final ElasticsearchSettings elasticsearchSettings()
The settings for the Elasticsearch source endpoint. For more information, see the
ElasticsearchSettings structure.
ElasticsearchSettings structure.public final NeptuneSettings neptuneSettings()
The settings for the Amazon Neptune target endpoint. For more information, see the NeptuneSettings
structure.
NeptuneSettings structure.public final RedshiftSettings redshiftSettings()
Settings for the Amazon Redshift endpoint.
public final PostgreSQLSettings postgreSQLSettings()
The settings for the PostgreSQL source and target endpoint. For more information, see the
PostgreSQLSettings structure.
PostgreSQLSettings structure.public final MySQLSettings mySQLSettings()
The settings for the MySQL source and target endpoint. For more information, see the MySQLSettings
structure.
MySQLSettings structure.public final OracleSettings oracleSettings()
The settings for the Oracle source and target endpoint. For more information, see the OracleSettings
structure.
OracleSettings structure.public final SybaseSettings sybaseSettings()
The settings for the SAP ASE source and target endpoint. For more information, see the
SybaseSettings structure.
SybaseSettings structure.public final MicrosoftSQLServerSettings microsoftSQLServerSettings()
The settings for the Microsoft SQL Server source and target endpoint. For more information, see the
MicrosoftSQLServerSettings structure.
MicrosoftSQLServerSettings structure.public final IBMDb2Settings ibmDb2Settings()
The settings for the IBM Db2 LUW source endpoint. For more information, see the IBMDb2Settings
structure.
IBMDb2Settings structure.public final DocDbSettings docDbSettings()
public Endpoint.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Endpoint.Builder,Endpoint>public static Endpoint.Builder builder()
public static Class<? extends Endpoint.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.