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
copyMethods inherited from interface software.amazon.awssdk.services.mailmanager.model.MailManagerResponse.Builder
build, responseMetadata, responseMetadataMethods 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, 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.Builderavoiding the need to create one manually viaRow.builder().When the
Consumercompletes,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:
-