Interface RDSMetadata.Builder

All Superinterfaces:
Buildable, CopyableBuilder<RDSMetadata.Builder,RDSMetadata>, SdkBuilder<RDSMetadata.Builder,RDSMetadata>, SdkPojo
Enclosing class:
RDSMetadata

public static interface RDSMetadata.Builder extends SdkPojo, CopyableBuilder<RDSMetadata.Builder,RDSMetadata>
  • Method Details

    • database

      RDSMetadata.Builder database(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.
    • database

      default RDSMetadata.Builder database(Consumer<RDSDatabase.Builder> database)

      The database details required to connect to an Amazon RDS.

      This is a convenience method that creates an instance of the RDSDatabase.Builder avoiding the need to create one manually via RDSDatabase.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to database(RDSDatabase).

      Parameters:
      database - a consumer that will call methods on RDSDatabase.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • databaseUserName

      RDSMetadata.Builder databaseUserName(String 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

      RDSMetadata.Builder selectSqlQuery(String selectSqlQuery)

      The SQL query that is supplied during CreateDataSourceFromRDS. Returns only if Verbose is true in GetDataSourceInput.

      Parameters:
      selectSqlQuery - The SQL query that is supplied during CreateDataSourceFromRDS. Returns only if Verbose is true in GetDataSourceInput.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceRole

      RDSMetadata.Builder resourceRole(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.
    • serviceRole

      RDSMetadata.Builder 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. 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

      RDSMetadata.Builder dataPipelineId(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.