public class RDSMetadata
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
The datasource details that are specific to Amazon RDS.
Modifier and Type | Field and Description |
---|---|
private RDSDatabase |
database
The database details required to connect to an Amazon RDS.
|
private java.lang.String |
databaseUserName |
private java.lang.String |
dataPipelineId
The ID of the Data Pipeline instance that is used to carry to copy data
from Amazon RDS to Amazon S3.
|
private java.lang.String |
resourceRole
The role (DataPipelineDefaultResourceRole) assumed by an Amazon EC2
instance to carry out the copy task from Amazon RDS to Amazon S3.
|
private java.lang.String |
selectSqlQuery
The SQL query that is supplied during CreateDataSourceFromRDS.
|
private java.lang.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.
|
Constructor and Description |
---|
RDSMetadata() |
Modifier and Type | Method and Description |
---|---|
RDSMetadata |
clone() |
boolean |
equals(java.lang.Object obj) |
RDSDatabase |
getDatabase()
The database details required to connect to an Amazon RDS.
|
java.lang.String |
getDatabaseUserName() |
java.lang.String |
getDataPipelineId()
The ID of the Data Pipeline instance that is used to carry to copy data
from Amazon RDS to Amazon S3.
|
java.lang.String |
getResourceRole()
The role (DataPipelineDefaultResourceRole) assumed by an Amazon EC2
instance to carry out the copy task from Amazon RDS to Amazon S3.
|
java.lang.String |
getSelectSqlQuery()
The SQL query that is supplied during CreateDataSourceFromRDS.
|
java.lang.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(java.lang.String databaseUserName) |
void |
setDataPipelineId(java.lang.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(java.lang.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(java.lang.String selectSqlQuery)
The SQL query that is supplied during CreateDataSourceFromRDS.
|
void |
setServiceRole(java.lang.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.
|
java.lang.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(java.lang.String databaseUserName) |
RDSMetadata |
withDataPipelineId(java.lang.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(java.lang.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(java.lang.String selectSqlQuery)
The SQL query that is supplied during CreateDataSourceFromRDS.
|
RDSMetadata |
withServiceRole(java.lang.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.
|
private RDSDatabase database
The database details required to connect to an Amazon RDS.
private java.lang.String databaseUserName
private java.lang.String selectSqlQuery
The SQL query that is supplied during CreateDataSourceFromRDS.
Returns only if Verbose
is true in
GetDataSourceInput
.
private java.lang.String 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.
private java.lang.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. For more information, see Role templates for data pipelines.
private java.lang.String 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 void setDatabase(RDSDatabase database)
The database details required to connect to an Amazon RDS.
database
- The database details required to connect to an Amazon RDS.public RDSDatabase getDatabase()
The database details required to connect to an Amazon RDS.
public RDSMetadata withDatabase(RDSDatabase database)
The database details required to connect to an Amazon RDS.
database
- The database details required to connect to an Amazon RDS.public void setDatabaseUserName(java.lang.String databaseUserName)
databaseUserName
- public java.lang.String getDatabaseUserName()
public RDSMetadata withDatabaseUserName(java.lang.String databaseUserName)
databaseUserName
- public void setSelectSqlQuery(java.lang.String selectSqlQuery)
The SQL query that is supplied during CreateDataSourceFromRDS.
Returns only if Verbose
is true in
GetDataSourceInput
.
selectSqlQuery
- The SQL query that is supplied during
CreateDataSourceFromRDS. Returns only if
Verbose
is true in GetDataSourceInput
.public java.lang.String getSelectSqlQuery()
The SQL query that is supplied during CreateDataSourceFromRDS.
Returns only if Verbose
is true in
GetDataSourceInput
.
Verbose
is true in GetDataSourceInput
.public RDSMetadata withSelectSqlQuery(java.lang.String selectSqlQuery)
The SQL query that is supplied during CreateDataSourceFromRDS.
Returns only if Verbose
is true in
GetDataSourceInput
.
selectSqlQuery
- The SQL query that is supplied during
CreateDataSourceFromRDS. Returns only if
Verbose
is true in GetDataSourceInput
.public void setResourceRole(java.lang.String 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.
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 java.lang.String getResourceRole()
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(java.lang.String 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.
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 void setServiceRole(java.lang.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. For more information, see Role templates for data pipelines.
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 java.lang.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. For more information, see Role templates for data pipelines.
public RDSMetadata withServiceRole(java.lang.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. For more information, see Role templates for data pipelines.
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 void setDataPipelineId(java.lang.String 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.
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 java.lang.String getDataPipelineId()
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(java.lang.String 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.
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 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 RDSMetadata clone()
clone
in class java.lang.Object