Class CreateEndpointRequest
- All Implemented Interfaces:
SdkPojo
,ToCopyableBuilder<CreateEndpointRequest.Builder,
CreateEndpointRequest>
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
final String
The Amazon Resource Name (ARN) for the certificate.final String
The name of the endpoint database.final DmsTransferSettings
The settings in JSON format for the DMS transfer type of source endpoint.final DocDbSettings
Returns the value of the DocDbSettings property for this object.final DynamoDbSettings
Settings in JSON format for the target Amazon DynamoDB endpoint.final ElasticsearchSettings
Settings in JSON format for the target OpenSearch endpoint.final String
The database endpoint identifier.The type of endpoint.final String
The type of endpoint.final String
The type of engine for the endpoint.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final String
The external table definition.final String
Additional attributes associated with the connection.final GcpMySQLSettings
Settings in JSON format for the source GCP MySQL endpoint.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) Used to retrieve the value of a field from any class that extendsSdkRequest
.final int
hashCode()
final boolean
hasTags()
For responses, this returns true if the service returned a value for the Tags property.final IBMDb2Settings
Settings in JSON format for the source IBM Db2 LUW endpoint.final KafkaSettings
Settings in JSON format for the target Apache Kafka endpoint.final KinesisSettings
Settings in JSON format for the target endpoint for Amazon Kinesis Data Streams.final String
kmsKeyId()
An KMS key identifier that is used to encrypt the connection parameters for the endpoint.Settings in JSON format for the source and target Microsoft SQL Server endpoint.final MongoDbSettings
Settings in JSON format for the source MongoDB endpoint.final MySQLSettings
Settings in JSON format for the source and target MySQL endpoint.final NeptuneSettings
Settings in JSON format for the target Amazon Neptune endpoint.final OracleSettings
Settings in JSON format for the source and target Oracle endpoint.final String
password()
The password to be used to log in to the endpoint database.final Integer
port()
The port used by the endpoint database.final PostgreSQLSettings
Settings in JSON format for the source and target PostgreSQL endpoint.final RedisSettings
Settings in JSON format for the target Redis endpoint.final RedshiftSettings
Returns the value of the RedshiftSettings property for this object.final String
A friendly name for the resource identifier at the end of theEndpointArn
response parameter that is returned in the createdEndpoint
object.final S3Settings
Settings in JSON format for the target Amazon S3 endpoint.static Class
<? extends CreateEndpointRequest.Builder> final String
The name of the server where the endpoint database resides.final String
The Amazon Resource Name (ARN) for the service access role that you want to use to create the endpoint.final DmsSslModeValue
sslMode()
The Secure Sockets Layer (SSL) mode to use for the SSL connection.final String
The Secure Sockets Layer (SSL) mode to use for the SSL connection.final SybaseSettings
Settings in JSON format for the source and target SAP ASE endpoint.tags()
One or more tags to be assigned to the endpoint.final TimestreamSettings
Settings in JSON format for the target Amazon Timestream endpoint.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.final String
username()
The user name to be used to log in to the endpoint database.Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
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
The type of endpoint. Valid values are
source
andtarget
.If the service returns an enum value that is not available in the current SDK version,
endpointType
will returnReplicationEndpointTypeValue.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromendpointTypeAsString()
.- Returns:
- The type of endpoint. Valid values are
source
andtarget
. - See Also:
-
endpointTypeAsString
The type of endpoint. Valid values are
source
andtarget
.If the service returns an enum value that is not available in the current SDK version,
endpointType
will returnReplicationEndpointTypeValue.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromendpointTypeAsString()
.- Returns:
- The type of endpoint. Valid values are
source
andtarget
. - See Also:
-
engineName
The type of engine for the endpoint. Valid values, depending on the
EndpointType
value, include"mysql"
,"oracle"
,"postgres"
,"mariadb"
,"aurora"
,"aurora-postgresql"
,"opensearch"
,"redshift"
,"s3"
,"db2"
,"db2-zos"
,"azuredb"
,"sybase"
,"dynamodb"
,"mongodb"
,"kinesis"
,"kafka"
,"elasticsearch"
,"docdb"
,"sqlserver"
,"neptune"
,"babelfish"
,redshift-serverless
,aurora-serverless
,aurora-postgresql-serverless
,gcp-mysql
,azure-sql-managed-instance
,redis
,dms-transfer
.- Returns:
- The type of engine for the endpoint. Valid values, depending on the
EndpointType
value, include"mysql"
,"oracle"
,"postgres"
,"mariadb"
,"aurora"
,"aurora-postgresql"
,"opensearch"
,"redshift"
,"s3"
,"db2"
,"db2-zos"
,"azuredb"
,"sybase"
,"dynamodb"
,"mongodb"
,"kinesis"
,"kafka"
,"elasticsearch"
,"docdb"
,"sqlserver"
,"neptune"
,"babelfish"
,redshift-serverless
,aurora-serverless
,aurora-postgresql-serverless
,gcp-mysql
,azure-sql-managed-instance
,redis
,dms-transfer
.
-
username
The user name to be used to log in to the endpoint database.
- Returns:
- The user name to be used to log in to the endpoint database.
-
password
The password to be used to log in to the endpoint database.
- Returns:
- The password to be used to log in to the endpoint database.
-
serverName
The name of the server where the endpoint database resides.
- Returns:
- The name of the server where the endpoint database resides.
-
port
The port used by the endpoint database.
- Returns:
- The port used by the endpoint database.
-
databaseName
The name of the endpoint database. For a MySQL source or target endpoint, do not specify DatabaseName. To migrate to a specific database, use this setting and
targetDbType
.- Returns:
- The name of the endpoint database. For a MySQL source or target endpoint, do not specify DatabaseName. To
migrate to a specific database, use this setting and
targetDbType
.
-
extraConnectionAttributes
Additional attributes associated with the connection. Each attribute is specified as a name-value pair associated by an equal sign (=). Multiple attributes are separated by a semicolon (;) with no additional white space. For information on the attributes available for connecting your source or target endpoint, see Working with DMS Endpoints in the Database Migration Service User Guide.
- Returns:
- Additional attributes associated with the connection. Each attribute is specified as a name-value pair associated by an equal sign (=). Multiple attributes are separated by a semicolon (;) with no additional white space. For information on the attributes available for connecting your source or target endpoint, see Working with DMS Endpoints in the Database Migration Service User Guide.
-
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
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.
- 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
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.
-
hasTags
public final boolean hasTags()For responses, this returns true if the service returned a value for the Tags property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()
method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
tags
One or more tags to be assigned to the endpoint.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasTags()
method.- Returns:
- One or more tags to be assigned to the endpoint.
-
certificateArn
The Amazon Resource Name (ARN) for the certificate.
- Returns:
- The Amazon Resource Name (ARN) for the certificate.
-
sslMode
The Secure Sockets Layer (SSL) mode to use for the SSL connection. The default is
none
If the service returns an enum value that is not available in the current SDK version,
sslMode
will returnDmsSslModeValue.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromsslModeAsString()
.- Returns:
- The Secure Sockets Layer (SSL) mode to use for the SSL connection. The default is
none
- See Also:
-
sslModeAsString
The Secure Sockets Layer (SSL) mode to use for the SSL connection. The default is
none
If the service returns an enum value that is not available in the current SDK version,
sslMode
will returnDmsSslModeValue.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromsslModeAsString()
.- Returns:
- The Secure Sockets Layer (SSL) mode to use for the SSL connection. The default is
none
- See Also:
-
serviceAccessRoleArn
The Amazon Resource Name (ARN) for the service access role that you want to use to create the endpoint. The role must allow the
iam:PassRole
action.- Returns:
- The Amazon Resource Name (ARN) for the service access role that you want to use to create the endpoint.
The role must allow the
iam:PassRole
action.
-
externalTableDefinition
The external table definition.
- Returns:
- The external table definition.
-
dynamoDbSettings
Settings in JSON format for the target Amazon DynamoDB endpoint. For information about other available settings, see Using Object Mapping to Migrate Data to DynamoDB in the Database Migration Service User Guide.
- Returns:
- Settings in JSON format for the target Amazon DynamoDB endpoint. For information about other available settings, see Using Object Mapping to Migrate Data to DynamoDB in the Database Migration Service User Guide.
-
s3Settings
Settings in JSON format for the target Amazon S3 endpoint. For more information about the available settings, see Extra Connection Attributes When Using Amazon S3 as a Target for DMS in the Database Migration Service User Guide.
- Returns:
- Settings in JSON format for the target Amazon S3 endpoint. For more information about the available settings, see Extra Connection Attributes When Using Amazon S3 as a Target for DMS in the Database Migration Service User Guide.
-
dmsTransferSettings
The settings in JSON format for the DMS transfer type of source endpoint.
Possible settings include the following:
-
ServiceAccessRoleArn
- The Amazon Resource Name (ARN) used by the service access IAM role. The role must allow theiam:PassRole
action. -
BucketName
- The name of the S3 bucket to use.
Shorthand syntax for these settings is as follows:
ServiceAccessRoleArn=string,BucketName=string
JSON syntax for these settings is as follows:
{ "ServiceAccessRoleArn": "string", "BucketName": "string", }
- Returns:
- The settings in JSON format for the DMS transfer type of source endpoint.
Possible settings include the following:
-
ServiceAccessRoleArn
- The Amazon Resource Name (ARN) used by the service access IAM role. The role must allow theiam:PassRole
action. -
BucketName
- The name of the S3 bucket to use.
Shorthand syntax for these settings is as follows:
ServiceAccessRoleArn=string,BucketName=string
JSON syntax for these settings is as follows:
{ "ServiceAccessRoleArn": "string", "BucketName": "string", }
-
-
-
mongoDbSettings
Settings in JSON format for the source MongoDB endpoint. For more information about the available settings, see Endpoint configuration settings when using MongoDB as a source for Database Migration Service in the Database Migration Service User Guide.
- Returns:
- Settings in JSON format for the source MongoDB endpoint. For more information about the available settings, see Endpoint configuration settings when using MongoDB as a source for Database Migration Service in the Database Migration Service User Guide.
-
kinesisSettings
Settings in JSON format for the target endpoint for Amazon Kinesis Data Streams. For more information about the available settings, see Using object mapping to migrate data to a Kinesis data stream in the Database Migration Service User Guide.
- Returns:
- Settings in JSON format for the target endpoint for Amazon Kinesis Data Streams. For more information about the available settings, see Using object mapping to migrate data to a Kinesis data stream in the Database Migration Service User Guide.
-
kafkaSettings
Settings in JSON format for the target Apache Kafka endpoint. For more information about the available settings, see Using object mapping to migrate data to a Kafka topic in the Database Migration Service User Guide.
- Returns:
- Settings in JSON format for the target Apache Kafka endpoint. For more information about the available settings, see Using object mapping to migrate data to a Kafka topic in the Database Migration Service User Guide.
-
elasticsearchSettings
Settings in JSON format for the target OpenSearch endpoint. For more information about the available settings, see Extra Connection Attributes When Using OpenSearch as a Target for DMS in the Database Migration Service User Guide.
- Returns:
- Settings in JSON format for the target OpenSearch endpoint. For more information about the available settings, see Extra Connection Attributes When Using OpenSearch as a Target for DMS in the Database Migration Service User Guide.
-
neptuneSettings
Settings in JSON format for the target Amazon Neptune endpoint. For more information about the available settings, see Specifying graph-mapping rules using Gremlin and R2RML for Amazon Neptune as a target in the Database Migration Service User Guide.
- Returns:
- Settings in JSON format for the target Amazon Neptune endpoint. For more information about the available settings, see Specifying graph-mapping rules using Gremlin and R2RML for Amazon Neptune as a target in the Database Migration Service User Guide.
-
redshiftSettings
Returns the value of the RedshiftSettings property for this object.- Returns:
- The value of the RedshiftSettings property for this object.
-
postgreSQLSettings
Settings in JSON format for the source and target PostgreSQL endpoint. For information about other available settings, see Extra connection attributes when using PostgreSQL as a source for DMS and Extra connection attributes when using PostgreSQL as a target for DMS in the Database Migration Service User Guide.
- Returns:
- Settings in JSON format for the source and target PostgreSQL endpoint. For information about other available settings, see Extra connection attributes when using PostgreSQL as a source for DMS and Extra connection attributes when using PostgreSQL as a target for DMS in the Database Migration Service User Guide.
-
mySQLSettings
Settings in JSON format for the source and target MySQL endpoint. For information about other available settings, see Extra connection attributes when using MySQL as a source for DMS and Extra connection attributes when using a MySQL-compatible database as a target for DMS in the Database Migration Service User Guide.
- Returns:
- Settings in JSON format for the source and target MySQL endpoint. For information about other available settings, see Extra connection attributes when using MySQL as a source for DMS and Extra connection attributes when using a MySQL-compatible database as a target for DMS in the Database Migration Service User Guide.
-
oracleSettings
Settings in JSON format for the source and target Oracle endpoint. For information about other available settings, see Extra connection attributes when using Oracle as a source for DMS and Extra connection attributes when using Oracle as a target for DMS in the Database Migration Service User Guide.
- Returns:
- Settings in JSON format for the source and target Oracle endpoint. For information about other available settings, see Extra connection attributes when using Oracle as a source for DMS and Extra connection attributes when using Oracle as a target for DMS in the Database Migration Service User Guide.
-
sybaseSettings
Settings in JSON format for the source and target SAP ASE endpoint. For information about other available settings, see Extra connection attributes when using SAP ASE as a source for DMS and Extra connection attributes when using SAP ASE as a target for DMS in the Database Migration Service User Guide.
- Returns:
- Settings in JSON format for the source and target SAP ASE endpoint. For information about other available settings, see Extra connection attributes when using SAP ASE as a source for DMS and Extra connection attributes when using SAP ASE as a target for DMS in the Database Migration Service User Guide.
-
microsoftSQLServerSettings
Settings in JSON format for the source and target Microsoft SQL Server endpoint. For information about other available settings, see Extra connection attributes when using SQL Server as a source for DMS and Extra connection attributes when using SQL Server as a target for DMS in the Database Migration Service User Guide.
- Returns:
- Settings in JSON format for the source and target Microsoft SQL Server endpoint. For information about other available settings, see Extra connection attributes when using SQL Server as a source for DMS and Extra connection attributes when using SQL Server as a target for DMS in the Database Migration Service User Guide.
-
ibmDb2Settings
Settings in JSON format for the source IBM Db2 LUW endpoint. For information about other available settings, see Extra connection attributes when using Db2 LUW as a source for DMS in the Database Migration Service User Guide.
- Returns:
- Settings in JSON format for the source IBM Db2 LUW endpoint. For information about other available settings, see Extra connection attributes when using Db2 LUW as a source for DMS in the Database Migration Service User Guide.
-
resourceIdentifier
A friendly name for the resource identifier at the end of the
EndpointArn
response parameter that is returned in the createdEndpoint
object. The value for this parameter can have up to 31 characters. It can contain only ASCII letters, digits, and hyphen ('-'). Also, it can't end with a hyphen or contain two consecutive hyphens, and can only begin with a letter, such asExample-App-ARN1
. For example, this value might result in theEndpointArn
valuearn:aws:dms:eu-west-1:012345678901:rep:Example-App-ARN1
. If you don't specify aResourceIdentifier
value, DMS generates a default identifier value for the end ofEndpointArn
.- Returns:
- A friendly name for the resource identifier at the end of the
EndpointArn
response parameter that is returned in the createdEndpoint
object. The value for this parameter can have up to 31 characters. It can contain only ASCII letters, digits, and hyphen ('-'). Also, it can't end with a hyphen or contain two consecutive hyphens, and can only begin with a letter, such asExample-App-ARN1
. For example, this value might result in theEndpointArn
valuearn:aws:dms:eu-west-1:012345678901:rep:Example-App-ARN1
. If you don't specify aResourceIdentifier
value, DMS generates a default identifier value for the end ofEndpointArn
.
-
docDbSettings
Returns the value of the DocDbSettings property for this object.- Returns:
- The value of the DocDbSettings property for this object.
-
redisSettings
Settings in JSON format for the target Redis endpoint.
- Returns:
- Settings in JSON format for the target Redis endpoint.
-
gcpMySQLSettings
Settings in JSON format for the source GCP MySQL endpoint.
- Returns:
- Settings in JSON format for the source GCP MySQL endpoint.
-
timestreamSettings
Settings in JSON format for the target Amazon Timestream endpoint.
- Returns:
- Settings in JSON format for the target Amazon Timestream endpoint.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<CreateEndpointRequest.Builder,
CreateEndpointRequest> - Specified by:
toBuilder
in classDatabaseMigrationRequest
- Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode()- Overrides:
hashCode
in classAwsRequest
-
equals
- Overrides:
equals
in classAwsRequest
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
Description copied from class:SdkRequest
Used to retrieve the value of a field from any class that extendsSdkRequest
. The field name specified should match the member name from the corresponding service-2.json model specified in the codegen-resources folder for a given service. The class specifies what class to cast the returned value to. If the returned value is also a modeled class, theSdkRequest.getValueForField(String, Class)
method will again be available.- Overrides:
getValueForField
in classSdkRequest
- Parameters:
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.- Returns:
- Optional containing the casted return value
-
sdkFields
-