Interface ListNotificationHubsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListNotificationHubsResponse.Builder,ListNotificationHubsResponse>,NotificationsResponse.Builder,SdkBuilder<ListNotificationHubsResponse.Builder,ListNotificationHubsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListNotificationHubsResponse
public static interface ListNotificationHubsResponse.Builder extends NotificationsResponse.Builder, SdkPojo, CopyableBuilder<ListNotificationHubsResponse.Builder,ListNotificationHubsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListNotificationHubsResponse.BuildernextToken(String nextToken)A pagination token.ListNotificationHubsResponse.BuildernotificationHubs(Collection<NotificationHubOverview> notificationHubs)TheNotificationHubsin the account.ListNotificationHubsResponse.BuildernotificationHubs(Consumer<NotificationHubOverview.Builder>... notificationHubs)TheNotificationHubsin the account.ListNotificationHubsResponse.BuildernotificationHubs(NotificationHubOverview... notificationHubs)TheNotificationHubsin the account.-
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
-
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
ListNotificationHubsResponse.Builder notificationHubs(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
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 to#notificationHubs(List.) - 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:
#notificationHubs(java.util.Collection)
-
nextToken
ListNotificationHubsResponse.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.
-
-