Interface ListManagedNotificationChannelAssociationsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListManagedNotificationChannelAssociationsResponse.Builder,ListManagedNotificationChannelAssociationsResponse>,NotificationsResponse.Builder,SdkBuilder<ListManagedNotificationChannelAssociationsResponse.Builder,ListManagedNotificationChannelAssociationsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListManagedNotificationChannelAssociationsResponse
public static interface ListManagedNotificationChannelAssociationsResponse.Builder extends NotificationsResponse.Builder, SdkPojo, CopyableBuilder<ListManagedNotificationChannelAssociationsResponse.Builder,ListManagedNotificationChannelAssociationsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListManagedNotificationChannelAssociationsResponse.BuilderchannelAssociations(Collection<ManagedNotificationChannelAssociationSummary> channelAssociations)A list that contains the following information about a channel association.ListManagedNotificationChannelAssociationsResponse.BuilderchannelAssociations(Consumer<ManagedNotificationChannelAssociationSummary.Builder>... channelAssociations)A list that contains the following information about a channel association.ListManagedNotificationChannelAssociationsResponse.BuilderchannelAssociations(ManagedNotificationChannelAssociationSummary... channelAssociations)A list that contains the following information about a channel association.ListManagedNotificationChannelAssociationsResponse.BuildernextToken(String nextToken)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 Detail
-
nextToken
ListManagedNotificationChannelAssociationsResponse.Builder nextToken(String 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.Builderavoiding the need to create one manually viaManagedNotificationChannelAssociationSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#channelAssociations(List.) - 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:
#channelAssociations(java.util.Collection)
-
-