Interface StartExportTaskResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<StartExportTaskResponse.Builder,StartExportTaskResponse>,RdsResponse.Builder,SdkBuilder<StartExportTaskResponse.Builder,StartExportTaskResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- StartExportTaskResponse
public static interface StartExportTaskResponse.Builder extends RdsResponse.Builder, SdkPojo, CopyableBuilder<StartExportTaskResponse.Builder,StartExportTaskResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StartExportTaskResponse.BuilderexportOnly(String... exportOnly)The data exported from the snapshot or cluster.StartExportTaskResponse.BuilderexportOnly(Collection<String> exportOnly)The data exported from the snapshot or cluster.StartExportTaskResponse.BuilderexportTaskIdentifier(String exportTaskIdentifier)A unique identifier for the snapshot or cluster export task.StartExportTaskResponse.BuilderfailureCause(String failureCause)The reason the export failed, if it failed.StartExportTaskResponse.BuilderiamRoleArn(String iamRoleArn)The name of the IAM role that is used to write to Amazon S3 when exporting a snapshot or cluster.StartExportTaskResponse.BuilderkmsKeyId(String kmsKeyId)The key identifier of the Amazon Web Services KMS key that is used to encrypt the data when it's exported to Amazon S3.StartExportTaskResponse.BuilderpercentProgress(Integer percentProgress)The progress of the snapshot or cluster export task as a percentage.StartExportTaskResponse.Builders3Bucket(String s3Bucket)The Amazon S3 bucket where the snapshot or cluster is exported to.StartExportTaskResponse.Builders3Prefix(String s3Prefix)The Amazon S3 bucket prefix that is the file name and path of the exported data.StartExportTaskResponse.BuildersnapshotTime(Instant snapshotTime)The time when the snapshot was created.StartExportTaskResponse.BuildersourceArn(String sourceArn)The Amazon Resource Name (ARN) of the snapshot or cluster exported to Amazon S3.StartExportTaskResponse.BuildersourceType(String sourceType)The type of source for the export.StartExportTaskResponse.BuildersourceType(ExportSourceType sourceType)The type of source for the export.StartExportTaskResponse.Builderstatus(String status)The progress status of the export task.StartExportTaskResponse.BuildertaskEndTime(Instant taskEndTime)The time when the snapshot or cluster export task ended.StartExportTaskResponse.BuildertaskStartTime(Instant taskStartTime)The time when the snapshot or cluster export task started.StartExportTaskResponse.BuildertotalExtractedDataInGB(Integer totalExtractedDataInGB)The total amount of data exported, in gigabytes.StartExportTaskResponse.BuilderwarningMessage(String warningMessage)A warning about the snapshot or cluster export task.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.rds.model.RdsResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
exportTaskIdentifier
StartExportTaskResponse.Builder exportTaskIdentifier(String exportTaskIdentifier)
A unique identifier for the snapshot or cluster export task. This ID isn't an identifier for the Amazon S3 bucket where the data is exported.
- Parameters:
exportTaskIdentifier- A unique identifier for the snapshot or cluster export task. This ID isn't an identifier for the Amazon S3 bucket where the data is exported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceArn
StartExportTaskResponse.Builder sourceArn(String sourceArn)
The Amazon Resource Name (ARN) of the snapshot or cluster exported to Amazon S3.
- Parameters:
sourceArn- The Amazon Resource Name (ARN) of the snapshot or cluster exported to Amazon S3.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
exportOnly
StartExportTaskResponse.Builder exportOnly(Collection<String> exportOnly)
The data exported from the snapshot or cluster.
Valid Values:
-
database- Export all the data from a specified database. -
database.tabletable-name - Export a table of the snapshot or cluster. This format is valid only for RDS for MySQL, RDS for MariaDB, and Aurora MySQL. -
database.schemaschema-name - Export a database schema of the snapshot or cluster. This format is valid only for RDS for PostgreSQL and Aurora PostgreSQL. -
database.schema.tabletable-name - Export a table of the database schema. This format is valid only for RDS for PostgreSQL and Aurora PostgreSQL.
- Parameters:
exportOnly- The data exported from the snapshot or cluster.Valid Values:
-
database- Export all the data from a specified database. -
database.tabletable-name - Export a table of the snapshot or cluster. This format is valid only for RDS for MySQL, RDS for MariaDB, and Aurora MySQL. -
database.schemaschema-name - Export a database schema of the snapshot or cluster. This format is valid only for RDS for PostgreSQL and Aurora PostgreSQL. -
database.schema.tabletable-name - Export a table of the database schema. This format is valid only for RDS for PostgreSQL and Aurora PostgreSQL.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
exportOnly
StartExportTaskResponse.Builder exportOnly(String... exportOnly)
The data exported from the snapshot or cluster.
Valid Values:
-
database- Export all the data from a specified database. -
database.tabletable-name - Export a table of the snapshot or cluster. This format is valid only for RDS for MySQL, RDS for MariaDB, and Aurora MySQL. -
database.schemaschema-name - Export a database schema of the snapshot or cluster. This format is valid only for RDS for PostgreSQL and Aurora PostgreSQL. -
database.schema.tabletable-name - Export a table of the database schema. This format is valid only for RDS for PostgreSQL and Aurora PostgreSQL.
- Parameters:
exportOnly- The data exported from the snapshot or cluster.Valid Values:
-
database- Export all the data from a specified database. -
database.tabletable-name - Export a table of the snapshot or cluster. This format is valid only for RDS for MySQL, RDS for MariaDB, and Aurora MySQL. -
database.schemaschema-name - Export a database schema of the snapshot or cluster. This format is valid only for RDS for PostgreSQL and Aurora PostgreSQL. -
database.schema.tabletable-name - Export a table of the database schema. This format is valid only for RDS for PostgreSQL and Aurora PostgreSQL.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
snapshotTime
StartExportTaskResponse.Builder snapshotTime(Instant snapshotTime)
The time when the snapshot was created.
- Parameters:
snapshotTime- The time when the snapshot was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskStartTime
StartExportTaskResponse.Builder taskStartTime(Instant taskStartTime)
The time when the snapshot or cluster export task started.
- Parameters:
taskStartTime- The time when the snapshot or cluster export task started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskEndTime
StartExportTaskResponse.Builder taskEndTime(Instant taskEndTime)
The time when the snapshot or cluster export task ended.
- Parameters:
taskEndTime- The time when the snapshot or cluster export task ended.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Bucket
StartExportTaskResponse.Builder s3Bucket(String s3Bucket)
The Amazon S3 bucket where the snapshot or cluster is exported to.
- Parameters:
s3Bucket- The Amazon S3 bucket where the snapshot or cluster is exported to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Prefix
StartExportTaskResponse.Builder s3Prefix(String s3Prefix)
The Amazon S3 bucket prefix that is the file name and path of the exported data.
- Parameters:
s3Prefix- The Amazon S3 bucket prefix that is the file name and path of the exported data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
iamRoleArn
StartExportTaskResponse.Builder iamRoleArn(String iamRoleArn)
The name of the IAM role that is used to write to Amazon S3 when exporting a snapshot or cluster.
- Parameters:
iamRoleArn- The name of the IAM role that is used to write to Amazon S3 when exporting a snapshot or cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsKeyId
StartExportTaskResponse.Builder kmsKeyId(String kmsKeyId)
The key identifier of the Amazon Web Services KMS key that is used to encrypt the data when it's exported to Amazon S3. The KMS key identifier is its key ARN, key ID, alias ARN, or alias name. The IAM role used for the export must have encryption and decryption permissions to use this KMS key.
- Parameters:
kmsKeyId- The key identifier of the Amazon Web Services KMS key that is used to encrypt the data when it's exported to Amazon S3. The KMS key identifier is its key ARN, key ID, alias ARN, or alias name. The IAM role used for the export must have encryption and decryption permissions to use this KMS key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
StartExportTaskResponse.Builder status(String status)
The progress status of the export task. The status can be one of the following:
-
CANCELED -
CANCELING -
COMPLETE -
FAILED -
IN_PROGRESS -
STARTING
- Parameters:
status- The progress status of the export task. The status can be one of the following:-
CANCELED -
CANCELING -
COMPLETE -
FAILED -
IN_PROGRESS -
STARTING
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
percentProgress
StartExportTaskResponse.Builder percentProgress(Integer percentProgress)
The progress of the snapshot or cluster export task as a percentage.
- Parameters:
percentProgress- The progress of the snapshot or cluster export task as a percentage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
totalExtractedDataInGB
StartExportTaskResponse.Builder totalExtractedDataInGB(Integer totalExtractedDataInGB)
The total amount of data exported, in gigabytes.
- Parameters:
totalExtractedDataInGB- The total amount of data exported, in gigabytes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureCause
StartExportTaskResponse.Builder failureCause(String failureCause)
The reason the export failed, if it failed.
- Parameters:
failureCause- The reason the export failed, if it failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
warningMessage
StartExportTaskResponse.Builder warningMessage(String warningMessage)
A warning about the snapshot or cluster export task.
- Parameters:
warningMessage- A warning about the snapshot or cluster export task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceType
StartExportTaskResponse.Builder sourceType(String sourceType)
The type of source for the export.
- Parameters:
sourceType- The type of source for the export.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ExportSourceType,ExportSourceType
-
sourceType
StartExportTaskResponse.Builder sourceType(ExportSourceType sourceType)
The type of source for the export.
- Parameters:
sourceType- The type of source for the export.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ExportSourceType,ExportSourceType
-
-