Interface ImportJob.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ImportJob.Builder,ImportJob>,SdkBuilder<ImportJob.Builder,ImportJob>,SdkPojo
- Enclosing class:
- ImportJob
public static interface ImportJob.Builder extends SdkPojo, CopyableBuilder<ImportJob.Builder,ImportJob>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ImportJob.BuilderaddressListId(String addressListId)The unique identifier of the address list the import job was created for.ImportJob.BuildercompletedTimestamp(Instant completedTimestamp)The timestamp of when the import job was completed.ImportJob.BuildercreatedTimestamp(Instant createdTimestamp)The timestamp of when the import job was created.ImportJob.Buildererror(String error)The reason for failure of an import job.ImportJob.BuilderfailedItemsCount(Integer failedItemsCount)The number of addresses in the input that failed to get imported into address list.default ImportJob.BuilderimportDataFormat(Consumer<ImportDataFormat.Builder> importDataFormat)The format of the input for the import job.ImportJob.BuilderimportDataFormat(ImportDataFormat importDataFormat)The format of the input for the import job.ImportJob.BuilderimportedItemsCount(Integer importedItemsCount)The number of addresses in the input that were successfully imported into the address list.ImportJob.BuilderjobId(String jobId)The identifier of the import job.ImportJob.Buildername(String name)A user-friendly name for the import job.ImportJob.BuilderpreSignedUrl(String preSignedUrl)The pre-signed URL target for uploading the input file.ImportJob.BuilderstartTimestamp(Instant startTimestamp)The timestamp of when the import job was started.ImportJob.Builderstatus(String status)The status of the import job.ImportJob.Builderstatus(ImportJobStatus status)The status of the import job.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
addressListId
ImportJob.Builder addressListId(String addressListId)
The unique identifier of the address list the import job was created for.
- Parameters:
addressListId- The unique identifier of the address list the import job was created for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
completedTimestamp
ImportJob.Builder completedTimestamp(Instant completedTimestamp)
The timestamp of when the import job was completed.
- Parameters:
completedTimestamp- The timestamp of when the import job was completed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdTimestamp
ImportJob.Builder createdTimestamp(Instant createdTimestamp)
The timestamp of when the import job was created.
- Parameters:
createdTimestamp- The timestamp of when the import job was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
error
ImportJob.Builder error(String error)
The reason for failure of an import job.
- Parameters:
error- The reason for failure of an import job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failedItemsCount
ImportJob.Builder failedItemsCount(Integer failedItemsCount)
The number of addresses in the input that failed to get imported into address list.
- Parameters:
failedItemsCount- The number of addresses in the input that failed to get imported into address list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
importDataFormat
ImportJob.Builder importDataFormat(ImportDataFormat importDataFormat)
The format of the input for the import job.
- Parameters:
importDataFormat- The format of the input for the import job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
importDataFormat
default ImportJob.Builder importDataFormat(Consumer<ImportDataFormat.Builder> importDataFormat)
The format of the input for the import job.
This is a convenience method that creates an instance of theImportDataFormat.Builderavoiding the need to create one manually viaImportDataFormat.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toimportDataFormat(ImportDataFormat).- Parameters:
importDataFormat- a consumer that will call methods onImportDataFormat.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
importDataFormat(ImportDataFormat)
-
importedItemsCount
ImportJob.Builder importedItemsCount(Integer importedItemsCount)
The number of addresses in the input that were successfully imported into the address list.
- Parameters:
importedItemsCount- The number of addresses in the input that were successfully imported into the address list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobId
ImportJob.Builder jobId(String jobId)
The identifier of the import job.
- Parameters:
jobId- The identifier of the import job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
ImportJob.Builder name(String name)
A user-friendly name for the import job.
- Parameters:
name- A user-friendly name for the import job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
preSignedUrl
ImportJob.Builder preSignedUrl(String preSignedUrl)
The pre-signed URL target for uploading the input file.
- Parameters:
preSignedUrl- The pre-signed URL target for uploading the input file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTimestamp
ImportJob.Builder startTimestamp(Instant startTimestamp)
The timestamp of when the import job was started.
- Parameters:
startTimestamp- The timestamp of when the import job was started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
ImportJob.Builder status(String status)
The status of the import job.
- Parameters:
status- The status of the import job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ImportJobStatus,ImportJobStatus
-
status
ImportJob.Builder status(ImportJobStatus status)
The status of the import job.
- Parameters:
status- The status of the import job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ImportJobStatus,ImportJobStatus
-
-