Interface SearchContactsResponse.Builder
-
- All Superinterfaces:
AlexaForBusinessResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<SearchContactsResponse.Builder,SearchContactsResponse>,SdkBuilder<SearchContactsResponse.Builder,SearchContactsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- SearchContactsResponse
public static interface SearchContactsResponse.Builder extends AlexaForBusinessResponse.Builder, SdkPojo, CopyableBuilder<SearchContactsResponse.Builder,SearchContactsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SearchContactsResponse.Buildercontacts(Collection<ContactData> contacts)The contacts that meet the specified set of filter criteria, in sort order.SearchContactsResponse.Buildercontacts(Consumer<ContactData.Builder>... contacts)The contacts that meet the specified set of filter criteria, in sort order.SearchContactsResponse.Buildercontacts(ContactData... contacts)The contacts that meet the specified set of filter criteria, in sort order.SearchContactsResponse.BuildernextToken(String nextToken)The token returned to indicate that there is more data available.SearchContactsResponse.BuildertotalCount(Integer totalCount)The total number of contacts returned.-
Methods inherited from interface software.amazon.awssdk.services.alexaforbusiness.model.AlexaForBusinessResponse.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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
contacts
SearchContactsResponse.Builder contacts(Collection<ContactData> contacts)
The contacts that meet the specified set of filter criteria, in sort order.
- Parameters:
contacts- The contacts that meet the specified set of filter criteria, in sort order.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contacts
SearchContactsResponse.Builder contacts(ContactData... contacts)
The contacts that meet the specified set of filter criteria, in sort order.
- Parameters:
contacts- The contacts that meet the specified set of filter criteria, in sort order.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contacts
SearchContactsResponse.Builder contacts(Consumer<ContactData.Builder>... contacts)
The contacts that meet the specified set of filter criteria, in sort order.
This is a convenience method that creates an instance of theContactData.Builderavoiding the need to create one manually viaContactData.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#contacts(List.) - Parameters:
contacts- a consumer that will call methods onContactData.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#contacts(java.util.Collection)
-
nextToken
SearchContactsResponse.Builder nextToken(String nextToken)
The token returned to indicate that there is more data available.
- Parameters:
nextToken- The token returned to indicate that there is more data available.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
totalCount
SearchContactsResponse.Builder totalCount(Integer totalCount)
The total number of contacts returned.
- Parameters:
totalCount- The total number of contacts returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-