Interface ListManagedNotificationChannelAssociationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListManagedNotificationChannelAssociationsResponse.Builder,
,ListManagedNotificationChannelAssociationsResponse> NotificationsResponse.Builder
,SdkBuilder<ListManagedNotificationChannelAssociationsResponse.Builder,
,ListManagedNotificationChannelAssociationsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListManagedNotificationChannelAssociationsResponse
@Mutable
@NotThreadSafe
public static interface ListManagedNotificationChannelAssociationsResponse.Builder
extends NotificationsResponse.Builder, SdkPojo, CopyableBuilder<ListManagedNotificationChannelAssociationsResponse.Builder,ListManagedNotificationChannelAssociationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionchannelAssociations
(Collection<ManagedNotificationChannelAssociationSummary> channelAssociations) A list that contains the following information about a channel association.channelAssociations
(Consumer<ManagedNotificationChannelAssociationSummary.Builder>... channelAssociations) A list that contains the following information about a channel association.channelAssociations
(ManagedNotificationChannelAssociationSummary... channelAssociations) A list that contains the following information about a channel association.A pagination token.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.notifications.model.NotificationsResponse.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 Details
-
nextToken
A pagination token. If a non-null pagination token is returned in a result, pass its value in another request to retrieve more entries.
- Parameters:
nextToken
- A pagination token. If a non-null pagination token is returned in a result, pass its value in another request to retrieve more entries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelAssociations
ListManagedNotificationChannelAssociationsResponse.Builder channelAssociations(Collection<ManagedNotificationChannelAssociationSummary> channelAssociations) A list that contains the following information about a channel association.
- Parameters:
channelAssociations
- A list that contains the following information about a channel association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelAssociations
ListManagedNotificationChannelAssociationsResponse.Builder channelAssociations(ManagedNotificationChannelAssociationSummary... channelAssociations) A list that contains the following information about a channel association.
- Parameters:
channelAssociations
- A list that contains the following information about a channel association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelAssociations
ListManagedNotificationChannelAssociationsResponse.Builder channelAssociations(Consumer<ManagedNotificationChannelAssociationSummary.Builder>... channelAssociations) A list that contains the following information about a channel association.
This is a convenience method that creates an instance of theManagedNotificationChannelAssociationSummary.Builder
avoiding the need to create one manually viaManagedNotificationChannelAssociationSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tochannelAssociations(List<ManagedNotificationChannelAssociationSummary>)
.- Parameters:
channelAssociations
- a consumer that will call methods onManagedNotificationChannelAssociationSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-