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:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description ModifyEndpointRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ModifyEndpointRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getDatabaseName()
The name of the endpoint database.String
getEndpointArn()
The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.String
getEndpointIdentifier()
The database endpoint identifier.String
getEndpointType()
The type of endpoint.String
getEngineName()
The type of engine for the endpoint.String
getExtraConnectionAttributes()
Additional attributes associated with the connection.String
getPassword()
The password to be used to login to the endpoint database.Integer
getPort()
The port used by the endpoint database.String
getServerName()
The name of the server where the endpoint database resides.String
getUsername()
The user name to be used to login to the endpoint database.int
hashCode()
void
setDatabaseName(String databaseName)
The name of the endpoint database.void
setEndpointArn(String endpointArn)
The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.void
setEndpointIdentifier(String endpointIdentifier)
The database endpoint identifier.void
setEndpointType(ReplicationEndpointTypeValue endpointType)
The type of endpoint.void
setEndpointType(String endpointType)
The type of endpoint.void
setEngineName(String engineName)
The type of engine for the endpoint.void
setExtraConnectionAttributes(String extraConnectionAttributes)
Additional attributes associated with the connection.void
setPassword(String password)
The password to be used to login to the endpoint database.void
setPort(Integer port)
The port used by the endpoint database.void
setServerName(String serverName)
The name of the server where the endpoint database resides.void
setUsername(String username)
The user name to be used to login to the endpoint database.String
toString()
Returns a string representation of this object; useful for testing and debugging.ModifyEndpointRequest
withDatabaseName(String databaseName)
The name of the endpoint database.ModifyEndpointRequest
withEndpointArn(String endpointArn)
The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.ModifyEndpointRequest
withEndpointIdentifier(String endpointIdentifier)
The database endpoint identifier.ModifyEndpointRequest
withEndpointType(ReplicationEndpointTypeValue endpointType)
The type of endpoint.ModifyEndpointRequest
withEndpointType(String endpointType)
The type of endpoint.ModifyEndpointRequest
withEngineName(String engineName)
The type of engine for the endpoint.ModifyEndpointRequest
withExtraConnectionAttributes(String extraConnectionAttributes)
Additional attributes associated with the connection.ModifyEndpointRequest
withPassword(String password)
The password to be used to login to the endpoint database.ModifyEndpointRequest
withPort(Integer port)
The port used by the endpoint database.ModifyEndpointRequest
withServerName(String serverName)
The name of the server where the endpoint database resides.ModifyEndpointRequest
withUsername(String username)
The user name to be used to login to the endpoint database.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
-
-
-
Method Detail
-
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:
ReplicationEndpointTypeValue
-
getEndpointType
public String getEndpointType()
The type of endpoint.
- Returns:
- The type of endpoint.
- See Also:
ReplicationEndpointTypeValue
-
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:
ReplicationEndpointTypeValue
-
setEndpointType
public void setEndpointType(ReplicationEndpointTypeValue endpointType)
The type of endpoint.
- Parameters:
endpointType
- The type of endpoint.- See Also:
ReplicationEndpointTypeValue
-
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:
ReplicationEndpointTypeValue
-
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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
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 classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-