Interface ListImportJobsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListImportJobsResponse.Builder,,ListImportJobsResponse> SdkBuilder<ListImportJobsResponse.Builder,,ListImportJobsResponse> SdkPojo,SdkResponse.Builder,SesV2Response.Builder
- Enclosing class:
ListImportJobsResponse
@Mutable
@NotThreadSafe
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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods 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.Builderavoiding the need to create one manually viaImportJobSummary.builder().When the
Consumercompletes,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
ListImportJobswith 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 toListImportJobswith 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.
-