Class CreateEndpointRequest

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

public class CreateEndpointRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
See Also:
  • Constructor Details

    • CreateEndpointRequest

      public CreateEndpointRequest()
  • 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 CreateEndpointRequest 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 CreateEndpointRequest 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 CreateEndpointRequest 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 type of engine for the endpoint. Valid values include MYSQL, ORACLE, POSTGRES, MARIADB, AURORA, SQLSERVER.

      Parameters:
      engineName - The type of engine for the endpoint. Valid values include MYSQL, ORACLE, POSTGRES, MARIADB, AURORA, SQLSERVER.
    • getEngineName

      public String getEngineName()

      The type of engine for the endpoint. Valid values include MYSQL, ORACLE, POSTGRES, MARIADB, AURORA, SQLSERVER.

      Returns:
      The type of engine for the endpoint. Valid values include MYSQL, ORACLE, POSTGRES, MARIADB, AURORA, SQLSERVER.
    • withEngineName

      public CreateEndpointRequest withEngineName(String engineName)

      The type of engine for the endpoint. Valid values include MYSQL, ORACLE, POSTGRES, MARIADB, AURORA, SQLSERVER.

      Parameters:
      engineName - The type of engine for the endpoint. Valid values include MYSQL, ORACLE, POSTGRES, MARIADB, AURORA, SQLSERVER.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setUsername

      public void setUsername(String username)

      The user name to be used to login to the endpoint database.

      Parameters:
      username - The user name to be used to login to the endpoint database.
    • getUsername

      public String getUsername()

      The user name to be used to login to the endpoint database.

      Returns:
      The user name to be used to login to the endpoint database.
    • withUsername

      public CreateEndpointRequest withUsername(String username)

      The user name to be used to login to the endpoint database.

      Parameters:
      username - The user name to be used to login to the endpoint database.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setPassword

      public void setPassword(String password)

      The password to be used to login to the endpoint database.

      Parameters:
      password - The password to be used to login to the endpoint database.
    • getPassword

      public String getPassword()

      The password to be used to login to the endpoint database.

      Returns:
      The password to be used to login to the endpoint database.
    • withPassword

      public CreateEndpointRequest withPassword(String password)

      The password to be used to login to the endpoint database.

      Parameters:
      password - The password to be used to login to the endpoint database.
      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 where the endpoint database resides.

      Parameters:
      serverName - The name of the server where the endpoint database resides.
    • getServerName

      public String getServerName()

      The name of the server where the endpoint database resides.

      Returns:
      The name of the server where the endpoint database resides.
    • withServerName

      public CreateEndpointRequest withServerName(String serverName)

      The name of the server where the endpoint database resides.

      Parameters:
      serverName - The name of the server where the endpoint database resides.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setPort

      public void setPort(Integer port)

      The port used by the endpoint database.

      Parameters:
      port - The port used by the endpoint database.
    • getPort

      public Integer getPort()

      The port used by the endpoint database.

      Returns:
      The port used by the endpoint database.
    • withPort

      public CreateEndpointRequest withPort(Integer port)

      The port used by the endpoint database.

      Parameters:
      port - The port used by the endpoint database.
      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 endpoint database.

      Parameters:
      databaseName - The name of the endpoint database.
    • getDatabaseName

      public String getDatabaseName()

      The name of the endpoint database.

      Returns:
      The name of the endpoint database.
    • withDatabaseName

      public CreateEndpointRequest withDatabaseName(String databaseName)

      The name of the endpoint database.

      Parameters:
      databaseName - The name of the endpoint database.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setExtraConnectionAttributes

      public void setExtraConnectionAttributes(String extraConnectionAttributes)

      Additional attributes associated with the connection.

      Parameters:
      extraConnectionAttributes - Additional attributes associated with the connection.
    • getExtraConnectionAttributes

      public String getExtraConnectionAttributes()

      Additional attributes associated with the connection.

      Returns:
      Additional attributes associated with the connection.
    • withExtraConnectionAttributes

      public CreateEndpointRequest withExtraConnectionAttributes(String extraConnectionAttributes)

      Additional attributes associated with the connection.

      Parameters:
      extraConnectionAttributes - Additional attributes associated with the connection.
      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 CreateEndpointRequest 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.
    • getTags

      public List<Tag> getTags()

      Tags to be added to the endpoint.

      Returns:
      Tags to be added to the endpoint.
    • setTags

      public void setTags(Collection<Tag> tags)

      Tags to be added to the endpoint.

      Parameters:
      tags - Tags to be added to the endpoint.
    • withTags

      public CreateEndpointRequest withTags(Tag... tags)

      Tags to be added to the endpoint.

      NOTE: This method appends the values to the existing list (if any). Use setTags(java.util.Collection) or withTags(java.util.Collection) if you want to override the existing values.

      Parameters:
      tags - Tags to be added to the endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withTags

      public CreateEndpointRequest withTags(Collection<Tag> tags)

      Tags to be added to the endpoint.

      Parameters:
      tags - Tags to be added to 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 CreateEndpointRequest clone()
      Description copied from class: AmazonWebServiceRequest
      Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.
      Overrides:
      clone in class AmazonWebServiceRequest
      See Also: