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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ImportJobSummary.BuildercreatedTimestamp(Instant createdTimestamp)The date and time when the import job was created.ImportJobSummary.BuilderfailedRecordsCount(Integer failedRecordsCount)The number of records that failed processing because of invalid input or other reasons.default ImportJobSummary.BuilderimportDestination(Consumer<ImportDestination.Builder> importDestination)Sets the value of the ImportDestination property for this object.ImportJobSummary.BuilderimportDestination(ImportDestination importDestination)Sets the value of the ImportDestination property for this object.ImportJobSummary.BuilderjobId(String jobId)Sets the value of the JobId property for this object.ImportJobSummary.BuilderjobStatus(String jobStatus)Sets the value of the JobStatus property for this object.ImportJobSummary.BuilderjobStatus(JobStatus jobStatus)Sets the value of the JobStatus property for this object.ImportJobSummary.BuilderprocessedRecordsCount(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 Detail
-
jobId
ImportJobSummary.Builder jobId(String 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
ImportJobSummary.Builder importDestination(ImportDestination 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.Builderavoiding the need to create one manually viaImportDestination.builder().When the
Consumercompletes,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:
importDestination(ImportDestination)
-
jobStatus
ImportJobSummary.Builder jobStatus(String jobStatus)
Sets the value of the JobStatus property for this object.
-
jobStatus
ImportJobSummary.Builder jobStatus(JobStatus jobStatus)
Sets the value of the JobStatus property for this object.
-
createdTimestamp
ImportJobSummary.Builder createdTimestamp(Instant 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
ImportJobSummary.Builder processedRecordsCount(Integer 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
ImportJobSummary.Builder failedRecordsCount(Integer 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.
-
-