Interface SearchEmailAddressesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,ConnectResponse.Builder,CopyableBuilder<SearchEmailAddressesResponse.Builder,SearchEmailAddressesResponse>,SdkBuilder<SearchEmailAddressesResponse.Builder,SearchEmailAddressesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- SearchEmailAddressesResponse
public static interface SearchEmailAddressesResponse.Builder extends ConnectResponse.Builder, SdkPojo, CopyableBuilder<SearchEmailAddressesResponse.Builder,SearchEmailAddressesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SearchEmailAddressesResponse.BuilderapproximateTotalCount(Long approximateTotalCount)The total number of email addresses which matched your search query.SearchEmailAddressesResponse.BuilderemailAddresses(Collection<EmailAddressMetadata> emailAddresses)List of email addresses matching SearchFilter and SearchCriteriaSearchEmailAddressesResponse.BuilderemailAddresses(Consumer<EmailAddressMetadata.Builder>... emailAddresses)List of email addresses matching SearchFilter and SearchCriteriaSearchEmailAddressesResponse.BuilderemailAddresses(EmailAddressMetadata... emailAddresses)List of email addresses matching SearchFilter and SearchCriteriaSearchEmailAddressesResponse.BuildernextToken(String nextToken)If there are additional results, this is the token for the next set of results.-
Methods inherited from interface software.amazon.awssdk.services.connect.model.ConnectResponse.Builder
build, responseMetadata, responseMetadata
-
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
-
-
-
-
Method Detail
-
nextToken
SearchEmailAddressesResponse.Builder nextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
- Parameters:
nextToken- If there are additional results, this is the token for the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
emailAddresses
SearchEmailAddressesResponse.Builder emailAddresses(Collection<EmailAddressMetadata> emailAddresses)
List of email addresses matching SearchFilter and SearchCriteria
- Parameters:
emailAddresses- List of email addresses matching SearchFilter and SearchCriteria- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
emailAddresses
SearchEmailAddressesResponse.Builder emailAddresses(EmailAddressMetadata... emailAddresses)
List of email addresses matching SearchFilter and SearchCriteria
- Parameters:
emailAddresses- List of email addresses matching SearchFilter and SearchCriteria- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
emailAddresses
SearchEmailAddressesResponse.Builder emailAddresses(Consumer<EmailAddressMetadata.Builder>... emailAddresses)
List of email addresses matching SearchFilter and SearchCriteria
This is a convenience method that creates an instance of theEmailAddressMetadata.Builderavoiding the need to create one manually viaEmailAddressMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#emailAddresses(List.) - Parameters:
emailAddresses- a consumer that will call methods onEmailAddressMetadata.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#emailAddresses(java.util.Collection)
-
approximateTotalCount
SearchEmailAddressesResponse.Builder approximateTotalCount(Long approximateTotalCount)
The total number of email addresses which matched your search query.
- Parameters:
approximateTotalCount- The total number of email addresses which matched your search query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-