Class Endpoint
- java.lang.Object
-
- com.amazonaws.services.databasemigrationservice.model.Endpoint
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class Endpoint extends Object implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Endpoint()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Endpoint
clone()
boolean
equals(Object obj)
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
getStatus()
The status of the endpoint.String
getUsername()
The user name used to connect to the endpoint.int
hashCode()
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
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
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
withStatus(String status)
The status of the endpoint.Endpoint
withUsername(String username)
The user name used to connect to the endpoint.
-
-
-
Method Detail
-
setEndpointIdentifier
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.
- Parameters:
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.
-
getEndpointIdentifier
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.
- Returns:
- 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.
-
withEndpointIdentifier
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEndpointType
public void setEndpointType(String endpointType)
The type of endpoint.
- Parameters:
endpointType
- The type of endpoint.- See Also:
ReplicationEndpointTypeValue
-
getEndpointType
public String getEndpointType()
The type of endpoint.
- Returns:
- The type of endpoint.
- See Also:
ReplicationEndpointTypeValue
-
withEndpointType
public Endpoint withEndpointType(String endpointType)
The type of endpoint.
- Parameters:
endpointType
- The type of endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ReplicationEndpointTypeValue
-
setEndpointType
public void setEndpointType(ReplicationEndpointTypeValue endpointType)
The type of endpoint.
- Parameters:
endpointType
- The type of endpoint.- See Also:
ReplicationEndpointTypeValue
-
withEndpointType
public Endpoint withEndpointType(ReplicationEndpointTypeValue endpointType)
The type of endpoint.
- Parameters:
endpointType
- The type of endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ReplicationEndpointTypeValue
-
setEngineName
public void setEngineName(String engineName)
The database engine name.
- Parameters:
engineName
- The database engine name.
-
getEngineName
public String getEngineName()
The database engine name.
- Returns:
- The database engine name.
-
withEngineName
public Endpoint withEngineName(String engineName)
The database engine name.
- Parameters:
engineName
- The database engine name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setUsername
public void setUsername(String username)
The user name used to connect to the endpoint.
- Parameters:
username
- The user name used to connect to the endpoint.
-
getUsername
public String getUsername()
The user name used to connect to the endpoint.
- Returns:
- The user name used to connect to the endpoint.
-
withUsername
public Endpoint withUsername(String username)
The user name used to connect to the endpoint.
- Parameters:
username
- The user name used to connect to the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setServerName
public void setServerName(String serverName)
The name of the server at the endpoint.
- Parameters:
serverName
- The name of the server at the endpoint.
-
getServerName
public String getServerName()
The name of the server at the endpoint.
- Returns:
- The name of the server at the endpoint.
-
withServerName
public Endpoint withServerName(String serverName)
The name of the server at the endpoint.
- Parameters:
serverName
- The name of the server at the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPort
public void setPort(Integer port)
The port value used to access the endpoint.
- Parameters:
port
- The port value used to access the endpoint.
-
getPort
public Integer getPort()
The port value used to access the endpoint.
- Returns:
- The port value used to access the endpoint.
-
withPort
public Endpoint withPort(Integer port)
The port value used to access the endpoint.
- Parameters:
port
- The port value used to access the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDatabaseName
public void setDatabaseName(String databaseName)
The name of the database at the endpoint.
- Parameters:
databaseName
- The name of the database at the endpoint.
-
getDatabaseName
public String getDatabaseName()
The name of the database at the endpoint.
- Returns:
- The name of the database at the endpoint.
-
withDatabaseName
public Endpoint withDatabaseName(String databaseName)
The name of the database at the endpoint.
- Parameters:
databaseName
- The name of the database at the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setExtraConnectionAttributes
public void setExtraConnectionAttributes(String extraConnectionAttributes)
Additional connection attributes used to connect to the endpoint.
- Parameters:
extraConnectionAttributes
- Additional connection attributes used to connect to the endpoint.
-
getExtraConnectionAttributes
public String getExtraConnectionAttributes()
Additional connection attributes used to connect to the endpoint.
- Returns:
- Additional connection attributes used to connect to the endpoint.
-
withExtraConnectionAttributes
public Endpoint withExtraConnectionAttributes(String extraConnectionAttributes)
Additional connection attributes used to connect to the endpoint.
- Parameters:
extraConnectionAttributes
- Additional connection attributes used to connect to the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStatus
public void setStatus(String status)
The status of the endpoint.
- Parameters:
status
- The status of the endpoint.
-
getStatus
public String getStatus()
The status of the endpoint.
- Returns:
- The status of the endpoint.
-
withStatus
public Endpoint withStatus(String status)
The status of the endpoint.
- Parameters:
status
- The status of the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setKmsKeyId
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.
- Parameters:
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.
-
getKmsKeyId
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.
- Returns:
- 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.
-
withKmsKeyId
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEndpointArn
public void setEndpointArn(String endpointArn)
The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
- Parameters:
endpointArn
- The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
-
getEndpointArn
public String getEndpointArn()
The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
- Returns:
- The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
-
withEndpointArn
public Endpoint withEndpointArn(String endpointArn)
The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
- Parameters:
endpointArn
- The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
-