Interface GetArchiveSearchResultsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetArchiveSearchResultsResponse.Builder,
,GetArchiveSearchResultsResponse> MailManagerResponse.Builder
,SdkBuilder<GetArchiveSearchResultsResponse.Builder,
,GetArchiveSearchResultsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetArchiveSearchResultsResponse
@Mutable
@NotThreadSafe
public static interface GetArchiveSearchResultsResponse.Builder
extends MailManagerResponse.Builder, SdkPojo, CopyableBuilder<GetArchiveSearchResultsResponse.Builder,GetArchiveSearchResultsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionrows
(Collection<Row> rows) The list of email result objects matching the search criteria.rows
(Consumer<Row.Builder>... rows) The list of email result objects matching the search criteria.The list of email result objects matching the search criteria.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
-
rows
The list of email result objects matching the search criteria.
- Parameters:
rows
- The list of email result objects matching the search criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rows
The list of email result objects matching the search criteria.
- Parameters:
rows
- The list of email result objects matching the search criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rows
The list of email result objects matching the search criteria.
This is a convenience method that creates an instance of theRow.Builder
avoiding the need to create one manually viaRow.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torows(List<Row>)
.- Parameters:
rows
- a consumer that will call methods onRow.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-