def delete(options = {})
      options = options.merge(db_instance_identifier: @id)
      resp = @client.delete_db_instance(options)
      DBInstance.new(
        id: resp.data.db_instance.db_instance_identifier,
        data: resp.data.db_instance,
        client: @client
      )
    end
def delete(options = {})
      options = options.merge(db_instance_identifier: @id)
      resp = @client.delete_db_instance(options)
      DBInstance.new(
        id: resp.data.db_instance.db_instance_identifier,
        data: resp.data.db_instance,
        client: @client
      )
    end
@example Request syntax with placeholder values

   dbinstance = db_instance.delete({
     skip_final_snapshot: false,
     final_db_snapshot_identifier: "String",
     delete_automated_backups: false,
   })
 @param [Hash] options ({})
 @option options [Boolean] :skip_final_snapshot
   A value that indicates whether a final DB snapshot is created before
   the DB instance is deleted. If `true` is specified, no DB snapshot is
   created. If `false` is specified, a DB snapshot is created before the
   DB instance is deleted.

   When a DB instance is in a failure state and has a status of `failed`,
   `incompatible-restore`, or `incompatible-network`, you can only delete
   it when the `SkipFinalSnapshot` parameter is set to `true`.

   Specify `true` when deleting a Read Replica.

   <note markdown="1"> The `FinalDBSnapshotIdentifier` parameter must be specified if
   `SkipFinalSnapshot` is `false`.

    </note>

   Default: `false`
 @option options [String] :final_db_snapshot_identifier
   The `DBSnapshotIdentifier` of the new DB snapshot created when
   `SkipFinalSnapshot` is set to `false`.

   <note markdown="1"> Specifying this parameter and also setting the `SkipFinalShapshot`
   parameter to `true` results in an error.

    </note>

   Constraints:

   * Must be 1 to 255 letters or numbers.

   * First character must be a letter.

   * Can't end with a hyphen or contain two consecutive hyphens.

   * Can't be specified when deleting a Read Replica.
 @option options [Boolean] :delete_automated_backups
   A value that indicates whether to remove automated backups immediately
   after the DB instance is deleted. This parameter isn't
   case-sensitive. This parameter defaults to `true`.
 @return [DBInstance]