com.amazonaws.services.databasemigrationservice.model.CreateEndpointRequest Maven / Gradle / Ivy
Show all versions of aws-java-sdk-dms Show documentation
/*
* Copyright 2019-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
* and limitations under the License.
*/
package com.amazonaws.services.databasemigrationservice.model;
import java.io.Serializable;
import javax.annotation.Generated;
import com.amazonaws.AmazonWebServiceRequest;
/**
*
*
* @see AWS API
* Documentation
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public class CreateEndpointRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable {
/**
*
* 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.
*
*/
private String endpointIdentifier;
/**
*
* The type of endpoint. Valid values are source
and target
.
*
*/
private String endpointType;
/**
*
* 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"
, and
* "babelfish"
.
*
*/
private String engineName;
/**
*
* The user name to be used to log in to the endpoint database.
*
*/
private String username;
/**
*
* The password to be used to log in to the endpoint database.
*
*/
private String password;
/**
*
* The name of the server where the endpoint database resides.
*
*/
private String serverName;
/**
*
* The port used by the endpoint database.
*
*/
private Integer port;
/**
*
* 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
.
*
*/
private String databaseName;
/**
*
* 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.
*
*/
private String extraConnectionAttributes;
/**
*
* 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.
*
*/
private String kmsKeyId;
/**
*
* One or more tags to be assigned to the endpoint.
*
*/
private java.util.List tags;
/**
*
* The Amazon Resource Name (ARN) for the certificate.
*
*/
private String certificateArn;
/**
*
* The Secure Sockets Layer (SSL) mode to use for the SSL connection. The default is none
*
*/
private String sslMode;
/**
*
* 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.
*
*/
private String serviceAccessRoleArn;
/**
*
* The external table definition.
*
*/
private String externalTableDefinition;
/**
*
* 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.
*
*/
private DynamoDbSettings dynamoDbSettings;
/**
*
* 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.
*
*/
private S3Settings s3Settings;
/**
*
* 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 the iam: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", }
*
*/
private DmsTransferSettings dmsTransferSettings;
/**
*
* 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.
*
*/
private MongoDbSettings mongoDbSettings;
/**
*
* 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.
*
*/
private KinesisSettings kinesisSettings;
/**
*
* 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.
*
*/
private KafkaSettings kafkaSettings;
/**
*
* 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.
*
*/
private ElasticsearchSettings elasticsearchSettings;
/**
*
* 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.
*
*/
private NeptuneSettings neptuneSettings;
private RedshiftSettings redshiftSettings;
/**
*
* 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.
*
*/
private PostgreSQLSettings postgreSQLSettings;
/**
*
* 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.
*
*/
private MySQLSettings mySQLSettings;
/**
*
* 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.
*
*/
private OracleSettings oracleSettings;
/**
*
* 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.
*
*/
private SybaseSettings sybaseSettings;
/**
*
* 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.
*
*/
private MicrosoftSQLServerSettings microsoftSQLServerSettings;
/**
*
* 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.
*
*/
private IBMDb2Settings iBMDb2Settings;
/**
*
* A friendly name for the resource identifier at the end of the EndpointArn
response parameter that is
* returned in the created Endpoint
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 as Example-App-ARN1
. For example, this
* value might result in the EndpointArn
value
* arn:aws:dms:eu-west-1:012345678901:rep:Example-App-ARN1
. If you don't specify a
* ResourceIdentifier
value, DMS generates a default identifier value for the end of
* EndpointArn
.
*
*/
private String resourceIdentifier;
private DocDbSettings docDbSettings;
/**
*
* Settings in JSON format for the target Redis endpoint.
*
*/
private RedisSettings redisSettings;
/**
*
* Settings in JSON format for the source GCP MySQL endpoint.
*
*/
private GcpMySQLSettings gcpMySQLSettings;
/**
*
* Settings in JSON format for the target Amazon Timestream endpoint.
*
*/
private TimestreamSettings timestreamSettings;
/**
*
* 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.
*
*
* @param 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 void setEndpointIdentifier(String endpointIdentifier) {
this.endpointIdentifier = 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.
*
*
* @return 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 String getEndpointIdentifier() {
return this.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.
*
*
* @param 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.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateEndpointRequest withEndpointIdentifier(String endpointIdentifier) {
setEndpointIdentifier(endpointIdentifier);
return this;
}
/**
*
* The type of endpoint. Valid values are source
and target
.
*
*
* @param endpointType
* The type of endpoint. Valid values are source
and target
.
* @see ReplicationEndpointTypeValue
*/
public void setEndpointType(String endpointType) {
this.endpointType = endpointType;
}
/**
*
* The type of endpoint. Valid values are source
and target
.
*
*
* @return The type of endpoint. Valid values are source
and target
.
* @see ReplicationEndpointTypeValue
*/
public String getEndpointType() {
return this.endpointType;
}
/**
*
* The type of endpoint. Valid values are source
and target
.
*
*
* @param endpointType
* The type of endpoint. Valid values are source
and target
.
* @return Returns a reference to this object so that method calls can be chained together.
* @see ReplicationEndpointTypeValue
*/
public CreateEndpointRequest withEndpointType(String endpointType) {
setEndpointType(endpointType);
return this;
}
/**
*
* The type of endpoint. Valid values are source
and target
.
*
*
* @param endpointType
* The type of endpoint. Valid values are source
and target
.
* @see ReplicationEndpointTypeValue
*/
public void setEndpointType(ReplicationEndpointTypeValue endpointType) {
withEndpointType(endpointType);
}
/**
*
* The type of endpoint. Valid values are source
and target
.
*
*
* @param endpointType
* The type of endpoint. Valid values are source
and target
.
* @return Returns a reference to this object so that method calls can be chained together.
* @see ReplicationEndpointTypeValue
*/
public CreateEndpointRequest withEndpointType(ReplicationEndpointTypeValue endpointType) {
this.endpointType = endpointType.toString();
return this;
}
/**
*
* 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"
, and
* "babelfish"
.
*
*
* @param 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"
, and "babelfish"
.
*/
public void setEngineName(String engineName) {
this.engineName = 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"
, and
* "babelfish"
.
*
*
* @return 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"
, and "babelfish"
.
*/
public String getEngineName() {
return this.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"
, and
* "babelfish"
.
*
*
* @param 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"
, and "babelfish"
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateEndpointRequest withEngineName(String engineName) {
setEngineName(engineName);
return this;
}
/**
*
* The user name to be used to log in to the endpoint database.
*
*
* @param username
* The user name to be used to log in to the endpoint database.
*/
public void setUsername(String username) {
this.username = username;
}
/**
*
* The user name to be used to log in to the endpoint database.
*
*
* @return The user name to be used to log in to the endpoint database.
*/
public String getUsername() {
return this.username;
}
/**
*
* The user name to be used to log in to the endpoint database.
*
*
* @param username
* The user name to be used to log in to the endpoint database.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateEndpointRequest withUsername(String username) {
setUsername(username);
return this;
}
/**
*
* The password to be used to log in to the endpoint database.
*
*
* @param password
* The password to be used to log in to the endpoint database.
*/
public void setPassword(String password) {
this.password = password;
}
/**
*
* The password to be used to log in to the endpoint database.
*
*
* @return The password to be used to log in to the endpoint database.
*/
public String getPassword() {
return this.password;
}
/**
*
* The password to be used to log in to the endpoint database.
*
*
* @param password
* The password to be used to log in to the endpoint database.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateEndpointRequest withPassword(String password) {
setPassword(password);
return this;
}
/**
*
* The name of the server where the endpoint database resides.
*
*
* @param serverName
* The name of the server where the endpoint database resides.
*/
public void setServerName(String serverName) {
this.serverName = serverName;
}
/**
*
* The name of the server where the endpoint database resides.
*
*
* @return The name of the server where the endpoint database resides.
*/
public String getServerName() {
return this.serverName;
}
/**
*
* The name of the server where the endpoint database resides.
*
*
* @param serverName
* The name of the server where the endpoint database resides.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateEndpointRequest withServerName(String serverName) {
setServerName(serverName);
return this;
}
/**
*
* The port used by the endpoint database.
*
*
* @param port
* The port used by the endpoint database.
*/
public void setPort(Integer port) {
this.port = port;
}
/**
*
* The port used by the endpoint database.
*
*
* @return The port used by the endpoint database.
*/
public Integer getPort() {
return this.port;
}
/**
*
* The port used by the endpoint database.
*
*
* @param port
* The port used by the endpoint database.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateEndpointRequest withPort(Integer port) {
setPort(port);
return this;
}
/**
*
* 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
.
*
*
* @param 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
.
*/
public void setDatabaseName(String databaseName) {
this.databaseName = 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
.
*
*
* @return 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
.
*/
public String getDatabaseName() {
return this.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
.
*
*
* @param 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
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateEndpointRequest withDatabaseName(String databaseName) {
setDatabaseName(databaseName);
return this;
}
/**
*
* 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.
*
*
* @param 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.
*/
public void setExtraConnectionAttributes(String extraConnectionAttributes) {
this.extraConnectionAttributes = 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.
*
*
* @return 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.
*/
public String getExtraConnectionAttributes() {
return this.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.
*
*
* @param 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.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateEndpointRequest withExtraConnectionAttributes(String extraConnectionAttributes) {
setExtraConnectionAttributes(extraConnectionAttributes);
return this;
}
/**
*
* 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.
*
*
* @param 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.
*/
public void setKmsKeyId(String kmsKeyId) {
this.kmsKeyId = 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.
*
*
* @return 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.
*/
public String getKmsKeyId() {
return this.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.
*
*
* @param 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.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateEndpointRequest withKmsKeyId(String kmsKeyId) {
setKmsKeyId(kmsKeyId);
return this;
}
/**
*
* One or more tags to be assigned to the endpoint.
*
*
* @return One or more tags to be assigned to the endpoint.
*/
public java.util.List getTags() {
return tags;
}
/**
*
* One or more tags to be assigned to the endpoint.
*
*
* @param tags
* One or more tags to be assigned to the endpoint.
*/
public void setTags(java.util.Collection tags) {
if (tags == null) {
this.tags = null;
return;
}
this.tags = new java.util.ArrayList(tags);
}
/**
*
* One or more tags to be assigned to the endpoint.
*
*
* NOTE: This method appends the values to the existing list (if any). Use
* {@link #setTags(java.util.Collection)} or {@link #withTags(java.util.Collection)} if you want to override the
* existing values.
*
*
* @param tags
* One or more tags to be assigned to the endpoint.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateEndpointRequest withTags(Tag... tags) {
if (this.tags == null) {
setTags(new java.util.ArrayList(tags.length));
}
for (Tag ele : tags) {
this.tags.add(ele);
}
return this;
}
/**
*
* One or more tags to be assigned to the endpoint.
*
*
* @param tags
* One or more tags to be assigned to the endpoint.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateEndpointRequest withTags(java.util.Collection tags) {
setTags(tags);
return this;
}
/**
*
* The Amazon Resource Name (ARN) for the certificate.
*
*
* @param certificateArn
* The Amazon Resource Name (ARN) for the certificate.
*/
public void setCertificateArn(String certificateArn) {
this.certificateArn = certificateArn;
}
/**
*
* The Amazon Resource Name (ARN) for the certificate.
*
*
* @return The Amazon Resource Name (ARN) for the certificate.
*/
public String getCertificateArn() {
return this.certificateArn;
}
/**
*
* The Amazon Resource Name (ARN) for the certificate.
*
*
* @param certificateArn
* The Amazon Resource Name (ARN) for the certificate.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateEndpointRequest withCertificateArn(String certificateArn) {
setCertificateArn(certificateArn);
return this;
}
/**
*
* The Secure Sockets Layer (SSL) mode to use for the SSL connection. The default is none
*
*
* @param sslMode
* The Secure Sockets Layer (SSL) mode to use for the SSL connection. The default is none
* @see DmsSslModeValue
*/
public void setSslMode(String sslMode) {
this.sslMode = sslMode;
}
/**
*
* The Secure Sockets Layer (SSL) mode to use for the SSL connection. The default is none
*
*
* @return The Secure Sockets Layer (SSL) mode to use for the SSL connection. The default is none
* @see DmsSslModeValue
*/
public String getSslMode() {
return this.sslMode;
}
/**
*
* The Secure Sockets Layer (SSL) mode to use for the SSL connection. The default is none
*
*
* @param sslMode
* The Secure Sockets Layer (SSL) mode to use for the SSL connection. The default is none
* @return Returns a reference to this object so that method calls can be chained together.
* @see DmsSslModeValue
*/
public CreateEndpointRequest withSslMode(String sslMode) {
setSslMode(sslMode);
return this;
}
/**
*
* The Secure Sockets Layer (SSL) mode to use for the SSL connection. The default is none
*
*
* @param sslMode
* The Secure Sockets Layer (SSL) mode to use for the SSL connection. The default is none
* @see DmsSslModeValue
*/
public void setSslMode(DmsSslModeValue sslMode) {
withSslMode(sslMode);
}
/**
*
* The Secure Sockets Layer (SSL) mode to use for the SSL connection. The default is none
*
*
* @param sslMode
* The Secure Sockets Layer (SSL) mode to use for the SSL connection. The default is none
* @return Returns a reference to this object so that method calls can be chained together.
* @see DmsSslModeValue
*/
public CreateEndpointRequest withSslMode(DmsSslModeValue sslMode) {
this.sslMode = sslMode.toString();
return this;
}
/**
*
* 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.
*
*
* @param 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.
*/
public void setServiceAccessRoleArn(String serviceAccessRoleArn) {
this.serviceAccessRoleArn = 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.
*
*
* @return 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.
*/
public String getServiceAccessRoleArn() {
return this.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.
*
*
* @param 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.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateEndpointRequest withServiceAccessRoleArn(String serviceAccessRoleArn) {
setServiceAccessRoleArn(serviceAccessRoleArn);
return this;
}
/**
*
* The external table definition.
*
*
* @param externalTableDefinition
* The external table definition.
*/
public void setExternalTableDefinition(String externalTableDefinition) {
this.externalTableDefinition = externalTableDefinition;
}
/**
*
* The external table definition.
*
*
* @return The external table definition.
*/
public String getExternalTableDefinition() {
return this.externalTableDefinition;
}
/**
*
* The external table definition.
*
*
* @param externalTableDefinition
* The external table definition.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateEndpointRequest withExternalTableDefinition(String externalTableDefinition) {
setExternalTableDefinition(externalTableDefinition);
return this;
}
/**
*
* 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.
*
*
* @param 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.
*/
public void setDynamoDbSettings(DynamoDbSettings dynamoDbSettings) {
this.dynamoDbSettings = 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.
*
*
* @return 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.
*/
public DynamoDbSettings getDynamoDbSettings() {
return this.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.
*
*
* @param 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.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateEndpointRequest withDynamoDbSettings(DynamoDbSettings dynamoDbSettings) {
setDynamoDbSettings(dynamoDbSettings);
return this;
}
/**
*
* 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.
*
*
* @param 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.
*/
public void setS3Settings(S3Settings s3Settings) {
this.s3Settings = 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.
*
*
* @return 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.
*/
public S3Settings getS3Settings() {
return this.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.
*
*
* @param 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.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateEndpointRequest withS3Settings(S3Settings s3Settings) {
setS3Settings(s3Settings);
return this;
}
/**
*
* 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 the iam: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", }
*
*
* @param 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 the iam: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", }
*/
public void setDmsTransferSettings(DmsTransferSettings dmsTransferSettings) {
this.dmsTransferSettings = 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 the iam: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", }
*
*
* @return 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 the iam: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", }
*/
public DmsTransferSettings getDmsTransferSettings() {
return this.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 the iam: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", }
*
*
* @param 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 the iam: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", }
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateEndpointRequest withDmsTransferSettings(DmsTransferSettings dmsTransferSettings) {
setDmsTransferSettings(dmsTransferSettings);
return this;
}
/**
*
* 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.
*
*
* @param 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.
*/
public void setMongoDbSettings(MongoDbSettings mongoDbSettings) {
this.mongoDbSettings = 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.
*
*
* @return 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.
*/
public MongoDbSettings getMongoDbSettings() {
return this.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.
*
*
* @param 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.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateEndpointRequest withMongoDbSettings(MongoDbSettings mongoDbSettings) {
setMongoDbSettings(mongoDbSettings);
return this;
}
/**
*
* 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.
*
*
* @param 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.
*/
public void setKinesisSettings(KinesisSettings kinesisSettings) {
this.kinesisSettings = 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.
*
*
* @return 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.
*/
public KinesisSettings getKinesisSettings() {
return this.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.
*
*
* @param 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.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateEndpointRequest withKinesisSettings(KinesisSettings kinesisSettings) {
setKinesisSettings(kinesisSettings);
return this;
}
/**
*
* 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.
*
*
* @param 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.
*/
public void setKafkaSettings(KafkaSettings kafkaSettings) {
this.kafkaSettings = 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.
*
*
* @return 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.
*/
public KafkaSettings getKafkaSettings() {
return this.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.
*
*
* @param 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.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateEndpointRequest withKafkaSettings(KafkaSettings kafkaSettings) {
setKafkaSettings(kafkaSettings);
return this;
}
/**
*
* 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.
*
*
* @param 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.
*/
public void setElasticsearchSettings(ElasticsearchSettings elasticsearchSettings) {
this.elasticsearchSettings = 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.
*
*
* @return 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.
*/
public ElasticsearchSettings getElasticsearchSettings() {
return this.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.
*
*
* @param 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.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateEndpointRequest withElasticsearchSettings(ElasticsearchSettings elasticsearchSettings) {
setElasticsearchSettings(elasticsearchSettings);
return this;
}
/**
*
* 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.
*
*
* @param 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.
*/
public void setNeptuneSettings(NeptuneSettings neptuneSettings) {
this.neptuneSettings = 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.
*
*
* @return 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.
*/
public NeptuneSettings getNeptuneSettings() {
return this.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.
*
*
* @param 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.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateEndpointRequest withNeptuneSettings(NeptuneSettings neptuneSettings) {
setNeptuneSettings(neptuneSettings);
return this;
}
/**
* @param redshiftSettings
*/
public void setRedshiftSettings(RedshiftSettings redshiftSettings) {
this.redshiftSettings = redshiftSettings;
}
/**
* @return
*/
public RedshiftSettings getRedshiftSettings() {
return this.redshiftSettings;
}
/**
* @param redshiftSettings
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateEndpointRequest withRedshiftSettings(RedshiftSettings redshiftSettings) {
setRedshiftSettings(redshiftSettings);
return this;
}
/**
*
* 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.
*
*
* @param 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.
*/
public void setPostgreSQLSettings(PostgreSQLSettings postgreSQLSettings) {
this.postgreSQLSettings = 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.
*
*
* @return 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.
*/
public PostgreSQLSettings getPostgreSQLSettings() {
return this.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.
*
*
* @param 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.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateEndpointRequest withPostgreSQLSettings(PostgreSQLSettings postgreSQLSettings) {
setPostgreSQLSettings(postgreSQLSettings);
return this;
}
/**
*
* 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.
*
*
* @param 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.
*/
public void setMySQLSettings(MySQLSettings mySQLSettings) {
this.mySQLSettings = 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.
*
*
* @return 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.
*/
public MySQLSettings getMySQLSettings() {
return this.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.
*
*
* @param 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.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateEndpointRequest withMySQLSettings(MySQLSettings mySQLSettings) {
setMySQLSettings(mySQLSettings);
return this;
}
/**
*
* 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.
*
*
* @param 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.
*/
public void setOracleSettings(OracleSettings oracleSettings) {
this.oracleSettings = 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.
*
*
* @return 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.
*/
public OracleSettings getOracleSettings() {
return this.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.
*
*
* @param 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.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateEndpointRequest withOracleSettings(OracleSettings oracleSettings) {
setOracleSettings(oracleSettings);
return this;
}
/**
*
* 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.
*
*
* @param 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.
*/
public void setSybaseSettings(SybaseSettings sybaseSettings) {
this.sybaseSettings = 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.
*
*
* @return 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.
*/
public SybaseSettings getSybaseSettings() {
return this.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.
*
*
* @param 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.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateEndpointRequest withSybaseSettings(SybaseSettings sybaseSettings) {
setSybaseSettings(sybaseSettings);
return this;
}
/**
*
* 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.
*
*
* @param 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.
*/
public void setMicrosoftSQLServerSettings(MicrosoftSQLServerSettings microsoftSQLServerSettings) {
this.microsoftSQLServerSettings = 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.
*
*
* @return 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.
*/
public MicrosoftSQLServerSettings getMicrosoftSQLServerSettings() {
return this.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.
*
*
* @param 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.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateEndpointRequest withMicrosoftSQLServerSettings(MicrosoftSQLServerSettings microsoftSQLServerSettings) {
setMicrosoftSQLServerSettings(microsoftSQLServerSettings);
return this;
}
/**
*
* 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.
*
*
* @param 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.
*/
public void setIBMDb2Settings(IBMDb2Settings iBMDb2Settings) {
this.iBMDb2Settings = 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.
*
*
* @return 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.
*/
public IBMDb2Settings getIBMDb2Settings() {
return this.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.
*
*
* @param 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.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateEndpointRequest withIBMDb2Settings(IBMDb2Settings iBMDb2Settings) {
setIBMDb2Settings(iBMDb2Settings);
return this;
}
/**
*
* A friendly name for the resource identifier at the end of the EndpointArn
response parameter that is
* returned in the created Endpoint
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 as Example-App-ARN1
. For example, this
* value might result in the EndpointArn
value
* arn:aws:dms:eu-west-1:012345678901:rep:Example-App-ARN1
. If you don't specify a
* ResourceIdentifier
value, DMS generates a default identifier value for the end of
* EndpointArn
.
*
*
* @param resourceIdentifier
* A friendly name for the resource identifier at the end of the EndpointArn
response parameter
* that is returned in the created Endpoint
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 as
* Example-App-ARN1
. For example, this value might result in the EndpointArn
value
* arn:aws:dms:eu-west-1:012345678901:rep:Example-App-ARN1
. If you don't specify a
* ResourceIdentifier
value, DMS generates a default identifier value for the end of
* EndpointArn
.
*/
public void setResourceIdentifier(String resourceIdentifier) {
this.resourceIdentifier = resourceIdentifier;
}
/**
*
* A friendly name for the resource identifier at the end of the EndpointArn
response parameter that is
* returned in the created Endpoint
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 as Example-App-ARN1
. For example, this
* value might result in the EndpointArn
value
* arn:aws:dms:eu-west-1:012345678901:rep:Example-App-ARN1
. If you don't specify a
* ResourceIdentifier
value, DMS generates a default identifier value for the end of
* EndpointArn
.
*
*
* @return A friendly name for the resource identifier at the end of the EndpointArn
response parameter
* that is returned in the created Endpoint
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 as
* Example-App-ARN1
. For example, this value might result in the EndpointArn
value
* arn:aws:dms:eu-west-1:012345678901:rep:Example-App-ARN1
. If you don't specify a
* ResourceIdentifier
value, DMS generates a default identifier value for the end of
* EndpointArn
.
*/
public String getResourceIdentifier() {
return this.resourceIdentifier;
}
/**
*
* A friendly name for the resource identifier at the end of the EndpointArn
response parameter that is
* returned in the created Endpoint
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 as Example-App-ARN1
. For example, this
* value might result in the EndpointArn
value
* arn:aws:dms:eu-west-1:012345678901:rep:Example-App-ARN1
. If you don't specify a
* ResourceIdentifier
value, DMS generates a default identifier value for the end of
* EndpointArn
.
*
*
* @param resourceIdentifier
* A friendly name for the resource identifier at the end of the EndpointArn
response parameter
* that is returned in the created Endpoint
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 as
* Example-App-ARN1
. For example, this value might result in the EndpointArn
value
* arn:aws:dms:eu-west-1:012345678901:rep:Example-App-ARN1
. If you don't specify a
* ResourceIdentifier
value, DMS generates a default identifier value for the end of
* EndpointArn
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateEndpointRequest withResourceIdentifier(String resourceIdentifier) {
setResourceIdentifier(resourceIdentifier);
return this;
}
/**
* @param docDbSettings
*/
public void setDocDbSettings(DocDbSettings docDbSettings) {
this.docDbSettings = docDbSettings;
}
/**
* @return
*/
public DocDbSettings getDocDbSettings() {
return this.docDbSettings;
}
/**
* @param docDbSettings
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateEndpointRequest withDocDbSettings(DocDbSettings docDbSettings) {
setDocDbSettings(docDbSettings);
return this;
}
/**
*
* Settings in JSON format for the target Redis endpoint.
*
*
* @param redisSettings
* Settings in JSON format for the target Redis endpoint.
*/
public void setRedisSettings(RedisSettings redisSettings) {
this.redisSettings = redisSettings;
}
/**
*
* Settings in JSON format for the target Redis endpoint.
*
*
* @return Settings in JSON format for the target Redis endpoint.
*/
public RedisSettings getRedisSettings() {
return this.redisSettings;
}
/**
*
* Settings in JSON format for the target Redis endpoint.
*
*
* @param redisSettings
* Settings in JSON format for the target Redis endpoint.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateEndpointRequest withRedisSettings(RedisSettings redisSettings) {
setRedisSettings(redisSettings);
return this;
}
/**
*
* Settings in JSON format for the source GCP MySQL endpoint.
*
*
* @param gcpMySQLSettings
* Settings in JSON format for the source GCP MySQL endpoint.
*/
public void setGcpMySQLSettings(GcpMySQLSettings gcpMySQLSettings) {
this.gcpMySQLSettings = gcpMySQLSettings;
}
/**
*
* Settings in JSON format for the source GCP MySQL endpoint.
*
*
* @return Settings in JSON format for the source GCP MySQL endpoint.
*/
public GcpMySQLSettings getGcpMySQLSettings() {
return this.gcpMySQLSettings;
}
/**
*
* Settings in JSON format for the source GCP MySQL endpoint.
*
*
* @param gcpMySQLSettings
* Settings in JSON format for the source GCP MySQL endpoint.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateEndpointRequest withGcpMySQLSettings(GcpMySQLSettings gcpMySQLSettings) {
setGcpMySQLSettings(gcpMySQLSettings);
return this;
}
/**
*
* Settings in JSON format for the target Amazon Timestream endpoint.
*
*
* @param timestreamSettings
* Settings in JSON format for the target Amazon Timestream endpoint.
*/
public void setTimestreamSettings(TimestreamSettings timestreamSettings) {
this.timestreamSettings = timestreamSettings;
}
/**
*
* Settings in JSON format for the target Amazon Timestream endpoint.
*
*
* @return Settings in JSON format for the target Amazon Timestream endpoint.
*/
public TimestreamSettings getTimestreamSettings() {
return this.timestreamSettings;
}
/**
*
* Settings in JSON format for the target Amazon Timestream endpoint.
*
*
* @param timestreamSettings
* Settings in JSON format for the target Amazon Timestream endpoint.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateEndpointRequest withTimestreamSettings(TimestreamSettings timestreamSettings) {
setTimestreamSettings(timestreamSettings);
return this;
}
/**
* 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.
*
* @return A string representation of this object.
*
* @see java.lang.Object#toString()
*/
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("{");
if (getEndpointIdentifier() != null)
sb.append("EndpointIdentifier: ").append(getEndpointIdentifier()).append(",");
if (getEndpointType() != null)
sb.append("EndpointType: ").append(getEndpointType()).append(",");
if (getEngineName() != null)
sb.append("EngineName: ").append(getEngineName()).append(",");
if (getUsername() != null)
sb.append("Username: ").append(getUsername()).append(",");
if (getPassword() != null)
sb.append("Password: ").append("***Sensitive Data Redacted***").append(",");
if (getServerName() != null)
sb.append("ServerName: ").append(getServerName()).append(",");
if (getPort() != null)
sb.append("Port: ").append(getPort()).append(",");
if (getDatabaseName() != null)
sb.append("DatabaseName: ").append(getDatabaseName()).append(",");
if (getExtraConnectionAttributes() != null)
sb.append("ExtraConnectionAttributes: ").append(getExtraConnectionAttributes()).append(",");
if (getKmsKeyId() != null)
sb.append("KmsKeyId: ").append(getKmsKeyId()).append(",");
if (getTags() != null)
sb.append("Tags: ").append(getTags()).append(",");
if (getCertificateArn() != null)
sb.append("CertificateArn: ").append(getCertificateArn()).append(",");
if (getSslMode() != null)
sb.append("SslMode: ").append(getSslMode()).append(",");
if (getServiceAccessRoleArn() != null)
sb.append("ServiceAccessRoleArn: ").append(getServiceAccessRoleArn()).append(",");
if (getExternalTableDefinition() != null)
sb.append("ExternalTableDefinition: ").append(getExternalTableDefinition()).append(",");
if (getDynamoDbSettings() != null)
sb.append("DynamoDbSettings: ").append(getDynamoDbSettings()).append(",");
if (getS3Settings() != null)
sb.append("S3Settings: ").append(getS3Settings()).append(",");
if (getDmsTransferSettings() != null)
sb.append("DmsTransferSettings: ").append(getDmsTransferSettings()).append(",");
if (getMongoDbSettings() != null)
sb.append("MongoDbSettings: ").append(getMongoDbSettings()).append(",");
if (getKinesisSettings() != null)
sb.append("KinesisSettings: ").append(getKinesisSettings()).append(",");
if (getKafkaSettings() != null)
sb.append("KafkaSettings: ").append(getKafkaSettings()).append(",");
if (getElasticsearchSettings() != null)
sb.append("ElasticsearchSettings: ").append(getElasticsearchSettings()).append(",");
if (getNeptuneSettings() != null)
sb.append("NeptuneSettings: ").append(getNeptuneSettings()).append(",");
if (getRedshiftSettings() != null)
sb.append("RedshiftSettings: ").append(getRedshiftSettings()).append(",");
if (getPostgreSQLSettings() != null)
sb.append("PostgreSQLSettings: ").append(getPostgreSQLSettings()).append(",");
if (getMySQLSettings() != null)
sb.append("MySQLSettings: ").append(getMySQLSettings()).append(",");
if (getOracleSettings() != null)
sb.append("OracleSettings: ").append(getOracleSettings()).append(",");
if (getSybaseSettings() != null)
sb.append("SybaseSettings: ").append(getSybaseSettings()).append(",");
if (getMicrosoftSQLServerSettings() != null)
sb.append("MicrosoftSQLServerSettings: ").append(getMicrosoftSQLServerSettings()).append(",");
if (getIBMDb2Settings() != null)
sb.append("IBMDb2Settings: ").append(getIBMDb2Settings()).append(",");
if (getResourceIdentifier() != null)
sb.append("ResourceIdentifier: ").append(getResourceIdentifier()).append(",");
if (getDocDbSettings() != null)
sb.append("DocDbSettings: ").append(getDocDbSettings()).append(",");
if (getRedisSettings() != null)
sb.append("RedisSettings: ").append(getRedisSettings()).append(",");
if (getGcpMySQLSettings() != null)
sb.append("GcpMySQLSettings: ").append(getGcpMySQLSettings()).append(",");
if (getTimestreamSettings() != null)
sb.append("TimestreamSettings: ").append(getTimestreamSettings());
sb.append("}");
return sb.toString();
}
@Override
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (obj instanceof CreateEndpointRequest == false)
return false;
CreateEndpointRequest other = (CreateEndpointRequest) obj;
if (other.getEndpointIdentifier() == null ^ this.getEndpointIdentifier() == null)
return false;
if (other.getEndpointIdentifier() != null && other.getEndpointIdentifier().equals(this.getEndpointIdentifier()) == false)
return false;
if (other.getEndpointType() == null ^ this.getEndpointType() == null)
return false;
if (other.getEndpointType() != null && other.getEndpointType().equals(this.getEndpointType()) == false)
return false;
if (other.getEngineName() == null ^ this.getEngineName() == null)
return false;
if (other.getEngineName() != null && other.getEngineName().equals(this.getEngineName()) == false)
return false;
if (other.getUsername() == null ^ this.getUsername() == null)
return false;
if (other.getUsername() != null && other.getUsername().equals(this.getUsername()) == false)
return false;
if (other.getPassword() == null ^ this.getPassword() == null)
return false;
if (other.getPassword() != null && other.getPassword().equals(this.getPassword()) == false)
return false;
if (other.getServerName() == null ^ this.getServerName() == null)
return false;
if (other.getServerName() != null && other.getServerName().equals(this.getServerName()) == false)
return false;
if (other.getPort() == null ^ this.getPort() == null)
return false;
if (other.getPort() != null && other.getPort().equals(this.getPort()) == false)
return false;
if (other.getDatabaseName() == null ^ this.getDatabaseName() == null)
return false;
if (other.getDatabaseName() != null && other.getDatabaseName().equals(this.getDatabaseName()) == false)
return false;
if (other.getExtraConnectionAttributes() == null ^ this.getExtraConnectionAttributes() == null)
return false;
if (other.getExtraConnectionAttributes() != null && other.getExtraConnectionAttributes().equals(this.getExtraConnectionAttributes()) == false)
return false;
if (other.getKmsKeyId() == null ^ this.getKmsKeyId() == null)
return false;
if (other.getKmsKeyId() != null && other.getKmsKeyId().equals(this.getKmsKeyId()) == false)
return false;
if (other.getTags() == null ^ this.getTags() == null)
return false;
if (other.getTags() != null && other.getTags().equals(this.getTags()) == false)
return false;
if (other.getCertificateArn() == null ^ this.getCertificateArn() == null)
return false;
if (other.getCertificateArn() != null && other.getCertificateArn().equals(this.getCertificateArn()) == false)
return false;
if (other.getSslMode() == null ^ this.getSslMode() == null)
return false;
if (other.getSslMode() != null && other.getSslMode().equals(this.getSslMode()) == false)
return false;
if (other.getServiceAccessRoleArn() == null ^ this.getServiceAccessRoleArn() == null)
return false;
if (other.getServiceAccessRoleArn() != null && other.getServiceAccessRoleArn().equals(this.getServiceAccessRoleArn()) == false)
return false;
if (other.getExternalTableDefinition() == null ^ this.getExternalTableDefinition() == null)
return false;
if (other.getExternalTableDefinition() != null && other.getExternalTableDefinition().equals(this.getExternalTableDefinition()) == false)
return false;
if (other.getDynamoDbSettings() == null ^ this.getDynamoDbSettings() == null)
return false;
if (other.getDynamoDbSettings() != null && other.getDynamoDbSettings().equals(this.getDynamoDbSettings()) == false)
return false;
if (other.getS3Settings() == null ^ this.getS3Settings() == null)
return false;
if (other.getS3Settings() != null && other.getS3Settings().equals(this.getS3Settings()) == false)
return false;
if (other.getDmsTransferSettings() == null ^ this.getDmsTransferSettings() == null)
return false;
if (other.getDmsTransferSettings() != null && other.getDmsTransferSettings().equals(this.getDmsTransferSettings()) == false)
return false;
if (other.getMongoDbSettings() == null ^ this.getMongoDbSettings() == null)
return false;
if (other.getMongoDbSettings() != null && other.getMongoDbSettings().equals(this.getMongoDbSettings()) == false)
return false;
if (other.getKinesisSettings() == null ^ this.getKinesisSettings() == null)
return false;
if (other.getKinesisSettings() != null && other.getKinesisSettings().equals(this.getKinesisSettings()) == false)
return false;
if (other.getKafkaSettings() == null ^ this.getKafkaSettings() == null)
return false;
if (other.getKafkaSettings() != null && other.getKafkaSettings().equals(this.getKafkaSettings()) == false)
return false;
if (other.getElasticsearchSettings() == null ^ this.getElasticsearchSettings() == null)
return false;
if (other.getElasticsearchSettings() != null && other.getElasticsearchSettings().equals(this.getElasticsearchSettings()) == false)
return false;
if (other.getNeptuneSettings() == null ^ this.getNeptuneSettings() == null)
return false;
if (other.getNeptuneSettings() != null && other.getNeptuneSettings().equals(this.getNeptuneSettings()) == false)
return false;
if (other.getRedshiftSettings() == null ^ this.getRedshiftSettings() == null)
return false;
if (other.getRedshiftSettings() != null && other.getRedshiftSettings().equals(this.getRedshiftSettings()) == false)
return false;
if (other.getPostgreSQLSettings() == null ^ this.getPostgreSQLSettings() == null)
return false;
if (other.getPostgreSQLSettings() != null && other.getPostgreSQLSettings().equals(this.getPostgreSQLSettings()) == false)
return false;
if (other.getMySQLSettings() == null ^ this.getMySQLSettings() == null)
return false;
if (other.getMySQLSettings() != null && other.getMySQLSettings().equals(this.getMySQLSettings()) == false)
return false;
if (other.getOracleSettings() == null ^ this.getOracleSettings() == null)
return false;
if (other.getOracleSettings() != null && other.getOracleSettings().equals(this.getOracleSettings()) == false)
return false;
if (other.getSybaseSettings() == null ^ this.getSybaseSettings() == null)
return false;
if (other.getSybaseSettings() != null && other.getSybaseSettings().equals(this.getSybaseSettings()) == false)
return false;
if (other.getMicrosoftSQLServerSettings() == null ^ this.getMicrosoftSQLServerSettings() == null)
return false;
if (other.getMicrosoftSQLServerSettings() != null && other.getMicrosoftSQLServerSettings().equals(this.getMicrosoftSQLServerSettings()) == false)
return false;
if (other.getIBMDb2Settings() == null ^ this.getIBMDb2Settings() == null)
return false;
if (other.getIBMDb2Settings() != null && other.getIBMDb2Settings().equals(this.getIBMDb2Settings()) == false)
return false;
if (other.getResourceIdentifier() == null ^ this.getResourceIdentifier() == null)
return false;
if (other.getResourceIdentifier() != null && other.getResourceIdentifier().equals(this.getResourceIdentifier()) == false)
return false;
if (other.getDocDbSettings() == null ^ this.getDocDbSettings() == null)
return false;
if (other.getDocDbSettings() != null && other.getDocDbSettings().equals(this.getDocDbSettings()) == false)
return false;
if (other.getRedisSettings() == null ^ this.getRedisSettings() == null)
return false;
if (other.getRedisSettings() != null && other.getRedisSettings().equals(this.getRedisSettings()) == false)
return false;
if (other.getGcpMySQLSettings() == null ^ this.getGcpMySQLSettings() == null)
return false;
if (other.getGcpMySQLSettings() != null && other.getGcpMySQLSettings().equals(this.getGcpMySQLSettings()) == false)
return false;
if (other.getTimestreamSettings() == null ^ this.getTimestreamSettings() == null)
return false;
if (other.getTimestreamSettings() != null && other.getTimestreamSettings().equals(this.getTimestreamSettings()) == false)
return false;
return true;
}
@Override
public int hashCode() {
final int prime = 31;
int hashCode = 1;
hashCode = prime * hashCode + ((getEndpointIdentifier() == null) ? 0 : getEndpointIdentifier().hashCode());
hashCode = prime * hashCode + ((getEndpointType() == null) ? 0 : getEndpointType().hashCode());
hashCode = prime * hashCode + ((getEngineName() == null) ? 0 : getEngineName().hashCode());
hashCode = prime * hashCode + ((getUsername() == null) ? 0 : getUsername().hashCode());
hashCode = prime * hashCode + ((getPassword() == null) ? 0 : getPassword().hashCode());
hashCode = prime * hashCode + ((getServerName() == null) ? 0 : getServerName().hashCode());
hashCode = prime * hashCode + ((getPort() == null) ? 0 : getPort().hashCode());
hashCode = prime * hashCode + ((getDatabaseName() == null) ? 0 : getDatabaseName().hashCode());
hashCode = prime * hashCode + ((getExtraConnectionAttributes() == null) ? 0 : getExtraConnectionAttributes().hashCode());
hashCode = prime * hashCode + ((getKmsKeyId() == null) ? 0 : getKmsKeyId().hashCode());
hashCode = prime * hashCode + ((getTags() == null) ? 0 : getTags().hashCode());
hashCode = prime * hashCode + ((getCertificateArn() == null) ? 0 : getCertificateArn().hashCode());
hashCode = prime * hashCode + ((getSslMode() == null) ? 0 : getSslMode().hashCode());
hashCode = prime * hashCode + ((getServiceAccessRoleArn() == null) ? 0 : getServiceAccessRoleArn().hashCode());
hashCode = prime * hashCode + ((getExternalTableDefinition() == null) ? 0 : getExternalTableDefinition().hashCode());
hashCode = prime * hashCode + ((getDynamoDbSettings() == null) ? 0 : getDynamoDbSettings().hashCode());
hashCode = prime * hashCode + ((getS3Settings() == null) ? 0 : getS3Settings().hashCode());
hashCode = prime * hashCode + ((getDmsTransferSettings() == null) ? 0 : getDmsTransferSettings().hashCode());
hashCode = prime * hashCode + ((getMongoDbSettings() == null) ? 0 : getMongoDbSettings().hashCode());
hashCode = prime * hashCode + ((getKinesisSettings() == null) ? 0 : getKinesisSettings().hashCode());
hashCode = prime * hashCode + ((getKafkaSettings() == null) ? 0 : getKafkaSettings().hashCode());
hashCode = prime * hashCode + ((getElasticsearchSettings() == null) ? 0 : getElasticsearchSettings().hashCode());
hashCode = prime * hashCode + ((getNeptuneSettings() == null) ? 0 : getNeptuneSettings().hashCode());
hashCode = prime * hashCode + ((getRedshiftSettings() == null) ? 0 : getRedshiftSettings().hashCode());
hashCode = prime * hashCode + ((getPostgreSQLSettings() == null) ? 0 : getPostgreSQLSettings().hashCode());
hashCode = prime * hashCode + ((getMySQLSettings() == null) ? 0 : getMySQLSettings().hashCode());
hashCode = prime * hashCode + ((getOracleSettings() == null) ? 0 : getOracleSettings().hashCode());
hashCode = prime * hashCode + ((getSybaseSettings() == null) ? 0 : getSybaseSettings().hashCode());
hashCode = prime * hashCode + ((getMicrosoftSQLServerSettings() == null) ? 0 : getMicrosoftSQLServerSettings().hashCode());
hashCode = prime * hashCode + ((getIBMDb2Settings() == null) ? 0 : getIBMDb2Settings().hashCode());
hashCode = prime * hashCode + ((getResourceIdentifier() == null) ? 0 : getResourceIdentifier().hashCode());
hashCode = prime * hashCode + ((getDocDbSettings() == null) ? 0 : getDocDbSettings().hashCode());
hashCode = prime * hashCode + ((getRedisSettings() == null) ? 0 : getRedisSettings().hashCode());
hashCode = prime * hashCode + ((getGcpMySQLSettings() == null) ? 0 : getGcpMySQLSettings().hashCode());
hashCode = prime * hashCode + ((getTimestreamSettings() == null) ? 0 : getTimestreamSettings().hashCode());
return hashCode;
}
@Override
public CreateEndpointRequest clone() {
return (CreateEndpointRequest) super.clone();
}
}