@Generated(value="software.amazon.awssdk:codegen") public final class StartExportTaskResponse extends RdsResponse implements ToCopyableBuilder<StartExportTaskResponse.Builder,StartExportTaskResponse>
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 |
StartExportTaskResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static StartExportTaskResponse.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 StartExportTaskResponse.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.
|
ExportSourceType |
sourceType()
The type of source for the export.
|
String |
sourceTypeAsString()
The type of source for the export.
|
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.
|
StartExportTaskResponse.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.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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 final ExportSourceType sourceType()
The type of source for the export.
If the service returns an enum value that is not available in the current SDK version, sourceType will
return ExportSourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
sourceTypeAsString().
ExportSourceTypepublic final String sourceTypeAsString()
The type of source for the export.
If the service returns an enum value that is not available in the current SDK version, sourceType will
return ExportSourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
sourceTypeAsString().
ExportSourceTypepublic StartExportTaskResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<StartExportTaskResponse.Builder,StartExportTaskResponse>toBuilder in class AwsResponsepublic static StartExportTaskResponse.Builder builder()
public static Class<? extends StartExportTaskResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2022. All rights reserved.