shiver.me.timbers.aws.dms.Endpoint Maven / Gradle / Ivy
Show all versions of smt-cloudformation-objects Show documentation
package shiver.me.timbers.aws.dms;
import java.util.ArrayList;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyDescription;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
import shiver.me.timbers.aws.Property;
import shiver.me.timbers.aws.Tag;
/**
* Endpoint
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html
*
*/
@JsonInclude(JsonInclude.Include.NON_EMPTY)
@JsonPropertyOrder({
"KmsKeyId",
"KafkaSettings",
"Port",
"DatabaseName",
"NeptuneSettings",
"ElasticsearchSettings",
"S3Settings",
"EngineName",
"DynamoDbSettings",
"KinesisSettings",
"Username",
"SslMode",
"ServerName",
"ExtraConnectionAttributes",
"EndpointType",
"Tags",
"EndpointIdentifier",
"Password",
"CertificateArn",
"MongoDbSettings"
})
public class Endpoint {
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html#cfn-dms-endpoint-kmskeyid
*
*/
@JsonProperty("KmsKeyId")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html#cfn-dms-endpoint-kmskeyid")
private CharSequence kmsKeyId;
/**
* EndpointKafkaSettings
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-kafkasettings.html
*
*/
@JsonProperty("KafkaSettings")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-kafkasettings.html")
private Property kafkaSettings;
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html#cfn-dms-endpoint-port
*
*/
@JsonProperty("Port")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html#cfn-dms-endpoint-port")
private Number port;
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html#cfn-dms-endpoint-databasename
*
*/
@JsonProperty("DatabaseName")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html#cfn-dms-endpoint-databasename")
private CharSequence databaseName;
/**
* EndpointNeptuneSettings
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-neptunesettings.html
*
*/
@JsonProperty("NeptuneSettings")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-neptunesettings.html")
private Property neptuneSettings;
/**
* EndpointElasticsearchSettings
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-elasticsearchsettings.html
*
*/
@JsonProperty("ElasticsearchSettings")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-elasticsearchsettings.html")
private Property elasticsearchSettings;
/**
* EndpointS3Settings
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-s3settings.html
*
*/
@JsonProperty("S3Settings")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-s3settings.html")
private Property s3Settings;
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html#cfn-dms-endpoint-enginename
*
*/
@JsonProperty("EngineName")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html#cfn-dms-endpoint-enginename")
private CharSequence engineName;
/**
* EndpointDynamoDbSettings
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-dynamodbsettings.html
*
*/
@JsonProperty("DynamoDbSettings")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-dynamodbsettings.html")
private Property dynamoDbSettings;
/**
* EndpointKinesisSettings
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-kinesissettings.html
*
*/
@JsonProperty("KinesisSettings")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-kinesissettings.html")
private Property kinesisSettings;
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html#cfn-dms-endpoint-username
*
*/
@JsonProperty("Username")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html#cfn-dms-endpoint-username")
private CharSequence username;
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html#cfn-dms-endpoint-sslmode
*
*/
@JsonProperty("SslMode")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html#cfn-dms-endpoint-sslmode")
private CharSequence sslMode;
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html#cfn-dms-endpoint-servername
*
*/
@JsonProperty("ServerName")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html#cfn-dms-endpoint-servername")
private CharSequence serverName;
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html#cfn-dms-endpoint-extraconnectionattributes
*
*/
@JsonProperty("ExtraConnectionAttributes")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html#cfn-dms-endpoint-extraconnectionattributes")
private CharSequence extraConnectionAttributes;
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html#cfn-dms-endpoint-endpointtype
*
*/
@JsonProperty("EndpointType")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html#cfn-dms-endpoint-endpointtype")
private CharSequence endpointType;
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html#cfn-dms-endpoint-tags
*
*/
@JsonProperty("Tags")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html#cfn-dms-endpoint-tags")
private List> tags = new ArrayList>();
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html#cfn-dms-endpoint-endpointidentifier
*
*/
@JsonProperty("EndpointIdentifier")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html#cfn-dms-endpoint-endpointidentifier")
private CharSequence endpointIdentifier;
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html#cfn-dms-endpoint-password
*
*/
@JsonProperty("Password")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html#cfn-dms-endpoint-password")
private CharSequence password;
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html#cfn-dms-endpoint-certificatearn
*
*/
@JsonProperty("CertificateArn")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html#cfn-dms-endpoint-certificatearn")
private CharSequence certificateArn;
/**
* EndpointMongoDbSettings
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-mongodbsettings.html
*
*/
@JsonProperty("MongoDbSettings")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-mongodbsettings.html")
private Property mongoDbSettings;
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html#cfn-dms-endpoint-kmskeyid
*
*/
@JsonIgnore
public CharSequence getKmsKeyId() {
return kmsKeyId;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html#cfn-dms-endpoint-kmskeyid
*
*/
@JsonIgnore
public void setKmsKeyId(CharSequence kmsKeyId) {
this.kmsKeyId = kmsKeyId;
}
public Endpoint withKmsKeyId(CharSequence kmsKeyId) {
this.kmsKeyId = kmsKeyId;
return this;
}
/**
* EndpointKafkaSettings
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-kafkasettings.html
*
*/
@JsonIgnore
public Property getKafkaSettings() {
return kafkaSettings;
}
/**
* EndpointKafkaSettings
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-kafkasettings.html
*
*/
@JsonIgnore
public void setKafkaSettings(Property kafkaSettings) {
this.kafkaSettings = kafkaSettings;
}
public Endpoint withKafkaSettings(Property kafkaSettings) {
this.kafkaSettings = kafkaSettings;
return this;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html#cfn-dms-endpoint-port
*
*/
@JsonIgnore
public Number getPort() {
return port;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html#cfn-dms-endpoint-port
*
*/
@JsonIgnore
public void setPort(Number port) {
this.port = port;
}
public Endpoint withPort(Number port) {
this.port = port;
return this;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html#cfn-dms-endpoint-databasename
*
*/
@JsonIgnore
public CharSequence getDatabaseName() {
return databaseName;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html#cfn-dms-endpoint-databasename
*
*/
@JsonIgnore
public void setDatabaseName(CharSequence databaseName) {
this.databaseName = databaseName;
}
public Endpoint withDatabaseName(CharSequence databaseName) {
this.databaseName = databaseName;
return this;
}
/**
* EndpointNeptuneSettings
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-neptunesettings.html
*
*/
@JsonIgnore
public Property getNeptuneSettings() {
return neptuneSettings;
}
/**
* EndpointNeptuneSettings
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-neptunesettings.html
*
*/
@JsonIgnore
public void setNeptuneSettings(Property neptuneSettings) {
this.neptuneSettings = neptuneSettings;
}
public Endpoint withNeptuneSettings(Property neptuneSettings) {
this.neptuneSettings = neptuneSettings;
return this;
}
/**
* EndpointElasticsearchSettings
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-elasticsearchsettings.html
*
*/
@JsonIgnore
public Property getElasticsearchSettings() {
return elasticsearchSettings;
}
/**
* EndpointElasticsearchSettings
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-elasticsearchsettings.html
*
*/
@JsonIgnore
public void setElasticsearchSettings(Property elasticsearchSettings) {
this.elasticsearchSettings = elasticsearchSettings;
}
public Endpoint withElasticsearchSettings(Property elasticsearchSettings) {
this.elasticsearchSettings = elasticsearchSettings;
return this;
}
/**
* EndpointS3Settings
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-s3settings.html
*
*/
@JsonIgnore
public Property getS3Settings() {
return s3Settings;
}
/**
* EndpointS3Settings
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-s3settings.html
*
*/
@JsonIgnore
public void setS3Settings(Property s3Settings) {
this.s3Settings = s3Settings;
}
public Endpoint withS3Settings(Property s3Settings) {
this.s3Settings = s3Settings;
return this;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html#cfn-dms-endpoint-enginename
*
*/
@JsonIgnore
public CharSequence getEngineName() {
return engineName;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html#cfn-dms-endpoint-enginename
*
*/
@JsonIgnore
public void setEngineName(CharSequence engineName) {
this.engineName = engineName;
}
public Endpoint withEngineName(CharSequence engineName) {
this.engineName = engineName;
return this;
}
/**
* EndpointDynamoDbSettings
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-dynamodbsettings.html
*
*/
@JsonIgnore
public Property getDynamoDbSettings() {
return dynamoDbSettings;
}
/**
* EndpointDynamoDbSettings
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-dynamodbsettings.html
*
*/
@JsonIgnore
public void setDynamoDbSettings(Property dynamoDbSettings) {
this.dynamoDbSettings = dynamoDbSettings;
}
public Endpoint withDynamoDbSettings(Property dynamoDbSettings) {
this.dynamoDbSettings = dynamoDbSettings;
return this;
}
/**
* EndpointKinesisSettings
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-kinesissettings.html
*
*/
@JsonIgnore
public Property getKinesisSettings() {
return kinesisSettings;
}
/**
* EndpointKinesisSettings
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-kinesissettings.html
*
*/
@JsonIgnore
public void setKinesisSettings(Property kinesisSettings) {
this.kinesisSettings = kinesisSettings;
}
public Endpoint withKinesisSettings(Property kinesisSettings) {
this.kinesisSettings = kinesisSettings;
return this;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html#cfn-dms-endpoint-username
*
*/
@JsonIgnore
public CharSequence getUsername() {
return username;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html#cfn-dms-endpoint-username
*
*/
@JsonIgnore
public void setUsername(CharSequence username) {
this.username = username;
}
public Endpoint withUsername(CharSequence username) {
this.username = username;
return this;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html#cfn-dms-endpoint-sslmode
*
*/
@JsonIgnore
public CharSequence getSslMode() {
return sslMode;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html#cfn-dms-endpoint-sslmode
*
*/
@JsonIgnore
public void setSslMode(CharSequence sslMode) {
this.sslMode = sslMode;
}
public Endpoint withSslMode(CharSequence sslMode) {
this.sslMode = sslMode;
return this;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html#cfn-dms-endpoint-servername
*
*/
@JsonIgnore
public CharSequence getServerName() {
return serverName;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html#cfn-dms-endpoint-servername
*
*/
@JsonIgnore
public void setServerName(CharSequence serverName) {
this.serverName = serverName;
}
public Endpoint withServerName(CharSequence serverName) {
this.serverName = serverName;
return this;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html#cfn-dms-endpoint-extraconnectionattributes
*
*/
@JsonIgnore
public CharSequence getExtraConnectionAttributes() {
return extraConnectionAttributes;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html#cfn-dms-endpoint-extraconnectionattributes
*
*/
@JsonIgnore
public void setExtraConnectionAttributes(CharSequence extraConnectionAttributes) {
this.extraConnectionAttributes = extraConnectionAttributes;
}
public Endpoint withExtraConnectionAttributes(CharSequence extraConnectionAttributes) {
this.extraConnectionAttributes = extraConnectionAttributes;
return this;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html#cfn-dms-endpoint-endpointtype
*
*/
@JsonIgnore
public CharSequence getEndpointType() {
return endpointType;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html#cfn-dms-endpoint-endpointtype
*
*/
@JsonIgnore
public void setEndpointType(CharSequence endpointType) {
this.endpointType = endpointType;
}
public Endpoint withEndpointType(CharSequence endpointType) {
this.endpointType = endpointType;
return this;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html#cfn-dms-endpoint-tags
*
*/
@JsonIgnore
public List> getTags() {
return tags;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html#cfn-dms-endpoint-tags
*
*/
@JsonIgnore
public void setTags(List> tags) {
this.tags = tags;
}
public Endpoint withTags(List> tags) {
this.tags = tags;
return this;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html#cfn-dms-endpoint-endpointidentifier
*
*/
@JsonIgnore
public CharSequence getEndpointIdentifier() {
return endpointIdentifier;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html#cfn-dms-endpoint-endpointidentifier
*
*/
@JsonIgnore
public void setEndpointIdentifier(CharSequence endpointIdentifier) {
this.endpointIdentifier = endpointIdentifier;
}
public Endpoint withEndpointIdentifier(CharSequence endpointIdentifier) {
this.endpointIdentifier = endpointIdentifier;
return this;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html#cfn-dms-endpoint-password
*
*/
@JsonIgnore
public CharSequence getPassword() {
return password;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html#cfn-dms-endpoint-password
*
*/
@JsonIgnore
public void setPassword(CharSequence password) {
this.password = password;
}
public Endpoint withPassword(CharSequence password) {
this.password = password;
return this;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html#cfn-dms-endpoint-certificatearn
*
*/
@JsonIgnore
public CharSequence getCertificateArn() {
return certificateArn;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html#cfn-dms-endpoint-certificatearn
*
*/
@JsonIgnore
public void setCertificateArn(CharSequence certificateArn) {
this.certificateArn = certificateArn;
}
public Endpoint withCertificateArn(CharSequence certificateArn) {
this.certificateArn = certificateArn;
return this;
}
/**
* EndpointMongoDbSettings
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-mongodbsettings.html
*
*/
@JsonIgnore
public Property getMongoDbSettings() {
return mongoDbSettings;
}
/**
* EndpointMongoDbSettings
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-mongodbsettings.html
*
*/
@JsonIgnore
public void setMongoDbSettings(Property mongoDbSettings) {
this.mongoDbSettings = mongoDbSettings;
}
public Endpoint withMongoDbSettings(Property mongoDbSettings) {
this.mongoDbSettings = mongoDbSettings;
return this;
}
@Override
public String toString() {
return new ToStringBuilder(this).append("kmsKeyId", kmsKeyId).append("kafkaSettings", kafkaSettings).append("port", port).append("databaseName", databaseName).append("neptuneSettings", neptuneSettings).append("elasticsearchSettings", elasticsearchSettings).append("s3Settings", s3Settings).append("engineName", engineName).append("dynamoDbSettings", dynamoDbSettings).append("kinesisSettings", kinesisSettings).append("username", username).append("sslMode", sslMode).append("serverName", serverName).append("extraConnectionAttributes", extraConnectionAttributes).append("endpointType", endpointType).append("tags", tags).append("endpointIdentifier", endpointIdentifier).append("password", password).append("certificateArn", certificateArn).append("mongoDbSettings", mongoDbSettings).toString();
}
@Override
public int hashCode() {
return new HashCodeBuilder().append(endpointType).append(endpointIdentifier).append(databaseName).append(elasticsearchSettings).append(serverName).append(dynamoDbSettings).append(kinesisSettings).append(mongoDbSettings).append(sslMode).append(tags).append(password).append(certificateArn).append(port).append(kafkaSettings).append(kmsKeyId).append(engineName).append(s3Settings).append(extraConnectionAttributes).append(neptuneSettings).append(username).toHashCode();
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof Endpoint) == false) {
return false;
}
Endpoint rhs = ((Endpoint) other);
return new EqualsBuilder().append(endpointType, rhs.endpointType).append(endpointIdentifier, rhs.endpointIdentifier).append(databaseName, rhs.databaseName).append(elasticsearchSettings, rhs.elasticsearchSettings).append(serverName, rhs.serverName).append(dynamoDbSettings, rhs.dynamoDbSettings).append(kinesisSettings, rhs.kinesisSettings).append(mongoDbSettings, rhs.mongoDbSettings).append(sslMode, rhs.sslMode).append(tags, rhs.tags).append(password, rhs.password).append(certificateArn, rhs.certificateArn).append(port, rhs.port).append(kafkaSettings, rhs.kafkaSettings).append(kmsKeyId, rhs.kmsKeyId).append(engineName, rhs.engineName).append(s3Settings, rhs.s3Settings).append(extraConnectionAttributes, rhs.extraConnectionAttributes).append(neptuneSettings, rhs.neptuneSettings).append(username, rhs.username).isEquals();
}
}