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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListImportJobsResponse.BuilderimportJobs(Collection<ImportJobSummary> importJobs)A list of the import job summaries.ListImportJobsResponse.BuilderimportJobs(Consumer<ImportJobSummary.Builder>... importJobs)A list of the import job summaries.ListImportJobsResponse.BuilderimportJobs(ImportJobSummary... importJobs)A list of the import job summaries.ListImportJobsResponse.BuildernextToken(String nextToken)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, sdkFieldNameToField, 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
-
importJobs
ListImportJobsResponse.Builder importJobs(Collection<ImportJobSummary> 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
ListImportJobsResponse.Builder importJobs(ImportJobSummary... 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
ListImportJobsResponse.Builder importJobs(Consumer<ImportJobSummary.Builder>... 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 to#importJobs(List.) - 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:
#importJobs(java.util.Collection)
-
nextToken
ListImportJobsResponse.Builder nextToken(String 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.
-
-