Interface ImportJobResponse.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ImportJobResponse.Builder,
,ImportJobResponse> SdkBuilder<ImportJobResponse.Builder,
,ImportJobResponse> SdkPojo
- Enclosing class:
ImportJobResponse
-
Method Summary
Modifier and TypeMethodDescriptionapplicationId
(String applicationId) The unique identifier for the application that's associated with the import job.completedPieces
(Integer completedPieces) The number of pieces that were processed successfully (completed) by the import job, as of the time of the request.completionDate
(String completionDate) The date, in ISO 8601 format, when the import job was completed.creationDate
(String creationDate) The date, in ISO 8601 format, when the import job was created.default ImportJobResponse.Builder
definition
(Consumer<ImportJobResource.Builder> definition) The resource settings that apply to the import job.definition
(ImportJobResource definition) The resource settings that apply to the import job.failedPieces
(Integer failedPieces) The number of pieces that weren't processed successfully (failed) by the import job, as of the time of the request.An array of entries, one for each of the first 100 entries that weren't processed successfully (failed) by the import job, if any.failures
(Collection<String> failures) An array of entries, one for each of the first 100 entries that weren't processed successfully (failed) by the import job, if any.The unique identifier for the import job.The status of the import job.The status of the import job.totalFailures
(Integer totalFailures) The total number of endpoint definitions that weren't processed successfully (failed) by the import job, typically because an error, such as a syntax error, occurred.totalPieces
(Integer totalPieces) The total number of pieces that must be processed to complete the import job.totalProcessed
(Integer totalProcessed) The total number of endpoint definitions that were processed by the import job.The job type.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
applicationId
The unique identifier for the application that's associated with the import job.
- Parameters:
applicationId
- The unique identifier for the application that's associated with the import job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
completedPieces
The number of pieces that were processed successfully (completed) by the import job, as of the time of the request.
- Parameters:
completedPieces
- The number of pieces that were processed successfully (completed) by the import job, as of the time of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
completionDate
The date, in ISO 8601 format, when the import job was completed.
- Parameters:
completionDate
- The date, in ISO 8601 format, when the import job was completed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationDate
The date, in ISO 8601 format, when the import job was created.
- Parameters:
creationDate
- The date, in ISO 8601 format, when the import job was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
definition
The resource settings that apply to the import job.
- Parameters:
definition
- The resource settings that apply to the import job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
definition
The resource settings that apply to the import job.
This is a convenience method that creates an instance of theImportJobResource.Builder
avoiding the need to create one manually viaImportJobResource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todefinition(ImportJobResource)
.- Parameters:
definition
- a consumer that will call methods onImportJobResource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failedPieces
The number of pieces that weren't processed successfully (failed) by the import job, as of the time of the request.
- Parameters:
failedPieces
- The number of pieces that weren't processed successfully (failed) by the import job, as of the time of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failures
An array of entries, one for each of the first 100 entries that weren't processed successfully (failed) by the import job, if any.
- Parameters:
failures
- An array of entries, one for each of the first 100 entries that weren't processed successfully (failed) by the import job, if any.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failures
An array of entries, one for each of the first 100 entries that weren't processed successfully (failed) by the import job, if any.
- Parameters:
failures
- An array of entries, one for each of the first 100 entries that weren't processed successfully (failed) by the import job, if any.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
The unique identifier for the import job.
- Parameters:
id
- The unique identifier for the import job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobStatus
The status of the import job. The job status is FAILED if Amazon Pinpoint wasn't able to process one or more pieces in the job.
- Parameters:
jobStatus
- The status of the import job. The job status is FAILED if Amazon Pinpoint wasn't able to process one or more pieces in the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
jobStatus
The status of the import job. The job status is FAILED if Amazon Pinpoint wasn't able to process one or more pieces in the job.
- Parameters:
jobStatus
- The status of the import job. The job status is FAILED if Amazon Pinpoint wasn't able to process one or more pieces in the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
totalFailures
The total number of endpoint definitions that weren't processed successfully (failed) by the import job, typically because an error, such as a syntax error, occurred.
- Parameters:
totalFailures
- The total number of endpoint definitions that weren't processed successfully (failed) by the import job, typically because an error, such as a syntax error, occurred.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
totalPieces
The total number of pieces that must be processed to complete the import job. Each piece consists of an approximately equal portion of the endpoint definitions that are part of the import job.
- Parameters:
totalPieces
- The total number of pieces that must be processed to complete the import job. Each piece consists of an approximately equal portion of the endpoint definitions that are part of the import job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
totalProcessed
The total number of endpoint definitions that were processed by the import job.
- Parameters:
totalProcessed
- The total number of endpoint definitions that were processed by the import job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The job type. This value is IMPORT for import jobs.
- Parameters:
type
- The job type. This value is IMPORT for import jobs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-