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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListNotificationChannelsResponse.Builderchannels(Collection<NotificationChannel> channels)An array that contains the requested notification channels.ListNotificationChannelsResponse.Builderchannels(Consumer<NotificationChannel.Builder>... channels)An array that contains the requested notification channels.ListNotificationChannelsResponse.Builderchannels(NotificationChannel... channels)An array that contains the requested notification channels.ListNotificationChannelsResponse.BuildernextToken(String nextToken)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 Detail
-
channels
ListNotificationChannelsResponse.Builder channels(Collection<NotificationChannel> 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(NotificationChannel... 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.Builderavoiding the need to create one manually viaNotificationChannel.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#channels(List.) - 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:
#channels(java.util.Collection)
-
nextToken
ListNotificationChannelsResponse.Builder nextToken(String 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.
-
-