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 ModifyEndpointRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetDatabaseName()The name of the endpoint database.StringgetEndpointArn()The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.StringgetEndpointIdentifier()The database endpoint identifier.StringgetEndpointType()The type of endpoint.StringgetEngineName()The type of engine for the endpoint.StringgetExtraConnectionAttributes()Additional attributes associated with the connection.StringgetPassword()The password to be used to login to the endpoint database.IntegergetPort()The port used by the endpoint database.StringgetServerName()The name of the server where the endpoint database resides.StringgetUsername()The user name to be used to login to the endpoint database.inthashCode()voidsetDatabaseName(String databaseName)The name of the endpoint database.voidsetEndpointArn(String endpointArn)The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.voidsetEndpointIdentifier(String endpointIdentifier)The database endpoint identifier.voidsetEndpointType(ReplicationEndpointTypeValue endpointType)The type of endpoint.voidsetEndpointType(String endpointType)The type of endpoint.voidsetEngineName(String engineName)The type of engine for the endpoint.voidsetExtraConnectionAttributes(String extraConnectionAttributes)Additional attributes associated with the connection.voidsetPassword(String password)The password to be used to login to the endpoint database.voidsetPort(Integer port)The port used by the endpoint database.voidsetServerName(String serverName)The name of the server where the endpoint database resides.voidsetUsername(String username)The user name to be used to login to the endpoint database.StringtoString()Returns a string representation of this object; useful for testing and debugging.ModifyEndpointRequestwithDatabaseName(String databaseName)The name of the endpoint database.ModifyEndpointRequestwithEndpointArn(String endpointArn)The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.ModifyEndpointRequestwithEndpointIdentifier(String endpointIdentifier)The database endpoint identifier.ModifyEndpointRequestwithEndpointType(ReplicationEndpointTypeValue endpointType)The type of endpoint.ModifyEndpointRequestwithEndpointType(String endpointType)The type of endpoint.ModifyEndpointRequestwithEngineName(String engineName)The type of engine for the endpoint.ModifyEndpointRequestwithExtraConnectionAttributes(String extraConnectionAttributes)Additional attributes associated with the connection.ModifyEndpointRequestwithPassword(String password)The password to be used to login to the endpoint database.ModifyEndpointRequestwithPort(Integer port)The port used by the endpoint database.ModifyEndpointRequestwithServerName(String serverName)The name of the server where the endpoint database resides.ModifyEndpointRequestwithUsername(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ModifyEndpointRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-