Interface ListContactsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListContactsResponse.Builder,ListContactsResponse>,SdkBuilder<ListContactsResponse.Builder,ListContactsResponse>,SdkPojo,SdkResponse.Builder,SsmContactsResponse.Builder
- Enclosing class:
- ListContactsResponse
public static interface ListContactsResponse.Builder extends SsmContactsResponse.Builder, SdkPojo, CopyableBuilder<ListContactsResponse.Builder,ListContactsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListContactsResponse.Buildercontacts(Collection<Contact> contacts)A list of the contacts and escalation plans in your Incident Manager account.ListContactsResponse.Buildercontacts(Consumer<Contact.Builder>... contacts)A list of the contacts and escalation plans in your Incident Manager account.ListContactsResponse.Buildercontacts(Contact... contacts)A list of the contacts and escalation plans in your Incident Manager account.ListContactsResponse.BuildernextToken(String nextToken)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, 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 Detail
-
nextToken
ListContactsResponse.Builder nextToken(String 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
ListContactsResponse.Builder contacts(Collection<Contact> 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
ListContactsResponse.Builder contacts(Contact... 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
ListContactsResponse.Builder contacts(Consumer<Contact.Builder>... 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.Builderavoiding the need to create one manually viaContact.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 onContact.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#contacts(java.util.Collection)
-
-