public class Endpoint
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
databaseName
The name of the database at the endpoint.
|
private java.lang.String |
endpointArn
The Amazon Resource Name (ARN) string that uniquely identifies the
endpoint.
|
private java.lang.String |
endpointIdentifier
The database endpoint identifier.
|
private java.lang.String |
endpointType
The type of endpoint.
|
private java.lang.String |
engineName
The database engine name.
|
private java.lang.String |
extraConnectionAttributes
Additional connection attributes used to connect to the endpoint.
|
private java.lang.String |
kmsKeyId
The KMS key identifier that will be used to encrypt the connection
parameters.
|
private java.lang.Integer |
port
The port value used to access the endpoint.
|
private java.lang.String |
serverName
The name of the server at the endpoint.
|
private java.lang.String |
status
The status of the endpoint.
|
private java.lang.String |
username
The user name used to connect to the endpoint.
|
Constructor and Description |
---|
Endpoint() |
Modifier and Type | Method and Description |
---|---|
Endpoint |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDatabaseName()
The name of the database at the endpoint.
|
java.lang.String |
getEndpointArn()
The Amazon Resource Name (ARN) string that uniquely identifies the
endpoint.
|
java.lang.String |
getEndpointIdentifier()
The database endpoint identifier.
|
java.lang.String |
getEndpointType()
The type of endpoint.
|
java.lang.String |
getEngineName()
The database engine name.
|
java.lang.String |
getExtraConnectionAttributes()
Additional connection attributes used to connect to the endpoint.
|
java.lang.String |
getKmsKeyId()
The KMS key identifier that will be used to encrypt the connection
parameters.
|
java.lang.Integer |
getPort()
The port value used to access the endpoint.
|
java.lang.String |
getServerName()
The name of the server at the endpoint.
|
java.lang.String |
getStatus()
The status of the endpoint.
|
java.lang.String |
getUsername()
The user name used to connect to the endpoint.
|
int |
hashCode() |
void |
setDatabaseName(java.lang.String databaseName)
The name of the database at the endpoint.
|
void |
setEndpointArn(java.lang.String endpointArn)
The Amazon Resource Name (ARN) string that uniquely identifies the
endpoint.
|
void |
setEndpointIdentifier(java.lang.String endpointIdentifier)
The database endpoint identifier.
|
void |
setEndpointType(ReplicationEndpointTypeValue endpointType)
The type of endpoint.
|
void |
setEndpointType(java.lang.String endpointType)
The type of endpoint.
|
void |
setEngineName(java.lang.String engineName)
The database engine name.
|
void |
setExtraConnectionAttributes(java.lang.String extraConnectionAttributes)
Additional connection attributes used to connect to the endpoint.
|
void |
setKmsKeyId(java.lang.String kmsKeyId)
The KMS key identifier that will be used to encrypt the connection
parameters.
|
void |
setPort(java.lang.Integer port)
The port value used to access the endpoint.
|
void |
setServerName(java.lang.String serverName)
The name of the server at the endpoint.
|
void |
setStatus(java.lang.String status)
The status of the endpoint.
|
void |
setUsername(java.lang.String username)
The user name used to connect to the endpoint.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Endpoint |
withDatabaseName(java.lang.String databaseName)
The name of the database at the endpoint.
|
Endpoint |
withEndpointArn(java.lang.String endpointArn)
The Amazon Resource Name (ARN) string that uniquely identifies the
endpoint.
|
Endpoint |
withEndpointIdentifier(java.lang.String endpointIdentifier)
The database endpoint identifier.
|
Endpoint |
withEndpointType(ReplicationEndpointTypeValue endpointType)
The type of endpoint.
|
Endpoint |
withEndpointType(java.lang.String endpointType)
The type of endpoint.
|
Endpoint |
withEngineName(java.lang.String engineName)
The database engine name.
|
Endpoint |
withExtraConnectionAttributes(java.lang.String extraConnectionAttributes)
Additional connection attributes used to connect to the endpoint.
|
Endpoint |
withKmsKeyId(java.lang.String kmsKeyId)
The KMS key identifier that will be used to encrypt the connection
parameters.
|
Endpoint |
withPort(java.lang.Integer port)
The port value used to access the endpoint.
|
Endpoint |
withServerName(java.lang.String serverName)
The name of the server at the endpoint.
|
Endpoint |
withStatus(java.lang.String status)
The status of the endpoint.
|
Endpoint |
withUsername(java.lang.String username)
The user name used to connect to the endpoint.
|
private java.lang.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.
private java.lang.String endpointType
The type of endpoint.
private java.lang.String engineName
The database engine name.
private java.lang.String username
The user name used to connect to the endpoint.
private java.lang.String serverName
The name of the server at the endpoint.
private java.lang.Integer port
The port value used to access the endpoint.
private java.lang.String databaseName
The name of the database at the endpoint.
private java.lang.String extraConnectionAttributes
Additional connection attributes used to connect to the endpoint.
private java.lang.String status
The status of the endpoint.
private java.lang.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.
private java.lang.String endpointArn
The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
public void setEndpointIdentifier(java.lang.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 java.lang.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(java.lang.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(java.lang.String endpointType)
The type of endpoint.
endpointType
- The type of endpoint.ReplicationEndpointTypeValue
public java.lang.String getEndpointType()
The type of endpoint.
ReplicationEndpointTypeValue
public Endpoint withEndpointType(java.lang.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(java.lang.String engineName)
The database engine name.
engineName
- The database engine name.public java.lang.String getEngineName()
The database engine name.
public Endpoint withEngineName(java.lang.String engineName)
The database engine name.
engineName
- The database engine name.public void setUsername(java.lang.String username)
The user name used to connect to the endpoint.
username
- The user name used to connect to the endpoint.public java.lang.String getUsername()
The user name used to connect to the endpoint.
public Endpoint withUsername(java.lang.String username)
The user name used to connect to the endpoint.
username
- The user name used to connect to the endpoint.public void setServerName(java.lang.String serverName)
The name of the server at the endpoint.
serverName
- The name of the server at the endpoint.public java.lang.String getServerName()
The name of the server at the endpoint.
public Endpoint withServerName(java.lang.String serverName)
The name of the server at the endpoint.
serverName
- The name of the server at the endpoint.public void setPort(java.lang.Integer port)
The port value used to access the endpoint.
port
- The port value used to access the endpoint.public java.lang.Integer getPort()
The port value used to access the endpoint.
public Endpoint withPort(java.lang.Integer port)
The port value used to access the endpoint.
port
- The port value used to access the endpoint.public void setDatabaseName(java.lang.String databaseName)
The name of the database at the endpoint.
databaseName
- The name of the database at the endpoint.public java.lang.String getDatabaseName()
The name of the database at the endpoint.
public Endpoint withDatabaseName(java.lang.String databaseName)
The name of the database at the endpoint.
databaseName
- The name of the database at the endpoint.public void setExtraConnectionAttributes(java.lang.String extraConnectionAttributes)
Additional connection attributes used to connect to the endpoint.
extraConnectionAttributes
- Additional connection attributes used to connect to the endpoint.public java.lang.String getExtraConnectionAttributes()
Additional connection attributes used to connect to the endpoint.
public Endpoint withExtraConnectionAttributes(java.lang.String extraConnectionAttributes)
Additional connection attributes used to connect to the endpoint.
extraConnectionAttributes
- Additional connection attributes used to connect to the endpoint.public void setStatus(java.lang.String status)
The status of the endpoint.
status
- The status of the endpoint.public java.lang.String getStatus()
The status of the endpoint.
public Endpoint withStatus(java.lang.String status)
The status of the endpoint.
status
- The status of the endpoint.public void setKmsKeyId(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.lang.String getEndpointArn()
The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
public Endpoint withEndpointArn(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public Endpoint clone()
clone
in class java.lang.Object