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 SummaryModifier 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.notifications.model.NotificationsResponse.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
notificationHubsListNotificationHubsResponse.Builder notificationHubs(Collection<NotificationHubOverview> notificationHubs) The NotificationHubsin the account.- Parameters:
- notificationHubs- The- NotificationHubsin the account.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
notificationHubsThe NotificationHubsin the account.- Parameters:
- notificationHubs- The- NotificationHubsin the account.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
notificationHubsListNotificationHubsResponse.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 on- NotificationHubOverview.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
nextTokenA 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.
 
 
-