public static interface ImportJobResponse.Builder extends CopyableBuilder<ImportJobResponse.Builder,ImportJobResponse>
| Modifier and Type | Method and 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.
|
default ImportJobResponse.Builder |
definition(Consumer<ImportJobResource.Builder> definition)
The import job settings.
|
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(Collection<String> failures)
Provides up to 100 of the first failed entries for the job, if any exist.
|
ImportJobResponse.Builder |
failures(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(JobStatus jobStatus)
The status of the import job.
|
ImportJobResponse.Builder |
jobStatus(String 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.
|
copyapply, buildImportJobResponse.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.default ImportJobResponse.Builder definition(Consumer<ImportJobResource.Builder> definition)
ImportJobResource.Builder avoiding the need to create one manually via
ImportJobResource.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to definition(ImportJobResource).definition - a consumer that will call methods on ImportJobResource.Builderdefinition(ImportJobResource)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)
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,
JobStatusImportJobResponse.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,
JobStatusImportJobResponse.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.