Interface ImportJobSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ImportJobSummary.Builder,
,ImportJobSummary> SdkBuilder<ImportJobSummary.Builder,
,ImportJobSummary> SdkPojo
- Enclosing class:
ImportJobSummary
public static interface ImportJobSummary.Builder
extends SdkPojo, CopyableBuilder<ImportJobSummary.Builder,ImportJobSummary>
-
Method Summary
Modifier and TypeMethodDescriptioncreatedTimestamp
(Instant createdTimestamp) The date and time when the import job was created.failedRecordsCount
(Integer failedRecordsCount) The number of records that failed processing because of invalid input or other reasons.default ImportJobSummary.Builder
importDestination
(Consumer<ImportDestination.Builder> importDestination) Sets the value of the ImportDestination property for this object.importDestination
(ImportDestination importDestination) Sets the value of the ImportDestination property for this object.Sets the value of the JobId property for this object.Sets the value of the JobStatus property for this object.Sets the value of the JobStatus property for this object.processedRecordsCount
(Integer processedRecordsCount) The current number of records processed.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
-
jobId
Sets the value of the JobId property for this object.- Parameters:
jobId
- The new value for the JobId property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
importDestination
Sets the value of the ImportDestination property for this object.- Parameters:
importDestination
- The new value for the ImportDestination property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
importDestination
default ImportJobSummary.Builder importDestination(Consumer<ImportDestination.Builder> importDestination) Sets the value of the ImportDestination property for this object. This is a convenience method that creates an instance of theImportDestination.Builder
avoiding the need to create one manually viaImportDestination.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toimportDestination(ImportDestination)
.- Parameters:
importDestination
- a consumer that will call methods onImportDestination.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
jobStatus
Sets the value of the JobStatus property for this object.- Parameters:
jobStatus
- The new value for the JobStatus property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
jobStatus
Sets the value of the JobStatus property for this object.- Parameters:
jobStatus
- The new value for the JobStatus property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdTimestamp
The date and time when the import job was created.
- Parameters:
createdTimestamp
- The date and time when the import job was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
processedRecordsCount
The current number of records processed.
- Parameters:
processedRecordsCount
- The current number of records processed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failedRecordsCount
The number of records that failed processing because of invalid input or other reasons.
- Parameters:
failedRecordsCount
- The number of records that failed processing because of invalid input or other reasons.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-