public class Endpoint extends Object implements Serializable, Cloneable
Constructor and Description |
---|
Endpoint() |
Modifier and Type | Method and Description |
---|---|
Endpoint |
clone() |
boolean |
equals(Object obj) |
String |
getCertificateArn()
The Amazon Resource Name (ARN) used for SSL connection to the endpoint.
|
String |
getDatabaseName()
The name of the database at the endpoint.
|
String |
getEndpointArn()
The Amazon Resource Name (ARN) string that uniquely identifies the
endpoint.
|
String |
getEndpointIdentifier()
The database endpoint identifier.
|
String |
getEndpointType()
The type of endpoint.
|
String |
getEngineName()
The database engine name.
|
String |
getExtraConnectionAttributes()
Additional connection attributes used to connect to the endpoint.
|
String |
getKmsKeyId()
The KMS key identifier that will be used to encrypt the connection
parameters.
|
Integer |
getPort()
The port value used to access the endpoint.
|
String |
getServerName()
The name of the server at the endpoint.
|
String |
getSslMode()
The SSL mode used to connect to the endpoint.
|
String |
getStatus()
The status of the endpoint.
|
String |
getUsername()
The user name used to connect to the endpoint.
|
int |
hashCode() |
void |
setCertificateArn(String certificateArn)
The Amazon Resource Name (ARN) used for SSL connection to the endpoint.
|
void |
setDatabaseName(String databaseName)
The name of the database at the endpoint.
|
void |
setEndpointArn(String endpointArn)
The Amazon Resource Name (ARN) string that uniquely identifies the
endpoint.
|
void |
setEndpointIdentifier(String endpointIdentifier)
The database endpoint identifier.
|
void |
setEndpointType(ReplicationEndpointTypeValue endpointType)
The type of endpoint.
|
void |
setEndpointType(String endpointType)
The type of endpoint.
|
void |
setEngineName(String engineName)
The database engine name.
|
void |
setExtraConnectionAttributes(String extraConnectionAttributes)
Additional connection attributes used to connect to the endpoint.
|
void |
setKmsKeyId(String kmsKeyId)
The KMS key identifier that will be used to encrypt the connection
parameters.
|
void |
setPort(Integer port)
The port value used to access the endpoint.
|
void |
setServerName(String serverName)
The name of the server at the endpoint.
|
void |
setSslMode(DmsSslModeValue sslMode)
The SSL mode used to connect to the endpoint.
|
void |
setSslMode(String sslMode)
The SSL mode used to connect to the endpoint.
|
void |
setStatus(String status)
The status of the endpoint.
|
void |
setUsername(String username)
The user name used to connect to the endpoint.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Endpoint |
withCertificateArn(String certificateArn)
The Amazon Resource Name (ARN) used for SSL connection to the endpoint.
|
Endpoint |
withDatabaseName(String databaseName)
The name of the database at the endpoint.
|
Endpoint |
withEndpointArn(String endpointArn)
The Amazon Resource Name (ARN) string that uniquely identifies the
endpoint.
|
Endpoint |
withEndpointIdentifier(String endpointIdentifier)
The database endpoint identifier.
|
Endpoint |
withEndpointType(ReplicationEndpointTypeValue endpointType)
The type of endpoint.
|
Endpoint |
withEndpointType(String endpointType)
The type of endpoint.
|
Endpoint |
withEngineName(String engineName)
The database engine name.
|
Endpoint |
withExtraConnectionAttributes(String extraConnectionAttributes)
Additional connection attributes used to connect to the endpoint.
|
Endpoint |
withKmsKeyId(String kmsKeyId)
The KMS key identifier that will be used to encrypt the connection
parameters.
|
Endpoint |
withPort(Integer port)
The port value used to access the endpoint.
|
Endpoint |
withServerName(String serverName)
The name of the server at the endpoint.
|
Endpoint |
withSslMode(DmsSslModeValue sslMode)
The SSL mode used to connect to the endpoint.
|
Endpoint |
withSslMode(String sslMode)
The SSL mode used to connect to the endpoint.
|
Endpoint |
withStatus(String status)
The status of the endpoint.
|
Endpoint |
withUsername(String username)
The user name used to connect to the endpoint.
|
public void setEndpointIdentifier(String endpointIdentifier)
The database endpoint identifier. Identifiers must begin with a letter; must contain only ASCII letters, digits, and hyphens; and must not end with a hyphen or contain two consecutive hyphens.
endpointIdentifier
- The database endpoint identifier. Identifiers must begin with a
letter; must contain only ASCII letters, digits, and hyphens; and
must not end with a hyphen or contain two consecutive hyphens.public String getEndpointIdentifier()
The database endpoint identifier. Identifiers must begin with a letter; must contain only ASCII letters, digits, and hyphens; and must not end with a hyphen or contain two consecutive hyphens.
public Endpoint withEndpointIdentifier(String endpointIdentifier)
The database endpoint identifier. Identifiers must begin with a letter; must contain only ASCII letters, digits, and hyphens; and must not end with a hyphen or contain two consecutive hyphens.
endpointIdentifier
- The database endpoint identifier. Identifiers must begin with a
letter; must contain only ASCII letters, digits, and hyphens; and
must not end with a hyphen or contain two consecutive hyphens.public void setEndpointType(String endpointType)
The type of endpoint.
endpointType
- The type of endpoint.ReplicationEndpointTypeValue
public String getEndpointType()
The type of endpoint.
ReplicationEndpointTypeValue
public Endpoint withEndpointType(String endpointType)
The type of endpoint.
endpointType
- The type of endpoint.ReplicationEndpointTypeValue
public void setEndpointType(ReplicationEndpointTypeValue endpointType)
The type of endpoint.
endpointType
- The type of endpoint.ReplicationEndpointTypeValue
public Endpoint withEndpointType(ReplicationEndpointTypeValue endpointType)
The type of endpoint.
endpointType
- The type of endpoint.ReplicationEndpointTypeValue
public void setEngineName(String engineName)
The database engine name.
engineName
- The database engine name.public String getEngineName()
The database engine name.
public Endpoint withEngineName(String engineName)
The database engine name.
engineName
- The database engine name.public void setUsername(String username)
The user name used to connect to the endpoint.
username
- The user name used to connect to the endpoint.public String getUsername()
The user name used to connect to the endpoint.
public Endpoint withUsername(String username)
The user name used to connect to the endpoint.
username
- The user name used to connect to the endpoint.public void setServerName(String serverName)
The name of the server at the endpoint.
serverName
- The name of the server at the endpoint.public String getServerName()
The name of the server at the endpoint.
public Endpoint withServerName(String serverName)
The name of the server at the endpoint.
serverName
- The name of the server at the endpoint.public void setPort(Integer port)
The port value used to access the endpoint.
port
- The port value used to access the endpoint.public Integer getPort()
The port value used to access the endpoint.
public Endpoint withPort(Integer port)
The port value used to access the endpoint.
port
- The port value used to access the endpoint.public void setDatabaseName(String databaseName)
The name of the database at the endpoint.
databaseName
- The name of the database at the endpoint.public String getDatabaseName()
The name of the database at the endpoint.
public Endpoint withDatabaseName(String databaseName)
The name of the database at the endpoint.
databaseName
- The name of the database at the endpoint.public void setExtraConnectionAttributes(String extraConnectionAttributes)
Additional connection attributes used to connect to the endpoint.
extraConnectionAttributes
- Additional connection attributes used to connect to the endpoint.public String getExtraConnectionAttributes()
Additional connection attributes used to connect to the endpoint.
public Endpoint withExtraConnectionAttributes(String extraConnectionAttributes)
Additional connection attributes used to connect to the endpoint.
extraConnectionAttributes
- Additional connection attributes used to connect to the endpoint.public void setStatus(String status)
The status of the endpoint.
status
- The status of the endpoint.public String getStatus()
The status of the endpoint.
public Endpoint withStatus(String status)
The status of the endpoint.
status
- The status of the endpoint.public void setKmsKeyId(String kmsKeyId)
The KMS key identifier that will be used to encrypt the connection parameters. If you do not specify a value for the KmsKeyId parameter, then AWS DMS will use your default encryption key. AWS KMS creates the default encryption key for your AWS account. Your AWS account has a different default encryption key for each AWS region.
kmsKeyId
- The KMS key identifier that will be used to encrypt the connection
parameters. If you do not specify a value for the KmsKeyId
parameter, then AWS DMS will use your default encryption key. AWS
KMS creates the default encryption key for your AWS account. Your
AWS account has a different default encryption key for each AWS
region.public String getKmsKeyId()
The KMS key identifier that will be used to encrypt the connection parameters. If you do not specify a value for the KmsKeyId parameter, then AWS DMS will use your default encryption key. AWS KMS creates the default encryption key for your AWS account. Your AWS account has a different default encryption key for each AWS region.
public Endpoint withKmsKeyId(String kmsKeyId)
The KMS key identifier that will be used to encrypt the connection parameters. If you do not specify a value for the KmsKeyId parameter, then AWS DMS will use your default encryption key. AWS KMS creates the default encryption key for your AWS account. Your AWS account has a different default encryption key for each AWS region.
kmsKeyId
- The KMS key identifier that will be used to encrypt the connection
parameters. If you do not specify a value for the KmsKeyId
parameter, then AWS DMS will use your default encryption key. AWS
KMS creates the default encryption key for your AWS account. Your
AWS account has a different default encryption key for each AWS
region.public void setEndpointArn(String endpointArn)
The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
endpointArn
- The Amazon Resource Name (ARN) string that uniquely identifies the
endpoint.public String getEndpointArn()
The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
public Endpoint withEndpointArn(String endpointArn)
The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
endpointArn
- The Amazon Resource Name (ARN) string that uniquely identifies the
endpoint.public void setCertificateArn(String certificateArn)
The Amazon Resource Name (ARN) used for SSL connection to the endpoint.
certificateArn
- The Amazon Resource Name (ARN) used for SSL connection to the
endpoint.public String getCertificateArn()
The Amazon Resource Name (ARN) used for SSL connection to the endpoint.
public Endpoint withCertificateArn(String certificateArn)
The Amazon Resource Name (ARN) used for SSL connection to the endpoint.
certificateArn
- The Amazon Resource Name (ARN) used for SSL connection to the
endpoint.public void setSslMode(String sslMode)
The SSL mode used to connect to the endpoint.
SSL mode can be one of four values: none, require, verify-ca, verify-full.
The default value is none.
sslMode
- The SSL mode used to connect to the endpoint.
SSL mode can be one of four values: none, require, verify-ca, verify-full.
The default value is none.
DmsSslModeValue
public String getSslMode()
The SSL mode used to connect to the endpoint.
SSL mode can be one of four values: none, require, verify-ca, verify-full.
The default value is none.
SSL mode can be one of four values: none, require, verify-ca, verify-full.
The default value is none.
DmsSslModeValue
public Endpoint withSslMode(String sslMode)
The SSL mode used to connect to the endpoint.
SSL mode can be one of four values: none, require, verify-ca, verify-full.
The default value is none.
sslMode
- The SSL mode used to connect to the endpoint.
SSL mode can be one of four values: none, require, verify-ca, verify-full.
The default value is none.
DmsSslModeValue
public void setSslMode(DmsSslModeValue sslMode)
The SSL mode used to connect to the endpoint.
SSL mode can be one of four values: none, require, verify-ca, verify-full.
The default value is none.
sslMode
- The SSL mode used to connect to the endpoint.
SSL mode can be one of four values: none, require, verify-ca, verify-full.
The default value is none.
DmsSslModeValue
public Endpoint withSslMode(DmsSslModeValue sslMode)
The SSL mode used to connect to the endpoint.
SSL mode can be one of four values: none, require, verify-ca, verify-full.
The default value is none.
sslMode
- The SSL mode used to connect to the endpoint.
SSL mode can be one of four values: none, require, verify-ca, verify-full.
The default value is none.
DmsSslModeValue
public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.