Interface ListEmailContactsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListEmailContactsResponse.Builder,ListEmailContactsResponse>,NotificationsContactsResponse.Builder,SdkBuilder<ListEmailContactsResponse.Builder,ListEmailContactsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListEmailContactsResponse
public static interface ListEmailContactsResponse.Builder extends NotificationsContactsResponse.Builder, SdkPojo, CopyableBuilder<ListEmailContactsResponse.Builder,ListEmailContactsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListEmailContactsResponse.BuilderemailContacts(Collection<EmailContact> emailContacts)A list of email contacts.ListEmailContactsResponse.BuilderemailContacts(Consumer<EmailContact.Builder>... emailContacts)A list of email contacts.ListEmailContactsResponse.BuilderemailContacts(EmailContact... emailContacts)A list of email contacts.ListEmailContactsResponse.BuildernextToken(String nextToken)An optional token returned from a prior request.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.notificationscontacts.model.NotificationsContactsResponse.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 Detail
-
nextToken
ListEmailContactsResponse.Builder nextToken(String nextToken)
An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by MaxResults.
- Parameters:
nextToken- An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by MaxResults.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
emailContacts
ListEmailContactsResponse.Builder emailContacts(Collection<EmailContact> emailContacts)
A list of email contacts.
- Parameters:
emailContacts- A list of email contacts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
emailContacts
ListEmailContactsResponse.Builder emailContacts(EmailContact... emailContacts)
A list of email contacts.
- Parameters:
emailContacts- A list of email contacts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
emailContacts
ListEmailContactsResponse.Builder emailContacts(Consumer<EmailContact.Builder>... emailContacts)
A list of email contacts.
This is a convenience method that creates an instance of theEmailContact.Builderavoiding the need to create one manually viaEmailContact.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#emailContacts(List.) - Parameters:
emailContacts- a consumer that will call methods onEmailContact.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#emailContacts(java.util.Collection)
-
-