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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListContactChannelsResponse.BuildercontactChannels(Collection<ContactChannel> contactChannels)A list of contact channels related to the specified contact.ListContactChannelsResponse.BuildercontactChannels(Consumer<ContactChannel.Builder>... contactChannels)A list of contact channels related to the specified contact.ListContactChannelsResponse.BuildercontactChannels(ContactChannel... contactChannels)A list of contact channels related to the specified contact.ListContactChannelsResponse.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
ListContactChannelsResponse.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.
-
contactChannels
ListContactChannelsResponse.Builder contactChannels(Collection<ContactChannel> 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(ContactChannel... 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.Builderavoiding the need to create one manually viaContactChannel.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#contactChannels(List.) - 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:
#contactChannels(java.util.Collection)
-
-