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 Endpointclone()booleanequals(Object obj)StringgetDatabaseName()The name of the database at the endpoint.StringgetEndpointArn()The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.StringgetEndpointIdentifier()The database endpoint identifier.StringgetEndpointType()The type of endpoint.StringgetEngineName()The database engine name.StringgetExtraConnectionAttributes()Additional connection attributes used to connect to the endpoint.StringgetKmsKeyId()The KMS key identifier that will be used to encrypt the connection parameters.IntegergetPort()The port value used to access the endpoint.StringgetServerName()The name of the server at the endpoint.StringgetStatus()The status of the endpoint.StringgetUsername()The user name used to connect to the endpoint.inthashCode()voidsetDatabaseName(String databaseName)The name of the database at the endpoint.voidsetEndpointArn(String endpointArn)The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.voidsetEndpointIdentifier(String endpointIdentifier)The database endpoint identifier.voidsetEndpointType(ReplicationEndpointTypeValue endpointType)The type of endpoint.voidsetEndpointType(String endpointType)The type of endpoint.voidsetEngineName(String engineName)The database engine name.voidsetExtraConnectionAttributes(String extraConnectionAttributes)Additional connection attributes used to connect to the endpoint.voidsetKmsKeyId(String kmsKeyId)The KMS key identifier that will be used to encrypt the connection parameters.voidsetPort(Integer port)The port value used to access the endpoint.voidsetServerName(String serverName)The name of the server at the endpoint.voidsetStatus(String status)The status of the endpoint.voidsetUsername(String username)The user name used to connect to the endpoint.StringtoString()Returns a string representation of this object; useful for testing and debugging.EndpointwithDatabaseName(String databaseName)The name of the database at the endpoint.EndpointwithEndpointArn(String endpointArn)The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.EndpointwithEndpointIdentifier(String endpointIdentifier)The database endpoint identifier.EndpointwithEndpointType(ReplicationEndpointTypeValue endpointType)The type of endpoint.EndpointwithEndpointType(String endpointType)The type of endpoint.EndpointwithEngineName(String engineName)The database engine name.EndpointwithExtraConnectionAttributes(String extraConnectionAttributes)Additional connection attributes used to connect to the endpoint.EndpointwithKmsKeyId(String kmsKeyId)The KMS key identifier that will be used to encrypt the connection parameters.EndpointwithPort(Integer port)The port value used to access the endpoint.EndpointwithServerName(String serverName)The name of the server at the endpoint.EndpointwithStatus(String status)The status of the endpoint.EndpointwithUsername(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
-