public class RDSMetadata extends Object implements Serializable, Cloneable
The datasource details that are specific to Amazon RDS.
Constructor and Description |
---|
RDSMetadata() |
Modifier and Type | Method and Description |
---|---|
RDSMetadata |
clone() |
boolean |
equals(Object obj) |
RDSDatabase |
getDatabase()
The database details required to connect to an Amazon RDS.
|
String |
getDatabaseUserName()
The username to be used by Amazon ML to connect to database on an
Amazon RDS instance.
|
String |
getDataPipelineId()
The ID of the Data Pipeline instance that is used to carry to copy
data from Amazon RDS to Amazon S3.
|
String |
getResourceRole()
The role (DataPipelineDefaultResourceRole) assumed by an Amazon EC2
instance to carry out the copy task from Amazon RDS to Amazon S3.
|
String |
getSelectSqlQuery()
The SQL query that is supplied during CreateDataSourceFromRDS.
|
String |
getServiceRole()
The role (DataPipelineDefaultRole) assumed by the Data Pipeline
service to monitor the progress of the copy task from Amazon RDS to
Amazon S3.
|
int |
hashCode() |
void |
setDatabase(RDSDatabase database)
The database details required to connect to an Amazon RDS.
|
void |
setDatabaseUserName(String databaseUserName)
The username to be used by Amazon ML to connect to database on an
Amazon RDS instance.
|
void |
setDataPipelineId(String dataPipelineId)
The ID of the Data Pipeline instance that is used to carry to copy
data from Amazon RDS to Amazon S3.
|
void |
setResourceRole(String resourceRole)
The role (DataPipelineDefaultResourceRole) assumed by an Amazon EC2
instance to carry out the copy task from Amazon RDS to Amazon S3.
|
void |
setSelectSqlQuery(String selectSqlQuery)
The SQL query that is supplied during CreateDataSourceFromRDS.
|
void |
setServiceRole(String serviceRole)
The role (DataPipelineDefaultRole) assumed by the Data Pipeline
service to monitor the progress of the copy task from Amazon RDS to
Amazon S3.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RDSMetadata |
withDatabase(RDSDatabase database)
The database details required to connect to an Amazon RDS.
|
RDSMetadata |
withDatabaseUserName(String databaseUserName)
The username to be used by Amazon ML to connect to database on an
Amazon RDS instance.
|
RDSMetadata |
withDataPipelineId(String dataPipelineId)
The ID of the Data Pipeline instance that is used to carry to copy
data from Amazon RDS to Amazon S3.
|
RDSMetadata |
withResourceRole(String resourceRole)
The role (DataPipelineDefaultResourceRole) assumed by an Amazon EC2
instance to carry out the copy task from Amazon RDS to Amazon S3.
|
RDSMetadata |
withSelectSqlQuery(String selectSqlQuery)
The SQL query that is supplied during CreateDataSourceFromRDS.
|
RDSMetadata |
withServiceRole(String serviceRole)
The role (DataPipelineDefaultRole) assumed by the Data Pipeline
service to monitor the progress of the copy task from Amazon RDS to
Amazon S3.
|
public RDSDatabase getDatabase()
public void setDatabase(RDSDatabase database)
database
- The database details required to connect to an Amazon RDS.public RDSMetadata withDatabase(RDSDatabase database)
Returns a reference to this object so that method calls can be chained together.
database
- The database details required to connect to an Amazon RDS.public String getDatabaseUserName()
RDSSelectSqlQuery
query.
Constraints:
Length: 1 - 128
RDSSelectSqlQuery
query.public void setDatabaseUserName(String databaseUserName)
RDSSelectSqlQuery
query.
Constraints:
Length: 1 - 128
databaseUserName
- The username to be used by Amazon ML to connect to database on an
Amazon RDS instance. The username should have sufficient permissions
to execute an RDSSelectSqlQuery
query.public RDSMetadata withDatabaseUserName(String databaseUserName)
RDSSelectSqlQuery
query.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
databaseUserName
- The username to be used by Amazon ML to connect to database on an
Amazon RDS instance. The username should have sufficient permissions
to execute an RDSSelectSqlQuery
query.public String getSelectSqlQuery()
Verbose
is true in
GetDataSourceInput
.
Constraints:
Length: 1 - 16777216
Verbose
is true in
GetDataSourceInput
.public void setSelectSqlQuery(String selectSqlQuery)
Verbose
is true in
GetDataSourceInput
.
Constraints:
Length: 1 - 16777216
selectSqlQuery
- The SQL query that is supplied during CreateDataSourceFromRDS.
Returns only if Verbose
is true in
GetDataSourceInput
.public RDSMetadata withSelectSqlQuery(String selectSqlQuery)
Verbose
is true in
GetDataSourceInput
.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 16777216
selectSqlQuery
- The SQL query that is supplied during CreateDataSourceFromRDS.
Returns only if Verbose
is true in
GetDataSourceInput
.public String getResourceRole()
Constraints:
Length: 1 - 64
public void setResourceRole(String resourceRole)
Constraints:
Length: 1 - 64
resourceRole
- The role (DataPipelineDefaultResourceRole) assumed by an Amazon EC2
instance to carry out the copy task from Amazon RDS to Amazon S3. For
more information, see Role
templates for data pipelines.public RDSMetadata withResourceRole(String resourceRole)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 64
resourceRole
- The role (DataPipelineDefaultResourceRole) assumed by an Amazon EC2
instance to carry out the copy task from Amazon RDS to Amazon S3. For
more information, see Role
templates for data pipelines.public String getServiceRole()
Constraints:
Length: 1 - 64
public void setServiceRole(String serviceRole)
Constraints:
Length: 1 - 64
serviceRole
- The role (DataPipelineDefaultRole) assumed by the Data Pipeline
service to monitor the progress of the copy task from Amazon RDS to
Amazon S3. For more information, see Role
templates for data pipelines.public RDSMetadata withServiceRole(String serviceRole)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 64
serviceRole
- The role (DataPipelineDefaultRole) assumed by the Data Pipeline
service to monitor the progress of the copy task from Amazon RDS to
Amazon S3. For more information, see Role
templates for data pipelines.public String getDataPipelineId()
Constraints:
Length: 1 - 1024
public void setDataPipelineId(String dataPipelineId)
Constraints:
Length: 1 - 1024
dataPipelineId
- The ID of the Data Pipeline instance that is used to carry to copy
data from Amazon RDS to Amazon S3. You can use the ID to find details
about the instance in the Data Pipeline console.public RDSMetadata withDataPipelineId(String dataPipelineId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1024
dataPipelineId
- The ID of the Data Pipeline instance that is used to carry to copy
data from Amazon RDS to Amazon S3. You can use the ID to find details
about the instance in the Data Pipeline console.public String toString()
toString
in class Object
Object.toString()
public RDSMetadata clone()
Copyright © 2015. All rights reserved.