@Generated(value="software.amazon.awssdk:codegen") public final class ExportTask extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ExportTask.Builder,ExportTask>
Contains the details of a snapshot export to Amazon S3.
This data type is used as a response element in the DescribeExportTasks
action.
Modifier and Type | Class and Description |
---|---|
static interface |
ExportTask.Builder |
Modifier and Type | Method and Description |
---|---|
static ExportTask.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<String> |
exportOnly()
The data exported from the snapshot.
|
String |
exportTaskIdentifier()
A unique identifier for the snapshot export task.
|
String |
failureCause()
The reason the export failed, if it failed.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasExportOnly()
For responses, this returns true if the service returned a value for the ExportOnly property.
|
int |
hashCode() |
String |
iamRoleArn()
The name of the IAM role that is used to write to Amazon S3 when exporting a snapshot.
|
String |
kmsKeyId()
The key identifier of the Amazon Web Services KMS key that is used to encrypt the snapshot when it's exported to
Amazon S3.
|
Integer |
percentProgress()
The progress of the snapshot export task as a percentage.
|
String |
s3Bucket()
The Amazon S3 bucket that the snapshot is exported to.
|
String |
s3Prefix()
The Amazon S3 bucket prefix that is the file name and path of the exported snapshot.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ExportTask.Builder> |
serializableBuilderClass() |
Instant |
snapshotTime()
The time that the snapshot was created.
|
String |
sourceArn()
The Amazon Resource Name (ARN) of the snapshot exported to Amazon S3.
|
String |
status()
The progress status of the export task.
|
Instant |
taskEndTime()
The time that the snapshot export task completed.
|
Instant |
taskStartTime()
The time that the snapshot export task started.
|
ExportTask.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Integer |
totalExtractedDataInGB()
The total amount of data exported, in gigabytes.
|
String |
warningMessage()
A warning about the snapshot export task.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String exportTaskIdentifier()
A unique identifier for the snapshot export task. This ID isn't an identifier for the Amazon S3 bucket where the snapshot is exported to.
public final String sourceArn()
The Amazon Resource Name (ARN) of the snapshot exported to Amazon S3.
public final boolean hasExportOnly()
isEmpty()
method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<String> exportOnly()
The data exported from the snapshot. Valid values are the following:
database
- Export all the data from a specified database.
database.table
table-name - Export a table of the snapshot. This format is valid only for RDS
for MySQL, RDS for MariaDB, and Aurora MySQL.
database.schema
schema-name - Export a database schema of the snapshot. This format is valid
only for RDS for PostgreSQL and Aurora PostgreSQL.
database.schema.table
table-name - Export a table of the database schema. This format is
valid only for RDS for PostgreSQL and Aurora PostgreSQL.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasExportOnly()
method.
database
- Export all the data from a specified database.
database.table
table-name - Export a table of the snapshot. This format is valid only
for RDS for MySQL, RDS for MariaDB, and Aurora MySQL.
database.schema
schema-name - Export a database schema of the snapshot. This format
is valid only for RDS for PostgreSQL and Aurora PostgreSQL.
database.schema.table
table-name - Export a table of the database schema. This format
is valid only for RDS for PostgreSQL and Aurora PostgreSQL.
public final Instant snapshotTime()
The time that the snapshot was created.
public final Instant taskStartTime()
The time that the snapshot export task started.
public final Instant taskEndTime()
The time that the snapshot export task completed.
public final String s3Bucket()
The Amazon S3 bucket that the snapshot is exported to.
public final String s3Prefix()
The Amazon S3 bucket prefix that is the file name and path of the exported snapshot.
public final String iamRoleArn()
The name of the IAM role that is used to write to Amazon S3 when exporting a snapshot.
public final String kmsKeyId()
The key identifier of the Amazon Web Services KMS key that is used to encrypt the snapshot 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 snapshot export must have encryption and decryption permissions to use this KMS key.
public final String status()
The progress status of the export task.
public final Integer percentProgress()
The progress of the snapshot export task as a percentage.
public final Integer totalExtractedDataInGB()
The total amount of data exported, in gigabytes.
public final String failureCause()
The reason the export failed, if it failed.
public final String warningMessage()
A warning about the snapshot export task.
public ExportTask.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<ExportTask.Builder,ExportTask>
public static ExportTask.Builder builder()
public static Class<? extends ExportTask.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2022. All rights reserved.