public static interface ExportJobResponse.Builder extends SdkPojo, CopyableBuilder<ExportJobResponse.Builder,ExportJobResponse>
Modifier and Type | Method and Description |
---|---|
ExportJobResponse.Builder |
applicationId(String applicationId)
The unique ID of the application associated with the export job.
|
ExportJobResponse.Builder |
completedPieces(Integer completedPieces)
The number of pieces that have successfully completed as of the time of the request.
|
ExportJobResponse.Builder |
completionDate(String completionDate)
The date the job completed in ISO 8601 format.
|
ExportJobResponse.Builder |
creationDate(String creationDate)
The date the job was created in ISO 8601 format.
|
default ExportJobResponse.Builder |
definition(Consumer<ExportJobResource.Builder> definition)
The export job settings.
|
ExportJobResponse.Builder |
definition(ExportJobResource definition)
The export job settings.
|
ExportJobResponse.Builder |
failedPieces(Integer failedPieces)
The number of pieces that failed to be processed as of the time of the request.
|
ExportJobResponse.Builder |
failures(Collection<String> failures)
Provides up to 100 of the first failed entries for the job, if any exist.
|
ExportJobResponse.Builder |
failures(String... failures)
Provides up to 100 of the first failed entries for the job, if any exist.
|
ExportJobResponse.Builder |
id(String id)
The unique ID of the job.
|
ExportJobResponse.Builder |
jobStatus(JobStatus jobStatus)
The status of the job.
|
ExportJobResponse.Builder |
jobStatus(String jobStatus)
The status of the job.
|
ExportJobResponse.Builder |
totalFailures(Integer totalFailures)
The number of endpoints that were not processed; for example, because of syntax errors.
|
ExportJobResponse.Builder |
totalPieces(Integer totalPieces)
The total number of pieces that must be processed to finish the job.
|
ExportJobResponse.Builder |
totalProcessed(Integer totalProcessed)
The number of endpoints that were processed by the job.
|
ExportJobResponse.Builder |
type(String type)
The job type.
|
copy
applyMutation, build
ExportJobResponse.Builder applicationId(String applicationId)
applicationId
- The unique ID of the application associated with the export job.ExportJobResponse.Builder completedPieces(Integer completedPieces)
completedPieces
- The number of pieces that have successfully completed as of the time of the request.ExportJobResponse.Builder completionDate(String completionDate)
completionDate
- The date the job completed in ISO 8601 format.ExportJobResponse.Builder creationDate(String creationDate)
creationDate
- The date the job was created in ISO 8601 format.ExportJobResponse.Builder definition(ExportJobResource definition)
definition
- The export job settings.default ExportJobResponse.Builder definition(Consumer<ExportJobResource.Builder> definition)
ExportJobResource.Builder
avoiding the need to create one manually via
ExportJobResource.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to definition(ExportJobResource)
.definition
- a consumer that will call methods on ExportJobResource.Builder
definition(ExportJobResource)
ExportJobResponse.Builder failedPieces(Integer failedPieces)
failedPieces
- The number of pieces that failed to be processed as of the time of the request.ExportJobResponse.Builder failures(Collection<String> failures)
failures
- Provides up to 100 of the first failed entries for the job, if any exist.ExportJobResponse.Builder failures(String... failures)
failures
- Provides up to 100 of the first failed entries for the job, if any exist.ExportJobResponse.Builder id(String id)
id
- The unique ID of the job.ExportJobResponse.Builder jobStatus(String jobStatus)
jobStatus
- The status of the job. Valid values: CREATED, INITIALIZING, PROCESSING, COMPLETING, COMPLETED,
FAILING, FAILED
The job status is FAILED if one or more pieces failed.JobStatus
,
JobStatus
ExportJobResponse.Builder jobStatus(JobStatus jobStatus)
jobStatus
- The status of the job. Valid values: CREATED, INITIALIZING, PROCESSING, COMPLETING, COMPLETED,
FAILING, FAILED
The job status is FAILED if one or more pieces failed.JobStatus
,
JobStatus
ExportJobResponse.Builder totalFailures(Integer totalFailures)
totalFailures
- The number of endpoints that were not processed; for example, because of syntax errors.ExportJobResponse.Builder totalPieces(Integer totalPieces)
totalPieces
- The total number of pieces that must be processed to finish the job. Each piece is an approximately
equal portion of the endpoints.ExportJobResponse.Builder totalProcessed(Integer totalProcessed)
totalProcessed
- The number of endpoints that were processed by the job.ExportJobResponse.Builder type(String type)
type
- The job type. Will be 'EXPORT'.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.