Interface GetImportJobResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetImportJobResponse.Builder,GetImportJobResponse>,SdkBuilder<GetImportJobResponse.Builder,GetImportJobResponse>,SdkPojo,SdkResponse.Builder,SesV2Response.Builder
- Enclosing class:
- GetImportJobResponse
public static interface GetImportJobResponse.Builder extends SesV2Response.Builder, SdkPojo, CopyableBuilder<GetImportJobResponse.Builder,GetImportJobResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetImportJobResponse.BuildercompletedTimestamp(Instant completedTimestamp)The time stamp of when the import job was completed.GetImportJobResponse.BuildercreatedTimestamp(Instant createdTimestamp)The time stamp of when the import job was created.GetImportJobResponse.BuilderfailedRecordsCount(Integer failedRecordsCount)The number of records that failed processing because of invalid input or other reasons.default GetImportJobResponse.BuilderfailureInfo(Consumer<FailureInfo.Builder> failureInfo)The failure details about an import job.GetImportJobResponse.BuilderfailureInfo(FailureInfo failureInfo)The failure details about an import job.default GetImportJobResponse.BuilderimportDataSource(Consumer<ImportDataSource.Builder> importDataSource)The data source of the import job.GetImportJobResponse.BuilderimportDataSource(ImportDataSource importDataSource)The data source of the import job.default GetImportJobResponse.BuilderimportDestination(Consumer<ImportDestination.Builder> importDestination)The destination of the import job.GetImportJobResponse.BuilderimportDestination(ImportDestination importDestination)The destination of the import job.GetImportJobResponse.BuilderjobId(String jobId)A string that represents the import job ID.GetImportJobResponse.BuilderjobStatus(String jobStatus)The status of the import job.GetImportJobResponse.BuilderjobStatus(JobStatus jobStatus)The status of the import job.GetImportJobResponse.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
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Methods inherited from interface software.amazon.awssdk.services.sesv2.model.SesV2Response.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
jobId
GetImportJobResponse.Builder jobId(String jobId)
A string that represents the import job ID.
- Parameters:
jobId- A string that represents the import job ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
importDestination
GetImportJobResponse.Builder importDestination(ImportDestination importDestination)
The destination of the import job.
- Parameters:
importDestination- The destination of the import job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
importDestination
default GetImportJobResponse.Builder importDestination(Consumer<ImportDestination.Builder> importDestination)
The destination of the import job.
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)
-
importDataSource
GetImportJobResponse.Builder importDataSource(ImportDataSource importDataSource)
The data source of the import job.
- Parameters:
importDataSource- The data source of the import job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
importDataSource
default GetImportJobResponse.Builder importDataSource(Consumer<ImportDataSource.Builder> importDataSource)
The data source of the import job.
This is a convenience method that creates an instance of theImportDataSource.Builderavoiding the need to create one manually viaImportDataSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toimportDataSource(ImportDataSource).- Parameters:
importDataSource- a consumer that will call methods onImportDataSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
importDataSource(ImportDataSource)
-
failureInfo
GetImportJobResponse.Builder failureInfo(FailureInfo failureInfo)
The failure details about an import job.
- Parameters:
failureInfo- The failure details about an import job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureInfo
default GetImportJobResponse.Builder failureInfo(Consumer<FailureInfo.Builder> failureInfo)
The failure details about an import job.
This is a convenience method that creates an instance of theFailureInfo.Builderavoiding the need to create one manually viaFailureInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofailureInfo(FailureInfo).- Parameters:
failureInfo- a consumer that will call methods onFailureInfo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
failureInfo(FailureInfo)
-
jobStatus
GetImportJobResponse.Builder jobStatus(String jobStatus)
The status of the import job.
-
jobStatus
GetImportJobResponse.Builder jobStatus(JobStatus jobStatus)
The status of the import job.
-
createdTimestamp
GetImportJobResponse.Builder createdTimestamp(Instant createdTimestamp)
The time stamp of when the import job was created.
- Parameters:
createdTimestamp- The time stamp of when the import job was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
completedTimestamp
GetImportJobResponse.Builder completedTimestamp(Instant completedTimestamp)
The time stamp of when the import job was completed.
- Parameters:
completedTimestamp- The time stamp of when the import job was completed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
processedRecordsCount
GetImportJobResponse.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
GetImportJobResponse.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.
-
-