Class Endpoint
- java.lang.Object
-
- software.amazon.awssdk.services.databasemigration.model.Endpoint
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Endpoint.Builder,Endpoint>
@Generated("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 -
ModifyEndpoint
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEndpoint.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Endpoint.Builderbuilder()StringcertificateArn()The Amazon Resource Name (ARN) used for SSL connection to the endpoint.StringdatabaseName()The name of the database at the endpoint.DmsTransferSettingsdmsTransferSettings()The settings for the DMS Transfer type source.DocDbSettingsdocDbSettings()Returns the value of the DocDbSettings property for this object.DynamoDbSettingsdynamoDbSettings()The settings for the DynamoDB target endpoint.ElasticsearchSettingselasticsearchSettings()The settings for the OpenSearch source endpoint.StringendpointArn()The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.StringendpointIdentifier()The database endpoint identifier.ReplicationEndpointTypeValueendpointType()The type of endpoint.StringendpointTypeAsString()The type of endpoint.StringengineDisplayName()The expanded name for the engine name.StringengineName()The database engine name.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringexternalId()Value returned by a call to CreateEndpoint that can be used for cross-account validation.StringexternalTableDefinition()The external table definition.StringextraConnectionAttributes()Additional connection attributes used to connect to the endpoint.GcpMySQLSettingsgcpMySQLSettings()Settings in JSON format for the source GCP MySQL endpoint.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IBMDb2SettingsibmDb2Settings()The settings for the IBM Db2 LUW source endpoint.KafkaSettingskafkaSettings()The settings for the Apache Kafka target endpoint.KinesisSettingskinesisSettings()The settings for the Amazon Kinesis target endpoint.StringkmsKeyId()An KMS key identifier that is used to encrypt the connection parameters for the endpoint.MicrosoftSQLServerSettingsmicrosoftSQLServerSettings()The settings for the Microsoft SQL Server source and target endpoint.MongoDbSettingsmongoDbSettings()The settings for the MongoDB source endpoint.MySQLSettingsmySQLSettings()The settings for the MySQL source and target endpoint.NeptuneSettingsneptuneSettings()The settings for the Amazon Neptune target endpoint.OracleSettingsoracleSettings()The settings for the Oracle source and target endpoint.Integerport()The port value used to access the endpoint.PostgreSQLSettingspostgreSQLSettings()The settings for the PostgreSQL source and target endpoint.RedisSettingsredisSettings()The settings for the Redis target endpoint.RedshiftSettingsredshiftSettings()Settings for the Amazon Redshift endpoint.S3Settingss3Settings()The settings for the S3 target endpoint.List<SdkField<?>>sdkFields()static Class<? extends Endpoint.Builder>serializableBuilderClass()StringserverName()The name of the server at the endpoint.StringserviceAccessRoleArn()The Amazon Resource Name (ARN) used by the service to access the IAM role.DmsSslModeValuesslMode()The SSL mode used to connect to the endpoint.StringsslModeAsString()The SSL mode used to connect to the endpoint.Stringstatus()The status of the endpoint.SybaseSettingssybaseSettings()The settings for the SAP ASE source and target endpoint.TimestreamSettingstimestreamSettings()The settings for the Amazon Timestream target endpoint.Endpoint.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringusername()The user name used to connect to the endpoint.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
endpointIdentifier
public 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.
- Returns:
- 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.
-
endpointType
public final ReplicationEndpointTypeValue endpointType()
The type of endpoint. Valid values are
sourceandtarget.If the service returns an enum value that is not available in the current SDK version,
endpointTypewill returnReplicationEndpointTypeValue.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromendpointTypeAsString().- Returns:
- The type of endpoint. Valid values are
sourceandtarget. - See Also:
ReplicationEndpointTypeValue
-
endpointTypeAsString
public final String endpointTypeAsString()
The type of endpoint. Valid values are
sourceandtarget.If the service returns an enum value that is not available in the current SDK version,
endpointTypewill returnReplicationEndpointTypeValue.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromendpointTypeAsString().- Returns:
- The type of endpoint. Valid values are
sourceandtarget. - See Also:
ReplicationEndpointTypeValue
-
engineName
public final String engineName()
The database engine name. Valid values, depending on the EndpointType, include
"mysql","oracle","postgres","mariadb","aurora","aurora-postgresql","redshift","redshift-serverless","s3","db2","db2-zos","azuredb","sybase","dynamodb","mongodb","kinesis","kafka","elasticsearch","documentdb","sqlserver","neptune", and"babelfish".- Returns:
- The database engine name. Valid values, depending on the EndpointType, include
"mysql","oracle","postgres","mariadb","aurora","aurora-postgresql","redshift","redshift-serverless","s3","db2","db2-zos","azuredb","sybase","dynamodb","mongodb","kinesis","kafka","elasticsearch","documentdb","sqlserver","neptune", and"babelfish".
-
engineDisplayName
public final String engineDisplayName()
The expanded name for the engine name. For example, if the
EngineNameparameter is "aurora", this value would be "Amazon Aurora MySQL".- Returns:
- The expanded name for the engine name. For example, if the
EngineNameparameter is "aurora", this value would be "Amazon Aurora MySQL".
-
username
public final String username()
The user name used to connect to the endpoint.
- Returns:
- The user name used to connect to the endpoint.
-
serverName
public final String serverName()
The name of the server at the endpoint.
- Returns:
- The name of the server at the endpoint.
-
port
public final Integer port()
The port value used to access the endpoint.
- Returns:
- The port value used to access the endpoint.
-
databaseName
public final String databaseName()
The name of the database at the endpoint.
- Returns:
- The name of the database at the endpoint.
-
extraConnectionAttributes
public final String extraConnectionAttributes()
Additional connection attributes used to connect to the endpoint.
- Returns:
- Additional connection attributes used to connect to the endpoint.
-
status
public final String status()
The status of the endpoint.
- Returns:
- The status of the endpoint.
-
kmsKeyId
public final String kmsKeyId()
An KMS key identifier that is used to encrypt the connection parameters for the endpoint.
If you don't specify a value for the
KmsKeyIdparameter, 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.
- Returns:
- An KMS key identifier that is used to encrypt the connection parameters for the endpoint.
If you don't specify a value for the
KmsKeyIdparameter, 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.
-
endpointArn
public final String endpointArn()
The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
- Returns:
- The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
-
certificateArn
public final String certificateArn()
The Amazon Resource Name (ARN) used for SSL connection to the endpoint.
- Returns:
- The Amazon Resource Name (ARN) used for SSL connection to the endpoint.
-
sslMode
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,
sslModewill returnDmsSslModeValue.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsslModeAsString().- Returns:
- The SSL mode used to connect to the endpoint. The default value is
none. - See Also:
DmsSslModeValue
-
sslModeAsString
public 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,
sslModewill returnDmsSslModeValue.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsslModeAsString().- Returns:
- The SSL mode used to connect to the endpoint. The default value is
none. - See Also:
DmsSslModeValue
-
serviceAccessRoleArn
public final String serviceAccessRoleArn()
The Amazon Resource Name (ARN) used by the service to access the IAM role. The role must allow the
iam:PassRoleaction.- Returns:
- The Amazon Resource Name (ARN) used by the service to access the IAM role. The role must allow the
iam:PassRoleaction.
-
externalTableDefinition
public final String externalTableDefinition()
The external table definition.
- Returns:
- The external table definition.
-
externalId
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.
- Returns:
- 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.
-
dynamoDbSettings
public final DynamoDbSettings dynamoDbSettings()
The settings for the DynamoDB target endpoint. For more information, see the
DynamoDBSettingsstructure.- Returns:
- The settings for the DynamoDB target endpoint. For more information, see the
DynamoDBSettingsstructure.
-
s3Settings
public final S3Settings s3Settings()
The settings for the S3 target endpoint. For more information, see the
S3Settingsstructure.- Returns:
- The settings for the S3 target endpoint. For more information, see the
S3Settingsstructure.
-
dmsTransferSettings
public final DmsTransferSettings dmsTransferSettings()
The settings for the DMS Transfer type source. For more information, see the DmsTransferSettings structure.
- Returns:
- The settings for the DMS Transfer type source. For more information, see the DmsTransferSettings structure.
-
mongoDbSettings
public final MongoDbSettings mongoDbSettings()
The settings for the MongoDB source endpoint. For more information, see the
MongoDbSettingsstructure.- Returns:
- The settings for the MongoDB source endpoint. For more information, see the
MongoDbSettingsstructure.
-
kinesisSettings
public final KinesisSettings kinesisSettings()
The settings for the Amazon Kinesis target endpoint. For more information, see the
KinesisSettingsstructure.- Returns:
- The settings for the Amazon Kinesis target endpoint. For more information, see the
KinesisSettingsstructure.
-
kafkaSettings
public final KafkaSettings kafkaSettings()
The settings for the Apache Kafka target endpoint. For more information, see the
KafkaSettingsstructure.- Returns:
- The settings for the Apache Kafka target endpoint. For more information, see the
KafkaSettingsstructure.
-
elasticsearchSettings
public final ElasticsearchSettings elasticsearchSettings()
The settings for the OpenSearch source endpoint. For more information, see the
ElasticsearchSettingsstructure.- Returns:
- The settings for the OpenSearch source endpoint. For more information, see the
ElasticsearchSettingsstructure.
-
neptuneSettings
public final NeptuneSettings neptuneSettings()
The settings for the Amazon Neptune target endpoint. For more information, see the
NeptuneSettingsstructure.- Returns:
- The settings for the Amazon Neptune target endpoint. For more information, see the
NeptuneSettingsstructure.
-
redshiftSettings
public final RedshiftSettings redshiftSettings()
Settings for the Amazon Redshift endpoint.
- Returns:
- Settings for the Amazon Redshift endpoint.
-
postgreSQLSettings
public final PostgreSQLSettings postgreSQLSettings()
The settings for the PostgreSQL source and target endpoint. For more information, see the
PostgreSQLSettingsstructure.- Returns:
- The settings for the PostgreSQL source and target endpoint. For more information, see the
PostgreSQLSettingsstructure.
-
mySQLSettings
public final MySQLSettings mySQLSettings()
The settings for the MySQL source and target endpoint. For more information, see the
MySQLSettingsstructure.- Returns:
- The settings for the MySQL source and target endpoint. For more information, see the
MySQLSettingsstructure.
-
oracleSettings
public final OracleSettings oracleSettings()
The settings for the Oracle source and target endpoint. For more information, see the
OracleSettingsstructure.- Returns:
- The settings for the Oracle source and target endpoint. For more information, see the
OracleSettingsstructure.
-
sybaseSettings
public final SybaseSettings sybaseSettings()
The settings for the SAP ASE source and target endpoint. For more information, see the
SybaseSettingsstructure.- Returns:
- The settings for the SAP ASE source and target endpoint. For more information, see the
SybaseSettingsstructure.
-
microsoftSQLServerSettings
public final MicrosoftSQLServerSettings microsoftSQLServerSettings()
The settings for the Microsoft SQL Server source and target endpoint. For more information, see the
MicrosoftSQLServerSettingsstructure.- Returns:
- The settings for the Microsoft SQL Server source and target endpoint. For more information, see the
MicrosoftSQLServerSettingsstructure.
-
ibmDb2Settings
public final IBMDb2Settings ibmDb2Settings()
The settings for the IBM Db2 LUW source endpoint. For more information, see the
IBMDb2Settingsstructure.- Returns:
- The settings for the IBM Db2 LUW source endpoint. For more information, see the
IBMDb2Settingsstructure.
-
docDbSettings
public final DocDbSettings docDbSettings()
Returns the value of the DocDbSettings property for this object.- Returns:
- The value of the DocDbSettings property for this object.
-
redisSettings
public final RedisSettings redisSettings()
The settings for the Redis target endpoint. For more information, see the
RedisSettingsstructure.- Returns:
- The settings for the Redis target endpoint. For more information, see the
RedisSettingsstructure.
-
gcpMySQLSettings
public final GcpMySQLSettings gcpMySQLSettings()
Settings in JSON format for the source GCP MySQL endpoint.
- Returns:
- Settings in JSON format for the source GCP MySQL endpoint.
-
timestreamSettings
public final TimestreamSettings timestreamSettings()
The settings for the Amazon Timestream target endpoint. For more information, see the
TimestreamSettingsstructure.- Returns:
- The settings for the Amazon Timestream target endpoint. For more information, see the
TimestreamSettingsstructure.
-
toBuilder
public Endpoint.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Endpoint.Builder,Endpoint>
-
builder
public static Endpoint.Builder builder()
-
serializableBuilderClass
public static Class<? extends Endpoint.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-