public class CreateEndpointRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateEndpointRequest() |
Modifier and Type | Method and Description |
---|---|
CreateEndpointRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getCertificateArn()
The Amazon Resource Number (ARN) for the certificate.
|
String |
getDatabaseName()
The name of the endpoint database.
|
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 |
getKmsKeyId()
The KMS key identifier that will be used to encrypt the connection
parameters.
|
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 |
getSslMode()
The SSL mode to use for the SSL connection.
|
List<Tag> |
getTags()
Tags to be added to the endpoint.
|
String |
getUsername()
The user name to be used to login to the endpoint database.
|
int |
hashCode() |
void |
setCertificateArn(String certificateArn)
The Amazon Resource Number (ARN) for the certificate.
|
void |
setDatabaseName(String databaseName)
The name of the endpoint database.
|
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 |
setKmsKeyId(String kmsKeyId)
The KMS key identifier that will be used to encrypt the connection
parameters.
|
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 |
setSslMode(DmsSslModeValue sslMode)
The SSL mode to use for the SSL connection.
|
void |
setSslMode(String sslMode)
The SSL mode to use for the SSL connection.
|
void |
setTags(Collection<Tag> tags)
Tags to be added to the endpoint.
|
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.
|
CreateEndpointRequest |
withCertificateArn(String certificateArn)
The Amazon Resource Number (ARN) for the certificate.
|
CreateEndpointRequest |
withDatabaseName(String databaseName)
The name of the endpoint database.
|
CreateEndpointRequest |
withEndpointIdentifier(String endpointIdentifier)
The database endpoint identifier.
|
CreateEndpointRequest |
withEndpointType(ReplicationEndpointTypeValue endpointType)
The type of endpoint.
|
CreateEndpointRequest |
withEndpointType(String endpointType)
The type of endpoint.
|
CreateEndpointRequest |
withEngineName(String engineName)
The type of engine for the endpoint.
|
CreateEndpointRequest |
withExtraConnectionAttributes(String extraConnectionAttributes)
Additional attributes associated with the connection.
|
CreateEndpointRequest |
withKmsKeyId(String kmsKeyId)
The KMS key identifier that will be used to encrypt the connection
parameters.
|
CreateEndpointRequest |
withPassword(String password)
The password to be used to login to the endpoint database.
|
CreateEndpointRequest |
withPort(Integer port)
The port used by the endpoint database.
|
CreateEndpointRequest |
withServerName(String serverName)
The name of the server where the endpoint database resides.
|
CreateEndpointRequest |
withSslMode(DmsSslModeValue sslMode)
The SSL mode to use for the SSL connection.
|
CreateEndpointRequest |
withSslMode(String sslMode)
The SSL mode to use for the SSL connection.
|
CreateEndpointRequest |
withTags(Collection<Tag> tags)
Tags to be added to the endpoint.
|
CreateEndpointRequest |
withTags(Tag... tags)
Tags to be added to the endpoint.
|
CreateEndpointRequest |
withUsername(String username)
The user name to be used to login to the endpoint database.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
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.
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 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 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.
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(String endpointType)
The type of endpoint.
endpointType
- The type of endpoint.ReplicationEndpointTypeValue
public String getEndpointType()
The type of endpoint.
ReplicationEndpointTypeValue
public CreateEndpointRequest withEndpointType(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 CreateEndpointRequest withEndpointType(ReplicationEndpointTypeValue endpointType)
The type of endpoint.
endpointType
- The type of endpoint.ReplicationEndpointTypeValue
public void setEngineName(String engineName)
The type of engine for the endpoint. Valid values include MYSQL, ORACLE, POSTGRES, MARIADB, AURORA, REDSHIFT, and SQLSERVER.
engineName
- The type of engine for the endpoint. Valid values include MYSQL,
ORACLE, POSTGRES, MARIADB, AURORA, REDSHIFT, and SQLSERVER.public String getEngineName()
The type of engine for the endpoint. Valid values include MYSQL, ORACLE, POSTGRES, MARIADB, AURORA, REDSHIFT, and SQLSERVER.
public CreateEndpointRequest withEngineName(String engineName)
The type of engine for the endpoint. Valid values include MYSQL, ORACLE, POSTGRES, MARIADB, AURORA, REDSHIFT, and SQLSERVER.
engineName
- The type of engine for the endpoint. Valid values include MYSQL,
ORACLE, POSTGRES, MARIADB, AURORA, REDSHIFT, and SQLSERVER.public void setUsername(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 String getUsername()
The user name to be used to login to the endpoint database.
public CreateEndpointRequest withUsername(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(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 String getPassword()
The password to be used to login to the endpoint database.
public CreateEndpointRequest withPassword(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(String serverName)
The name of the server where the endpoint database resides.
serverName
- The name of the server where the endpoint database resides.public String getServerName()
The name of the server where the endpoint database resides.
public CreateEndpointRequest withServerName(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(Integer port)
The port used by the endpoint database.
port
- The port used by the endpoint database.public Integer getPort()
The port used by the endpoint database.
public CreateEndpointRequest withPort(Integer port)
The port used by the endpoint database.
port
- The port used by the endpoint database.public void setDatabaseName(String databaseName)
The name of the endpoint database.
databaseName
- The name of the endpoint database.public String getDatabaseName()
The name of the endpoint database.
public CreateEndpointRequest withDatabaseName(String databaseName)
The name of the endpoint database.
databaseName
- The name of the endpoint database.public void setExtraConnectionAttributes(String extraConnectionAttributes)
Additional attributes associated with the connection.
extraConnectionAttributes
- Additional attributes associated with the connection.public String getExtraConnectionAttributes()
Additional attributes associated with the connection.
public CreateEndpointRequest withExtraConnectionAttributes(String extraConnectionAttributes)
Additional attributes associated with the connection.
extraConnectionAttributes
- Additional attributes associated with the connection.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.
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.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.
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.
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.public List<Tag> getTags()
Tags to be added to the endpoint.
public void setTags(Collection<Tag> tags)
Tags to be added to the endpoint.
tags
- Tags to be added to the endpoint.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.
tags
- Tags to be added to the endpoint.public CreateEndpointRequest withTags(Collection<Tag> tags)
Tags to be added to the endpoint.
tags
- Tags to be added to the endpoint.public void setCertificateArn(String certificateArn)
The Amazon Resource Number (ARN) for the certificate.
certificateArn
- The Amazon Resource Number (ARN) for the certificate.public String getCertificateArn()
The Amazon Resource Number (ARN) for the certificate.
public CreateEndpointRequest withCertificateArn(String certificateArn)
The Amazon Resource Number (ARN) for the certificate.
certificateArn
- The Amazon Resource Number (ARN) for the certificate.public void setSslMode(String sslMode)
The SSL mode to use for the SSL connection.
SSL mode can be one of four values: none, require, verify-ca, verify-full.
The default value is none.
sslMode
- The SSL mode to use for the SSL connection.
SSL mode can be one of four values: none, require, verify-ca, verify-full.
The default value is none.
DmsSslModeValue
public String getSslMode()
The SSL mode to use for the SSL connection.
SSL mode can be one of four values: none, require, verify-ca, verify-full.
The default value is none.
SSL mode can be one of four values: none, require, verify-ca, verify-full.
The default value is none.
DmsSslModeValue
public CreateEndpointRequest withSslMode(String sslMode)
The SSL mode to use for the SSL connection.
SSL mode can be one of four values: none, require, verify-ca, verify-full.
The default value is none.
sslMode
- The SSL mode to use for the SSL connection.
SSL mode can be one of four values: none, require, verify-ca, verify-full.
The default value is none.
DmsSslModeValue
public void setSslMode(DmsSslModeValue sslMode)
The SSL mode to use for the SSL connection.
SSL mode can be one of four values: none, require, verify-ca, verify-full.
The default value is none.
sslMode
- The SSL mode to use for the SSL connection.
SSL mode can be one of four values: none, require, verify-ca, verify-full.
The default value is none.
DmsSslModeValue
public CreateEndpointRequest withSslMode(DmsSslModeValue sslMode)
The SSL mode to use for the SSL connection.
SSL mode can be one of four values: none, require, verify-ca, verify-full.
The default value is none.
sslMode
- The SSL mode to use for the SSL connection.
SSL mode can be one of four values: none, require, verify-ca, verify-full.
The default value is none.
DmsSslModeValue
public String toString()
toString
in class Object
Object.toString()
public CreateEndpointRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.