public class CreateEndpointRequest 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 |
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 |
kmsKeyId
The KMS key identifier that will be used to encrypt the connection
parameters.
|
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.util.List<Tag> |
tags
Tags to be added to the endpoint.
|
private java.lang.String |
username
The user name to be used to login to the endpoint database.
|
NOOP
Constructor and Description |
---|
CreateEndpointRequest() |
Modifier and Type | Method and Description |
---|---|
CreateEndpointRequest |
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 |
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 |
getKmsKeyId()
The KMS key identifier that will be used to encrypt the connection
parameters.
|
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.util.List<Tag> |
getTags()
Tags to be added to the endpoint.
|
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 |
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 |
setKmsKeyId(java.lang.String kmsKeyId)
The KMS key identifier that will be used to encrypt the connection
parameters.
|
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 |
setTags(java.util.Collection<Tag> tags)
Tags to be added to the endpoint.
|
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.
|
CreateEndpointRequest |
withDatabaseName(java.lang.String databaseName)
The name of the endpoint database.
|
CreateEndpointRequest |
withEndpointIdentifier(java.lang.String endpointIdentifier)
The database endpoint identifier.
|
CreateEndpointRequest |
withEndpointType(ReplicationEndpointTypeValue endpointType)
The type of endpoint.
|
CreateEndpointRequest |
withEndpointType(java.lang.String endpointType)
The type of endpoint.
|
CreateEndpointRequest |
withEngineName(java.lang.String engineName)
The type of engine for the endpoint.
|
CreateEndpointRequest |
withExtraConnectionAttributes(java.lang.String extraConnectionAttributes)
Additional attributes associated with the connection.
|
CreateEndpointRequest |
withKmsKeyId(java.lang.String kmsKeyId)
The KMS key identifier that will be used to encrypt the connection
parameters.
|
CreateEndpointRequest |
withPassword(java.lang.String password)
The password to be used to login to the endpoint database.
|
CreateEndpointRequest |
withPort(java.lang.Integer port)
The port used by the endpoint database.
|
CreateEndpointRequest |
withServerName(java.lang.String serverName)
The name of the server where the endpoint database resides.
|
CreateEndpointRequest |
withTags(java.util.Collection<Tag> tags)
Tags to be added to the endpoint.
|
CreateEndpointRequest |
withTags(Tag... tags)
Tags to be added to the endpoint.
|
CreateEndpointRequest |
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 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, MARIADB, AURORA, SQLSERVER.
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.
private java.lang.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.
private java.util.List<Tag> tags
Tags to be added to 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 CreateEndpointRequest 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 CreateEndpointRequest 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 CreateEndpointRequest 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, MARIADB, AURORA, SQLSERVER.
engineName
- The type of engine for the endpoint. Valid values include MYSQL,
ORACLE, POSTGRES, MARIADB, AURORA, SQLSERVER.public java.lang.String getEngineName()
The type of engine for the endpoint. Valid values include MYSQL, ORACLE, POSTGRES, MARIADB, AURORA, SQLSERVER.
public CreateEndpointRequest withEngineName(java.lang.String engineName)
The type of engine for the endpoint. Valid values include MYSQL, ORACLE, POSTGRES, MARIADB, AURORA, SQLSERVER.
engineName
- The type of engine for the endpoint. Valid values include MYSQL,
ORACLE, POSTGRES, MARIADB, AURORA, SQLSERVER.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 CreateEndpointRequest 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 CreateEndpointRequest 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 CreateEndpointRequest 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 CreateEndpointRequest 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 CreateEndpointRequest 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 CreateEndpointRequest withExtraConnectionAttributes(java.lang.String extraConnectionAttributes)
Additional attributes associated with the connection.
extraConnectionAttributes
- Additional attributes associated with the connection.public void setKmsKeyId(java.lang.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 java.lang.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(java.lang.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 java.util.List<Tag> getTags()
Tags to be added to the endpoint.
public void setTags(java.util.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(java.util.Collection<Tag> tags)
Tags to be added to the endpoint.
tags
- Tags to be added to the endpoint.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 CreateEndpointRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()