Interface ListNotificationChannelsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListNotificationChannelsResponse.Builder,
,ListNotificationChannelsResponse> DevOpsGuruResponse.Builder
,SdkBuilder<ListNotificationChannelsResponse.Builder,
,ListNotificationChannelsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListNotificationChannelsResponse
public static interface ListNotificationChannelsResponse.Builder
extends DevOpsGuruResponse.Builder, SdkPojo, CopyableBuilder<ListNotificationChannelsResponse.Builder,ListNotificationChannelsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionchannels
(Collection<NotificationChannel> channels) An array that contains the requested notification channels.channels
(Consumer<NotificationChannel.Builder>... channels) An array that contains the requested notification channels.channels
(NotificationChannel... channels) An array that contains the requested notification channels.The pagination token to use to retrieve the next page of results for this operation.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.devopsguru.model.DevOpsGuruResponse.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
channels
An array that contains the requested notification channels.
- Parameters:
channels
- An array that contains the requested notification channels.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channels
An array that contains the requested notification channels.
- Parameters:
channels
- An array that contains the requested notification channels.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channels
ListNotificationChannelsResponse.Builder channels(Consumer<NotificationChannel.Builder>... channels) An array that contains the requested notification channels.
This is a convenience method that creates an instance of theNotificationChannel.Builder
avoiding the need to create one manually viaNotificationChannel.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tochannels(List<NotificationChannel>)
.- Parameters:
channels
- a consumer that will call methods onNotificationChannel.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
- Parameters:
nextToken
- The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-