Interface ListContactsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListContactsResponse.Builder,
,ListContactsResponse> SdkBuilder<ListContactsResponse.Builder,
,ListContactsResponse> SdkPojo
,SdkResponse.Builder
,SsmContactsResponse.Builder
- Enclosing class:
ListContactsResponse
@Mutable
@NotThreadSafe
public static interface ListContactsResponse.Builder
extends SsmContactsResponse.Builder, SdkPojo, CopyableBuilder<ListContactsResponse.Builder,ListContactsResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncontacts
(Collection<Contact> contacts) A list of the contacts and escalation plans in your Incident Manager account.contacts
(Consumer<Contact.Builder>... contacts) A list of the contacts and escalation plans in your Incident Manager account.A list of the contacts and escalation plans in your Incident Manager account.The pagination token to continue to the next page of results.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
Methods inherited from interface software.amazon.awssdk.services.ssmcontacts.model.SsmContactsResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
nextToken
The pagination token to continue to the next page of results.
- Parameters:
nextToken
- The pagination token to continue to the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contacts
A list of the contacts and escalation plans in your Incident Manager account.
- Parameters:
contacts
- A list of the contacts and escalation plans in your Incident Manager account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contacts
A list of the contacts and escalation plans in your Incident Manager account.
- Parameters:
contacts
- A list of the contacts and escalation plans in your Incident Manager account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contacts
A list of the contacts and escalation plans in your Incident Manager account.
This is a convenience method that creates an instance of theContact.Builder
avoiding the need to create one manually viaContact.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocontacts(List<Contact>)
.- Parameters:
contacts
- a consumer that will call methods onContact.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-