Interface ListContactChannelsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListContactChannelsResponse.Builder,
,ListContactChannelsResponse> SdkBuilder<ListContactChannelsResponse.Builder,
,ListContactChannelsResponse> SdkPojo
,SdkResponse.Builder
,SsmContactsResponse.Builder
- Enclosing class:
ListContactChannelsResponse
public static interface ListContactChannelsResponse.Builder
extends SsmContactsResponse.Builder, SdkPojo, CopyableBuilder<ListContactChannelsResponse.Builder,ListContactChannelsResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncontactChannels
(Collection<ContactChannel> contactChannels) A list of contact channels related to the specified contact.contactChannels
(Consumer<ContactChannel.Builder>... contactChannels) A list of contact channels related to the specified contact.contactChannels
(ContactChannel... contactChannels) A list of contact channels related to the specified contact.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 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.
-
contactChannels
A list of contact channels related to the specified contact.
- Parameters:
contactChannels
- A list of contact channels related to the specified contact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contactChannels
A list of contact channels related to the specified contact.
- Parameters:
contactChannels
- A list of contact channels related to the specified contact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contactChannels
ListContactChannelsResponse.Builder contactChannels(Consumer<ContactChannel.Builder>... contactChannels) A list of contact channels related to the specified contact.
This is a convenience method that creates an instance of theContactChannel.Builder
avoiding the need to create one manually viaContactChannel.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocontactChannels(List<ContactChannel>)
.- Parameters:
contactChannels
- a consumer that will call methods onContactChannel.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-