Interface ListNotificationsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListNotificationsResponse.Builder,ListNotificationsResponse>,SdkBuilder<ListNotificationsResponse.Builder,ListNotificationsResponse>,SdkPojo,SdkResponse.Builder,WellArchitectedResponse.Builder
- Enclosing class:
- ListNotificationsResponse
public static interface ListNotificationsResponse.Builder extends WellArchitectedResponse.Builder, SdkPojo, CopyableBuilder<ListNotificationsResponse.Builder,ListNotificationsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListNotificationsResponse.BuildernextToken(String nextToken)Sets the value of the NextToken property for this object.ListNotificationsResponse.BuildernotificationSummaries(Collection<NotificationSummary> notificationSummaries)List of lens notification summaries in a workload.ListNotificationsResponse.BuildernotificationSummaries(Consumer<NotificationSummary.Builder>... notificationSummaries)List of lens notification summaries in a workload.ListNotificationsResponse.BuildernotificationSummaries(NotificationSummary... notificationSummaries)List of lens notification summaries in a workload.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
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
-
Methods inherited from interface software.amazon.awssdk.services.wellarchitected.model.WellArchitectedResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
notificationSummaries
ListNotificationsResponse.Builder notificationSummaries(Collection<NotificationSummary> notificationSummaries)
List of lens notification summaries in a workload.
- Parameters:
notificationSummaries- List of lens notification summaries in a workload.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notificationSummaries
ListNotificationsResponse.Builder notificationSummaries(NotificationSummary... notificationSummaries)
List of lens notification summaries in a workload.
- Parameters:
notificationSummaries- List of lens notification summaries in a workload.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notificationSummaries
ListNotificationsResponse.Builder notificationSummaries(Consumer<NotificationSummary.Builder>... notificationSummaries)
List of lens notification summaries in a workload.
This is a convenience method that creates an instance of theNotificationSummary.Builderavoiding the need to create one manually viaNotificationSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#notificationSummaries(List.) - Parameters:
notificationSummaries- a consumer that will call methods onNotificationSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#notificationSummaries(java.util.Collection)
-
nextToken
ListNotificationsResponse.Builder nextToken(String nextToken)
Sets the value of the NextToken property for this object.- Parameters:
nextToken- The new value for the NextToken property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-