public class ModifyEndpointRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
databaseName
The name of the endpoint database.
|
private java.lang.String |
endpointArn
The Amazon Resource Name (ARN) string that uniquely identifies the
endpoint.
|
private java.lang.String |
endpointIdentifier
The database endpoint identifier.
|
private java.lang.String |
endpointType
The type of endpoint.
|
private java.lang.String |
engineName
The type of engine for the endpoint.
|
private java.lang.String |
extraConnectionAttributes
Additional attributes associated with the connection.
|
private java.lang.String |
password
The password to be used to login to the endpoint database.
|
private java.lang.Integer |
port
The port used by the endpoint database.
|
private java.lang.String |
serverName
The name of the server where the endpoint database resides.
|
private java.lang.String |
username
The user name to be used to login to the endpoint database.
|
NOOP
Constructor and Description |
---|
ModifyEndpointRequest() |
Modifier and Type | Method and Description |
---|---|
ModifyEndpointRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDatabaseName()
The name of the endpoint database.
|
java.lang.String |
getEndpointArn()
The Amazon Resource Name (ARN) string that uniquely identifies the
endpoint.
|
java.lang.String |
getEndpointIdentifier()
The database endpoint identifier.
|
java.lang.String |
getEndpointType()
The type of endpoint.
|
java.lang.String |
getEngineName()
The type of engine for the endpoint.
|
java.lang.String |
getExtraConnectionAttributes()
Additional attributes associated with the connection.
|
java.lang.String |
getPassword()
The password to be used to login to the endpoint database.
|
java.lang.Integer |
getPort()
The port used by the endpoint database.
|
java.lang.String |
getServerName()
The name of the server where the endpoint database resides.
|
java.lang.String |
getUsername()
The user name to be used to login to the endpoint database.
|
int |
hashCode() |
void |
setDatabaseName(java.lang.String databaseName)
The name of the endpoint database.
|
void |
setEndpointArn(java.lang.String endpointArn)
The Amazon Resource Name (ARN) string that uniquely identifies the
endpoint.
|
void |
setEndpointIdentifier(java.lang.String endpointIdentifier)
The database endpoint identifier.
|
void |
setEndpointType(ReplicationEndpointTypeValue endpointType)
The type of endpoint.
|
void |
setEndpointType(java.lang.String endpointType)
The type of endpoint.
|
void |
setEngineName(java.lang.String engineName)
The type of engine for the endpoint.
|
void |
setExtraConnectionAttributes(java.lang.String extraConnectionAttributes)
Additional attributes associated with the connection.
|
void |
setPassword(java.lang.String password)
The password to be used to login to the endpoint database.
|
void |
setPort(java.lang.Integer port)
The port used by the endpoint database.
|
void |
setServerName(java.lang.String serverName)
The name of the server where the endpoint database resides.
|
void |
setUsername(java.lang.String username)
The user name to be used to login to the endpoint database.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ModifyEndpointRequest |
withDatabaseName(java.lang.String databaseName)
The name of the endpoint database.
|
ModifyEndpointRequest |
withEndpointArn(java.lang.String endpointArn)
The Amazon Resource Name (ARN) string that uniquely identifies the
endpoint.
|
ModifyEndpointRequest |
withEndpointIdentifier(java.lang.String endpointIdentifier)
The database endpoint identifier.
|
ModifyEndpointRequest |
withEndpointType(ReplicationEndpointTypeValue endpointType)
The type of endpoint.
|
ModifyEndpointRequest |
withEndpointType(java.lang.String endpointType)
The type of endpoint.
|
ModifyEndpointRequest |
withEngineName(java.lang.String engineName)
The type of engine for the endpoint.
|
ModifyEndpointRequest |
withExtraConnectionAttributes(java.lang.String extraConnectionAttributes)
Additional attributes associated with the connection.
|
ModifyEndpointRequest |
withPassword(java.lang.String password)
The password to be used to login to the endpoint database.
|
ModifyEndpointRequest |
withPort(java.lang.Integer port)
The port used by the endpoint database.
|
ModifyEndpointRequest |
withServerName(java.lang.String serverName)
The name of the server where the endpoint database resides.
|
ModifyEndpointRequest |
withUsername(java.lang.String username)
The user name to be used to login to the endpoint database.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String endpointArn
The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
private java.lang.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.
private java.lang.String endpointType
The type of endpoint.
private java.lang.String engineName
The type of engine for the endpoint. Valid values include MYSQL, ORACLE, POSTGRES.
private java.lang.String username
The user name to be used to login to the endpoint database.
private java.lang.String password
The password to be used to login to the endpoint database.
private java.lang.String serverName
The name of the server where the endpoint database resides.
private java.lang.Integer port
The port used by the endpoint database.
private java.lang.String databaseName
The name of the endpoint database.
private java.lang.String extraConnectionAttributes
Additional attributes associated with the connection.
public void setEndpointArn(java.lang.String endpointArn)
The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
endpointArn
- The Amazon Resource Name (ARN) string that uniquely identifies the
endpoint.public java.lang.String getEndpointArn()
The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
public ModifyEndpointRequest withEndpointArn(java.lang.String endpointArn)
The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
endpointArn
- The Amazon Resource Name (ARN) string that uniquely identifies the
endpoint.public void setEndpointIdentifier(java.lang.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.
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.public java.lang.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.
public ModifyEndpointRequest withEndpointIdentifier(java.lang.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.
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.public void setEndpointType(java.lang.String endpointType)
The type of endpoint.
endpointType
- The type of endpoint.ReplicationEndpointTypeValue
public java.lang.String getEndpointType()
The type of endpoint.
ReplicationEndpointTypeValue
public ModifyEndpointRequest withEndpointType(java.lang.String endpointType)
The type of endpoint.
endpointType
- The type of endpoint.ReplicationEndpointTypeValue
public void setEndpointType(ReplicationEndpointTypeValue endpointType)
The type of endpoint.
endpointType
- The type of endpoint.ReplicationEndpointTypeValue
public ModifyEndpointRequest withEndpointType(ReplicationEndpointTypeValue endpointType)
The type of endpoint.
endpointType
- The type of endpoint.ReplicationEndpointTypeValue
public void setEngineName(java.lang.String engineName)
The type of engine for the endpoint. Valid values include MYSQL, ORACLE, POSTGRES.
engineName
- The type of engine for the endpoint. Valid values include MYSQL,
ORACLE, POSTGRES.public java.lang.String getEngineName()
The type of engine for the endpoint. Valid values include MYSQL, ORACLE, POSTGRES.
public ModifyEndpointRequest withEngineName(java.lang.String engineName)
The type of engine for the endpoint. Valid values include MYSQL, ORACLE, POSTGRES.
engineName
- The type of engine for the endpoint. Valid values include MYSQL,
ORACLE, POSTGRES.public void setUsername(java.lang.String username)
The user name to be used to login to the endpoint database.
username
- The user name to be used to login to the endpoint database.public java.lang.String getUsername()
The user name to be used to login to the endpoint database.
public ModifyEndpointRequest withUsername(java.lang.String username)
The user name to be used to login to the endpoint database.
username
- The user name to be used to login to the endpoint database.public void setPassword(java.lang.String password)
The password to be used to login to the endpoint database.
password
- The password to be used to login to the endpoint database.public java.lang.String getPassword()
The password to be used to login to the endpoint database.
public ModifyEndpointRequest withPassword(java.lang.String password)
The password to be used to login to the endpoint database.
password
- The password to be used to login to the endpoint database.public void setServerName(java.lang.String serverName)
The name of the server where the endpoint database resides.
serverName
- The name of the server where the endpoint database resides.public java.lang.String getServerName()
The name of the server where the endpoint database resides.
public ModifyEndpointRequest withServerName(java.lang.String serverName)
The name of the server where the endpoint database resides.
serverName
- The name of the server where the endpoint database resides.public void setPort(java.lang.Integer port)
The port used by the endpoint database.
port
- The port used by the endpoint database.public java.lang.Integer getPort()
The port used by the endpoint database.
public ModifyEndpointRequest withPort(java.lang.Integer port)
The port used by the endpoint database.
port
- The port used by the endpoint database.public void setDatabaseName(java.lang.String databaseName)
The name of the endpoint database.
databaseName
- The name of the endpoint database.public java.lang.String getDatabaseName()
The name of the endpoint database.
public ModifyEndpointRequest withDatabaseName(java.lang.String databaseName)
The name of the endpoint database.
databaseName
- The name of the endpoint database.public void setExtraConnectionAttributes(java.lang.String extraConnectionAttributes)
Additional attributes associated with the connection.
extraConnectionAttributes
- Additional attributes associated with the connection.public java.lang.String getExtraConnectionAttributes()
Additional attributes associated with the connection.
public ModifyEndpointRequest withExtraConnectionAttributes(java.lang.String extraConnectionAttributes)
Additional attributes associated with the connection.
extraConnectionAttributes
- Additional attributes associated with the connection.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ModifyEndpointRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()