java.lang.Object
com.amazonaws.services.databasemigrationservice.model.Endpoint
All Implemented Interfaces:
Serializable, Cloneable

public class Endpoint extends Object implements Serializable, Cloneable
See Also:
  • Constructor Details

    • Endpoint

      public Endpoint()
  • Method Details

    • 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:
    • getEndpointType

      public String getEndpointType()

      The type of endpoint.

      Returns:
      The type of endpoint.
      See Also:
    • 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:
    • setEndpointType

      public void setEndpointType(ReplicationEndpointTypeValue endpointType)

      The type of endpoint.

      Parameters:
      endpointType - The type of endpoint.
      See Also:
    • 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:
    • 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public Endpoint clone()
      Overrides:
      clone in class Object