Interface GetAddressListImportJobResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetAddressListImportJobResponse.Builder,
,GetAddressListImportJobResponse> MailManagerResponse.Builder
,SdkBuilder<GetAddressListImportJobResponse.Builder,
,GetAddressListImportJobResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetAddressListImportJobResponse
-
Method Summary
Modifier and TypeMethodDescriptionaddressListId
(String addressListId) The unique identifier of the address list the import job was created for.completedTimestamp
(Instant completedTimestamp) The timestamp of when the import job was completed.createdTimestamp
(Instant createdTimestamp) The timestamp of when the import job was created.The reason for failure of an import job.failedItemsCount
(Integer failedItemsCount) The number of input addresses that failed to be imported into the address list.importDataFormat
(Consumer<ImportDataFormat.Builder> importDataFormat) The format of the input for an import job.importDataFormat
(ImportDataFormat importDataFormat) The format of the input for an import job.importedItemsCount
(Integer importedItemsCount) The number of input addresses successfully imported into the address list.The identifier of the import job.A user-friendly name for the import job.preSignedUrl
(String preSignedUrl) The pre-signed URL target for uploading the input file.startTimestamp
(Instant startTimestamp) The timestamp of when the import job was started.The status of the import job.status
(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.services.mailmanager.model.MailManagerResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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
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
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
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
The number of input addresses that failed to be imported into the address list.
- Parameters:
failedItemsCount
- The number of input addresses that failed to be imported into the address list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
importDataFormat
The format of the input for an import job.
- Parameters:
importDataFormat
- The format of the input for an import job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
importDataFormat
default GetAddressListImportJobResponse.Builder importDataFormat(Consumer<ImportDataFormat.Builder> importDataFormat) The format of the input for an import job.
This is a convenience method that creates an instance of theImportDataFormat.Builder
avoiding the need to create one manually viaImportDataFormat.builder()
.When the
Consumer
completes,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:
-
importedItemsCount
The number of input addresses successfully imported into the address list.
- Parameters:
importedItemsCount
- The number of input addresses successfully imported into the address list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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
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
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
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:
-
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:
-