Interface ListNotificationsResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<ListNotificationsResponse.Builder,ListNotificationsResponse>, DataZoneResponse.Builder, SdkBuilder<ListNotificationsResponse.Builder,ListNotificationsResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
ListNotificationsResponse

public static interface ListNotificationsResponse.Builder extends DataZoneResponse.Builder, SdkPojo, CopyableBuilder<ListNotificationsResponse.Builder,ListNotificationsResponse>
  • Method Details

    • nextToken

      When the number of notifications is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of notifications, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListNotifications to list the next set of notifications.

      Parameters:
      nextToken - When the number of notifications is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of notifications, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListNotifications to list the next set of notifications.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • notifications

      The results of the ListNotifications action.

      Parameters:
      notifications - The results of the ListNotifications action.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • notifications

      ListNotificationsResponse.Builder notifications(NotificationOutput... notifications)

      The results of the ListNotifications action.

      Parameters:
      notifications - The results of the ListNotifications action.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • notifications

      The results of the ListNotifications action.

      This is a convenience method that creates an instance of the NotificationOutput.Builder avoiding the need to create one manually via NotificationOutput.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to notifications(List<NotificationOutput>).

      Parameters:
      notifications - a consumer that will call methods on NotificationOutput.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: