Class RDSMetadata
- java.lang.Object
-
- com.amazonaws.services.machinelearning.model.RDSMetadata
-
- All Implemented Interfaces:
Serializable,Cloneable
public class RDSMetadata extends Object implements Serializable, Cloneable
The datasource details that are specific to Amazon RDS.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RDSMetadata()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RDSMetadataclone()booleanequals(Object obj)RDSDatabasegetDatabase()The database details required to connect to an Amazon RDS.StringgetDatabaseUserName()StringgetDataPipelineId()The ID of the Data Pipeline instance that is used to carry to copy data from Amazon RDS to Amazon S3.StringgetResourceRole()The role (DataPipelineDefaultResourceRole) assumed by an Amazon EC2 instance to carry out the copy task from Amazon RDS to Amazon S3.StringgetSelectSqlQuery()The SQL query that is supplied during CreateDataSourceFromRDS.StringgetServiceRole()The role (DataPipelineDefaultRole) assumed by the Data Pipeline service to monitor the progress of the copy task from Amazon RDS to Amazon S3.inthashCode()voidsetDatabase(RDSDatabase database)The database details required to connect to an Amazon RDS.voidsetDatabaseUserName(String databaseUserName)voidsetDataPipelineId(String dataPipelineId)The ID of the Data Pipeline instance that is used to carry to copy data from Amazon RDS to Amazon S3.voidsetResourceRole(String resourceRole)The role (DataPipelineDefaultResourceRole) assumed by an Amazon EC2 instance to carry out the copy task from Amazon RDS to Amazon S3.voidsetSelectSqlQuery(String selectSqlQuery)The SQL query that is supplied during CreateDataSourceFromRDS.voidsetServiceRole(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.StringtoString()Returns a string representation of this object; useful for testing and debugging.RDSMetadatawithDatabase(RDSDatabase database)The database details required to connect to an Amazon RDS.RDSMetadatawithDatabaseUserName(String databaseUserName)RDSMetadatawithDataPipelineId(String dataPipelineId)The ID of the Data Pipeline instance that is used to carry to copy data from Amazon RDS to Amazon S3.RDSMetadatawithResourceRole(String resourceRole)The role (DataPipelineDefaultResourceRole) assumed by an Amazon EC2 instance to carry out the copy task from Amazon RDS to Amazon S3.RDSMetadatawithSelectSqlQuery(String selectSqlQuery)The SQL query that is supplied during CreateDataSourceFromRDS.RDSMetadatawithServiceRole(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.
-
-
-
Method Detail
-
setDatabase
public void setDatabase(RDSDatabase database)
The database details required to connect to an Amazon RDS.
- Parameters:
database- The database details required to connect to an Amazon RDS.
-
getDatabase
public RDSDatabase getDatabase()
The database details required to connect to an Amazon RDS.
- Returns:
- The database details required to connect to an Amazon RDS.
-
withDatabase
public RDSMetadata withDatabase(RDSDatabase database)
The database details required to connect to an Amazon RDS.
- Parameters:
database- The database details required to connect to an Amazon RDS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDatabaseUserName
public void setDatabaseUserName(String databaseUserName)
- Parameters:
databaseUserName-
-
getDatabaseUserName
public String getDatabaseUserName()
- Returns:
-
withDatabaseUserName
public RDSMetadata withDatabaseUserName(String databaseUserName)
- Parameters:
databaseUserName-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSelectSqlQuery
public void setSelectSqlQuery(String selectSqlQuery)
The SQL query that is supplied during CreateDataSourceFromRDS. Returns only if
Verboseis true inGetDataSourceInput.- Parameters:
selectSqlQuery- The SQL query that is supplied during CreateDataSourceFromRDS. Returns only ifVerboseis true inGetDataSourceInput.
-
getSelectSqlQuery
public String getSelectSqlQuery()
The SQL query that is supplied during CreateDataSourceFromRDS. Returns only if
Verboseis true inGetDataSourceInput.- Returns:
- The SQL query that is supplied during
CreateDataSourceFromRDS. Returns only if
Verboseis true inGetDataSourceInput.
-
withSelectSqlQuery
public RDSMetadata withSelectSqlQuery(String selectSqlQuery)
The SQL query that is supplied during CreateDataSourceFromRDS. Returns only if
Verboseis true inGetDataSourceInput.- Parameters:
selectSqlQuery- The SQL query that is supplied during CreateDataSourceFromRDS. Returns only ifVerboseis true inGetDataSourceInput.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setResourceRole
public 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. For more information, see Role templates for data pipelines.
- Parameters:
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.
-
getResourceRole
public 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.
- Returns:
- 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.
-
withResourceRole
public 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. For more information, see Role templates for data pipelines.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setServiceRole
public 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. For more information, see Role templates for data pipelines.
- Parameters:
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.
-
getServiceRole
public 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.
- Returns:
- 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.
-
withServiceRole
public 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. For more information, see Role templates for data pipelines.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDataPipelineId
public 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. You can use the ID to find details about the instance in the Data Pipeline console.
- Parameters:
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.
-
getDataPipelineId
public 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.
- Returns:
- 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.
-
withDataPipelineId
public 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. You can use the ID to find details about the instance in the Data Pipeline console.
- Parameters:
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.- 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 RDSMetadata clone()
-
-