@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ImportTask extends Object implements Serializable, Cloneable, StructuredPojo
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.
Constructor and Description |
---|
ImportTask() |
Modifier and Type | Method and Description |
---|---|
ImportTask |
clone() |
boolean |
equals(Object obj) |
Integer |
getApplicationImportFailure()
The total number of application records in the import file that failed to be imported.
|
Integer |
getApplicationImportSuccess()
The total number of application records in the import file that were successfully imported.
|
String |
getClientRequestToken()
A unique token used to prevent the same import request from occurring more than once.
|
String |
getErrorsAndFailedEntriesZip()
A link to a compressed archive folder (in the ZIP format) that contains an error log and a file of failed
records.
|
Date |
getImportCompletionTime()
The time that the import task request finished, presented in the Unix time stamp format.
|
Date |
getImportDeletedTime()
The time that the import task request was deleted, presented in the Unix time stamp format.
|
Date |
getImportRequestTime()
The time that the import task request was made, presented in the Unix time stamp format.
|
String |
getImportTaskId()
The unique ID for a specific import task.
|
String |
getImportUrl()
The URL for your import file that you've uploaded to Amazon S3.
|
String |
getName()
A descriptive name for an import task.
|
Integer |
getServerImportFailure()
The total number of server records in the import file that failed to be imported.
|
Integer |
getServerImportSuccess()
The total number of server records in the import file that were successfully imported.
|
String |
getStatus()
The status of the import task.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setApplicationImportFailure(Integer applicationImportFailure)
The total number of application records in the import file that failed to be imported.
|
void |
setApplicationImportSuccess(Integer applicationImportSuccess)
The total number of application records in the import file that were successfully imported.
|
void |
setClientRequestToken(String clientRequestToken)
A unique token used to prevent the same import request from occurring more than once.
|
void |
setErrorsAndFailedEntriesZip(String errorsAndFailedEntriesZip)
A link to a compressed archive folder (in the ZIP format) that contains an error log and a file of failed
records.
|
void |
setImportCompletionTime(Date importCompletionTime)
The time that the import task request finished, presented in the Unix time stamp format.
|
void |
setImportDeletedTime(Date importDeletedTime)
The time that the import task request was deleted, presented in the Unix time stamp format.
|
void |
setImportRequestTime(Date importRequestTime)
The time that the import task request was made, presented in the Unix time stamp format.
|
void |
setImportTaskId(String importTaskId)
The unique ID for a specific import task.
|
void |
setImportUrl(String importUrl)
The URL for your import file that you've uploaded to Amazon S3.
|
void |
setName(String name)
A descriptive name for an import task.
|
void |
setServerImportFailure(Integer serverImportFailure)
The total number of server records in the import file that failed to be imported.
|
void |
setServerImportSuccess(Integer serverImportSuccess)
The total number of server records in the import file that were successfully imported.
|
void |
setStatus(String status)
The status of the import task.
|
String |
toString()
Returns a string representation of this object.
|
ImportTask |
withApplicationImportFailure(Integer applicationImportFailure)
The total number of application records in the import file that failed to be imported.
|
ImportTask |
withApplicationImportSuccess(Integer applicationImportSuccess)
The total number of application records in the import file that were successfully imported.
|
ImportTask |
withClientRequestToken(String clientRequestToken)
A unique token used to prevent the same import request from occurring more than once.
|
ImportTask |
withErrorsAndFailedEntriesZip(String errorsAndFailedEntriesZip)
A link to a compressed archive folder (in the ZIP format) that contains an error log and a file of failed
records.
|
ImportTask |
withImportCompletionTime(Date importCompletionTime)
The time that the import task request finished, presented in the Unix time stamp format.
|
ImportTask |
withImportDeletedTime(Date importDeletedTime)
The time that the import task request was deleted, presented in the Unix time stamp format.
|
ImportTask |
withImportRequestTime(Date importRequestTime)
The time that the import task request was made, presented in the Unix time stamp format.
|
ImportTask |
withImportTaskId(String importTaskId)
The unique ID for a specific import task.
|
ImportTask |
withImportUrl(String importUrl)
The URL for your import file that you've uploaded to Amazon S3.
|
ImportTask |
withName(String name)
A descriptive name for an import task.
|
ImportTask |
withServerImportFailure(Integer serverImportFailure)
The total number of server records in the import file that failed to be imported.
|
ImportTask |
withServerImportSuccess(Integer serverImportSuccess)
The total number of server records in the import file that were successfully imported.
|
ImportTask |
withStatus(ImportStatus status)
The status of the import task.
|
ImportTask |
withStatus(String status)
The status of the import task.
|
public void setImportTaskId(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.
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 String getImportTaskId()
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 ImportTask withImportTaskId(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.
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 void setClientRequestToken(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.
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 String getClientRequestToken()
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 ImportTask withClientRequestToken(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.
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 void setName(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.
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 String getName()
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 ImportTask withName(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.
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 void setImportUrl(String importUrl)
The URL for your import file that you've uploaded to Amazon S3.
importUrl
- The URL for your import file that you've uploaded to Amazon S3.public String getImportUrl()
The URL for your import file that you've uploaded to Amazon S3.
public ImportTask withImportUrl(String importUrl)
The URL for your import file that you've uploaded to Amazon S3.
importUrl
- The URL for your import file that you've uploaded to Amazon S3.public void setStatus(String 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.
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.ImportStatus
public String getStatus()
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.
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.ImportStatus
public ImportTask withStatus(String 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.
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.ImportStatus
public ImportTask withStatus(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.
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.ImportStatus
public void setImportRequestTime(Date importRequestTime)
The time that the import task request was made, presented in the Unix time stamp format.
importRequestTime
- The time that the import task request was made, presented in the Unix time stamp format.public Date getImportRequestTime()
The time that the import task request was made, presented in the Unix time stamp format.
public ImportTask withImportRequestTime(Date importRequestTime)
The time that the import task request was made, presented in the Unix time stamp format.
importRequestTime
- The time that the import task request was made, presented in the Unix time stamp format.public void setImportCompletionTime(Date importCompletionTime)
The time that the import task request finished, presented in the Unix time stamp format.
importCompletionTime
- The time that the import task request finished, presented in the Unix time stamp format.public Date getImportCompletionTime()
The time that the import task request finished, presented in the Unix time stamp format.
public ImportTask withImportCompletionTime(Date importCompletionTime)
The time that the import task request finished, presented in the Unix time stamp format.
importCompletionTime
- The time that the import task request finished, presented in the Unix time stamp format.public void setImportDeletedTime(Date importDeletedTime)
The time that the import task request was deleted, presented in the Unix time stamp format.
importDeletedTime
- The time that the import task request was deleted, presented in the Unix time stamp format.public Date getImportDeletedTime()
The time that the import task request was deleted, presented in the Unix time stamp format.
public ImportTask withImportDeletedTime(Date importDeletedTime)
The time that the import task request was deleted, presented in the Unix time stamp format.
importDeletedTime
- The time that the import task request was deleted, presented in the Unix time stamp format.public void setServerImportSuccess(Integer serverImportSuccess)
The total number of server records in the import file that were successfully imported.
serverImportSuccess
- The total number of server records in the import file that were successfully imported.public Integer getServerImportSuccess()
The total number of server records in the import file that were successfully imported.
public ImportTask withServerImportSuccess(Integer serverImportSuccess)
The total number of server records in the import file that were successfully imported.
serverImportSuccess
- The total number of server records in the import file that were successfully imported.public void setServerImportFailure(Integer serverImportFailure)
The total number of server records in the import file that failed to be imported.
serverImportFailure
- The total number of server records in the import file that failed to be imported.public Integer getServerImportFailure()
The total number of server records in the import file that failed to be imported.
public ImportTask withServerImportFailure(Integer serverImportFailure)
The total number of server records in the import file that failed to be imported.
serverImportFailure
- The total number of server records in the import file that failed to be imported.public void setApplicationImportSuccess(Integer applicationImportSuccess)
The total number of application records in the import file that were successfully imported.
applicationImportSuccess
- The total number of application records in the import file that were successfully imported.public Integer getApplicationImportSuccess()
The total number of application records in the import file that were successfully imported.
public ImportTask withApplicationImportSuccess(Integer applicationImportSuccess)
The total number of application records in the import file that were successfully imported.
applicationImportSuccess
- The total number of application records in the import file that were successfully imported.public void setApplicationImportFailure(Integer applicationImportFailure)
The total number of application records in the import file that failed to be imported.
applicationImportFailure
- The total number of application records in the import file that failed to be imported.public Integer getApplicationImportFailure()
The total number of application records in the import file that failed to be imported.
public ImportTask withApplicationImportFailure(Integer applicationImportFailure)
The total number of application records in the import file that failed to be imported.
applicationImportFailure
- The total number of application records in the import file that failed to be imported.public void setErrorsAndFailedEntriesZip(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.
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.
public String getErrorsAndFailedEntriesZip()
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 withErrorsAndFailedEntriesZip(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.
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.
public String toString()
toString
in class Object
Object.toString()
public ImportTask clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.