@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RDSMetadata extends Object implements Serializable, Cloneable, StructuredPojo
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() |
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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDatabase(RDSDatabase database)
The database details required to connect to an Amazon RDS.
|
void |
setDatabaseUserName(String databaseUserName) |
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.
|
RDSMetadata |
withDatabase(RDSDatabase database)
The database details required to connect to an Amazon RDS.
|
RDSMetadata |
withDatabaseUserName(String databaseUserName) |
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 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(String databaseUserName)
databaseUserName
- public String getDatabaseUserName()
public RDSMetadata withDatabaseUserName(String databaseUserName)
databaseUserName
- public void setSelectSqlQuery(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 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(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(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 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(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(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 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(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(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 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(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 String toString()
toString
in class Object
Object.toString()
public RDSMetadata clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.