Interface RDSMetadata.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RDSMetadata.Builder,
,RDSMetadata> SdkBuilder<RDSMetadata.Builder,
,RDSMetadata> SdkPojo
- Enclosing class:
RDSMetadata
-
Method Summary
Modifier and TypeMethodDescriptiondefault RDSMetadata.Builder
database
(Consumer<RDSDatabase.Builder> database) The database details required to connect to an Amazon RDS.database
(RDSDatabase database) The database details required to connect to an Amazon RDS.databaseUserName
(String databaseUserName) Sets the value of the DatabaseUserName property for this object.dataPipelineId
(String dataPipelineId) The ID of the Data Pipeline instance that is used to carry to copy data from Amazon RDS to Amazon S3.resourceRole
(String resourceRole) The role (DataPipelineDefaultResourceRole) assumed by an Amazon EC2 instance to carry out the copy task from Amazon RDS to Amazon S3.selectSqlQuery
(String selectSqlQuery) The SQL query that is supplied during CreateDataSourceFromRDS.serviceRole
(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.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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.
-
database
The database details required to connect to an Amazon RDS.
This is a convenience method that creates an instance of theRDSDatabase.Builder
avoiding the need to create one manually viaRDSDatabase.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todatabase(RDSDatabase)
.- Parameters:
database
- a consumer that will call methods onRDSDatabase.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
databaseUserName
Sets the value of the DatabaseUserName property for this object.- Parameters:
databaseUserName
- The new value for the DatabaseUserName property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
selectSqlQuery
The SQL query that is supplied during CreateDataSourceFromRDS. Returns only if
Verbose
is true inGetDataSourceInput
.- Parameters:
selectSqlQuery
- The SQL query that is supplied during CreateDataSourceFromRDS. Returns only ifVerbose
is true inGetDataSourceInput
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
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.
-
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.
-