@Generated(value="software.amazon.awssdk:codegen") public final class ImportTask extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ImportTask.Builder,ImportTask>
An array of information related to the import task request that includes status information, times, IDs, the Amazon S3 Object URL for the import file, and more.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ImportTask.Builder |
| Modifier and Type | Method and Description |
|---|---|
Integer |
applicationImportFailure()
The total number of application records in the import file that failed to be imported.
|
Integer |
applicationImportSuccess()
The total number of application records in the import file that were successfully imported.
|
static ImportTask.Builder |
builder() |
String |
clientRequestToken()
A unique token used to prevent the same import request from occurring more than once.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
errorsAndFailedEntriesZip()
A link to a compressed archive folder (in the ZIP format) that contains an error log and a file of failed
records.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
importCompletionTime()
The time that the import task request finished, presented in the Unix time stamp format.
|
Instant |
importDeletedTime()
The time that the import task request was deleted, presented in the Unix time stamp format.
|
Instant |
importRequestTime()
The time that the import task request was made, presented in the Unix time stamp format.
|
String |
importTaskId()
The unique ID for a specific import task.
|
String |
importUrl()
The URL for your import file that you've uploaded to Amazon S3.
|
String |
name()
A descriptive name for an import task.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ImportTask.Builder> |
serializableBuilderClass() |
Integer |
serverImportFailure()
The total number of server records in the import file that failed to be imported.
|
Integer |
serverImportSuccess()
The total number of server records in the import file that were successfully imported.
|
ImportStatus |
status()
The status of the import task.
|
String |
statusAsString()
The status of the import task.
|
ImportTask.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String importTaskId()
The unique ID for a specific import task. These IDs aren't globally unique, but they are unique within an Amazon Web Services account.
public final String clientRequestToken()
A unique token used to prevent the same import request from occurring more than once. If you didn't provide a token, a token was automatically generated when the import task request was sent.
public final String name()
A descriptive name for an import task. You can use this name to filter future requests related to this import task, such as identifying applications and servers that were included in this import task. We recommend that you use a meaningful name for each import task.
public final String importUrl()
The URL for your import file that you've uploaded to Amazon S3.
public final ImportStatus status()
The status of the import task. An import can have the status of IMPORT_COMPLETE and still have some
records fail to import from the overall request. More information can be found in the downloadable archive
defined in the errorsAndFailedEntriesZip field, or in the Migration Hub management console.
If the service returns an enum value that is not available in the current SDK version, status will
return ImportStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
IMPORT_COMPLETE and still
have some records fail to import from the overall request. More information can be found in the
downloadable archive defined in the errorsAndFailedEntriesZip field, or in the Migration Hub
management console.ImportStatuspublic final String statusAsString()
The status of the import task. An import can have the status of IMPORT_COMPLETE and still have some
records fail to import from the overall request. More information can be found in the downloadable archive
defined in the errorsAndFailedEntriesZip field, or in the Migration Hub management console.
If the service returns an enum value that is not available in the current SDK version, status will
return ImportStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
IMPORT_COMPLETE and still
have some records fail to import from the overall request. More information can be found in the
downloadable archive defined in the errorsAndFailedEntriesZip field, or in the Migration Hub
management console.ImportStatuspublic final Instant importRequestTime()
The time that the import task request was made, presented in the Unix time stamp format.
public final Instant importCompletionTime()
The time that the import task request finished, presented in the Unix time stamp format.
public final Instant importDeletedTime()
The time that the import task request was deleted, presented in the Unix time stamp format.
public final Integer serverImportSuccess()
The total number of server records in the import file that were successfully imported.
public final Integer serverImportFailure()
The total number of server records in the import file that failed to be imported.
public final Integer applicationImportSuccess()
The total number of application records in the import file that were successfully imported.
public final Integer applicationImportFailure()
The total number of application records in the import file that failed to be imported.
public final String errorsAndFailedEntriesZip()
A link to a compressed archive folder (in the ZIP format) that contains an error log and a file of failed records. You can use these two files to quickly identify records that failed, why they failed, and correct those records. Afterward, you can upload the corrected file to your Amazon S3 bucket and create another import task request.
This field also includes authorization information so you can confirm the authenticity of the compressed archive before you download it.
If some records failed to be imported we recommend that you correct the records in the failed entries file and then imports that failed entries file. This prevents you from having to correct and update the larger original file and attempt importing it again.
This field also includes authorization information so you can confirm the authenticity of the compressed archive before you download it.
If some records failed to be imported we recommend that you correct the records in the failed entries file and then imports that failed entries file. This prevents you from having to correct and update the larger original file and attempt importing it again.
public ImportTask.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ImportTask.Builder,ImportTask>public static ImportTask.Builder builder()
public static Class<? extends ImportTask.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.