Interface ListNotificationHubsResponse.Builder
- All Superinterfaces:
 AwsResponse.Builder,Buildable,CopyableBuilder<ListNotificationHubsResponse.Builder,,ListNotificationHubsResponse> NotificationsResponse.Builder,SdkBuilder<ListNotificationHubsResponse.Builder,,ListNotificationHubsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
 ListNotificationHubsResponse
@Mutable
@NotThreadSafe
public static interface ListNotificationHubsResponse.Builder
extends NotificationsResponse.Builder, SdkPojo, CopyableBuilder<ListNotificationHubsResponse.Builder,ListNotificationHubsResponse> 
- 
Method Summary
Modifier and TypeMethodDescriptionA pagination token.notificationHubs(Collection<NotificationHubOverview> notificationHubs) TheNotificationHubsin the account.notificationHubs(Consumer<NotificationHubOverview.Builder>... notificationHubs) TheNotificationHubsin the account.notificationHubs(NotificationHubOverview... notificationHubs) TheNotificationHubsin the account.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.notifications.model.NotificationsResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse 
- 
Method Details
- 
notificationHubs
ListNotificationHubsResponse.Builder notificationHubs(Collection<NotificationHubOverview> notificationHubs) The
NotificationHubsin the account.- Parameters:
 notificationHubs- TheNotificationHubsin the account.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
notificationHubs
The
NotificationHubsin the account.- Parameters:
 notificationHubs- TheNotificationHubsin the account.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
notificationHubs
ListNotificationHubsResponse.Builder notificationHubs(Consumer<NotificationHubOverview.Builder>... notificationHubs) The
This is a convenience method that creates an instance of theNotificationHubsin the account.NotificationHubOverview.Builderavoiding the need to create one manually viaNotificationHubOverview.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonotificationHubs(List<NotificationHubOverview>).- Parameters:
 notificationHubs- a consumer that will call methods onNotificationHubOverview.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
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.
 
 
 -