Interface ListImportJobsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListImportJobsResponse.Builder,
,ListImportJobsResponse> SdkBuilder<ListImportJobsResponse.Builder,
,ListImportJobsResponse> SdkPojo
,SdkResponse.Builder
,SesV2Response.Builder
- Enclosing class:
ListImportJobsResponse
public static interface ListImportJobsResponse.Builder
extends SesV2Response.Builder, SdkPojo, CopyableBuilder<ListImportJobsResponse.Builder,ListImportJobsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionimportJobs
(Collection<ImportJobSummary> importJobs) A list of the import job summaries.importJobs
(Consumer<ImportJobSummary.Builder>... importJobs) A list of the import job summaries.importJobs
(ImportJobSummary... importJobs) A list of the import job summaries.A string token indicating that there might be additional import jobs available to be listed.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 Details
-
importJobs
A list of the import job summaries.
- Parameters:
importJobs
- A list of the import job summaries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
importJobs
A list of the import job summaries.
- Parameters:
importJobs
- A list of the import job summaries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
importJobs
A list of the import job summaries.
This is a convenience method that creates an instance of theImportJobSummary.Builder
avoiding the need to create one manually viaImportJobSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toimportJobs(List<ImportJobSummary>)
.- Parameters:
importJobs
- a consumer that will call methods onImportJobSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A string token indicating that there might be additional import jobs available to be listed. Copy this token to a subsequent call to
ListImportJobs
with the same parameters to retrieve the next page of import jobs.- Parameters:
nextToken
- A string token indicating that there might be additional import jobs available to be listed. Copy this token to a subsequent call toListImportJobs
with the same parameters to retrieve the next page of import jobs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-