Class ModifyEndpointRequest

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

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

    • ModifyEndpointRequest

      public ModifyEndpointRequest()
  • Method Details

    • 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 ModifyEndpointRequest 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.
    • 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 ModifyEndpointRequest 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 ModifyEndpointRequest 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 ModifyEndpointRequest 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.

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

      public String getEngineName()

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

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

      public ModifyEndpointRequest withEngineName(String engineName)

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

      Parameters:
      engineName - The type of engine for the endpoint. Valid values include MYSQL, ORACLE, POSTGRES.
      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 ModifyEndpointRequest 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 ModifyEndpointRequest 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 ModifyEndpointRequest 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 ModifyEndpointRequest 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 ModifyEndpointRequest 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 ModifyEndpointRequest 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.
    • 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 ModifyEndpointRequest 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: