CopyableBuilder<ImportJobResponse.Builder,ImportJobResponse>
, SdkBuilder<ImportJobResponse.Builder,ImportJobResponse>
public static interface ImportJobResponse.Builder extends CopyableBuilder<ImportJobResponse.Builder,ImportJobResponse>
Modifier and Type | Method | Description |
---|---|---|
ImportJobResponse.Builder |
applicationId(String applicationId) |
The unique ID of the application to which the import job applies.
|
ImportJobResponse.Builder |
completedPieces(Integer completedPieces) |
The number of pieces that have successfully imported as of the time of the request.
|
ImportJobResponse.Builder |
completionDate(String completionDate) |
The date the import job completed in ISO 8601 format.
|
ImportJobResponse.Builder |
creationDate(String creationDate) |
The date the import job was created in ISO 8601 format.
|
ImportJobResponse.Builder |
definition(ImportJobResource definition) |
The import job settings.
|
ImportJobResponse.Builder |
failedPieces(Integer failedPieces) |
The number of pieces that have failed to import as of the time of the request.
|
ImportJobResponse.Builder |
failures(String... failures) |
Provides up to 100 of the first failed entries for the job, if any exist.
|
ImportJobResponse.Builder |
failures(Collection<String> failures) |
Provides up to 100 of the first failed entries for the job, if any exist.
|
ImportJobResponse.Builder |
id(String id) |
The unique ID of the import job.
|
ImportJobResponse.Builder |
jobStatus(String jobStatus) |
The status of the import job.
|
ImportJobResponse.Builder |
jobStatus(JobStatus jobStatus) |
The status of the import job.
|
ImportJobResponse.Builder |
totalFailures(Integer totalFailures) |
The number of endpoints that failed to import; for example, because of syntax errors.
|
ImportJobResponse.Builder |
totalPieces(Integer totalPieces) |
The total number of pieces that must be imported to finish the job.
|
ImportJobResponse.Builder |
totalProcessed(Integer totalProcessed) |
The number of endpoints that were processed by the import job.
|
ImportJobResponse.Builder |
type(String type) |
The job type.
|
copy
apply, build
ImportJobResponse.Builder applicationId(String applicationId)
applicationId
- The unique ID of the application to which the import job applies.ImportJobResponse.Builder completedPieces(Integer completedPieces)
completedPieces
- The number of pieces that have successfully imported as of the time of the request.ImportJobResponse.Builder completionDate(String completionDate)
completionDate
- The date the import job completed in ISO 8601 format.ImportJobResponse.Builder creationDate(String creationDate)
creationDate
- The date the import job was created in ISO 8601 format.ImportJobResponse.Builder definition(ImportJobResource definition)
definition
- The import job settings.ImportJobResponse.Builder failedPieces(Integer failedPieces)
failedPieces
- The number of pieces that have failed to import as of the time of the request.ImportJobResponse.Builder failures(Collection<String> failures)
failures
- Provides up to 100 of the first failed entries for the job, if any exist.ImportJobResponse.Builder failures(String... failures)
NOTE: This method appends the values to the existing list (if any). Use
#setFailures(java.util.Collection)
or #withFailures(java.util.Collection)
if you want to
override the existing values.
failures
- Provides up to 100 of the first failed entries for the job, if any exist.ImportJobResponse.Builder id(String id)
id
- The unique ID of the import job.ImportJobResponse.Builder jobStatus(String jobStatus)
jobStatus
- The status of the import job. Valid values: CREATED, INITIALIZING, PROCESSING, COMPLETING, COMPLETED,
FAILING, FAILED
The job status is FAILED if one or more pieces failed to import.JobStatus
ImportJobResponse.Builder jobStatus(JobStatus jobStatus)
jobStatus
- The status of the import job. Valid values: CREATED, INITIALIZING, PROCESSING, COMPLETING, COMPLETED,
FAILING, FAILED
The job status is FAILED if one or more pieces failed to import.JobStatus
ImportJobResponse.Builder totalFailures(Integer totalFailures)
totalFailures
- The number of endpoints that failed to import; for example, because of syntax errors.ImportJobResponse.Builder totalPieces(Integer totalPieces)
totalPieces
- The total number of pieces that must be imported to finish the job. Each piece is an approximately
equal portion of the endpoints to import.ImportJobResponse.Builder totalProcessed(Integer totalProcessed)
totalProcessed
- The number of endpoints that were processed by the import job.ImportJobResponse.Builder type(String type)
type
- The job type. Will be Import.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.