Interface DescribeNotificationSubscriptionsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeNotificationSubscriptionsResponse.Builder,DescribeNotificationSubscriptionsResponse>
,SdkBuilder<DescribeNotificationSubscriptionsResponse.Builder,DescribeNotificationSubscriptionsResponse>
,SdkPojo
,SdkResponse.Builder
,WorkDocsResponse.Builder
- Enclosing class:
- DescribeNotificationSubscriptionsResponse
public static interface DescribeNotificationSubscriptionsResponse.Builder extends WorkDocsResponse.Builder, SdkPojo, CopyableBuilder<DescribeNotificationSubscriptionsResponse.Builder,DescribeNotificationSubscriptionsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeNotificationSubscriptionsResponse.Builder
marker(String marker)
The marker to use when requesting the next set of results.DescribeNotificationSubscriptionsResponse.Builder
subscriptions(Collection<Subscription> subscriptions)
The subscriptions.DescribeNotificationSubscriptionsResponse.Builder
subscriptions(Consumer<Subscription.Builder>... subscriptions)
The subscriptions.DescribeNotificationSubscriptionsResponse.Builder
subscriptions(Subscription... subscriptions)
The subscriptions.-
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.workdocs.model.WorkDocsResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
subscriptions
DescribeNotificationSubscriptionsResponse.Builder subscriptions(Collection<Subscription> subscriptions)
The subscriptions.
- Parameters:
subscriptions
- The subscriptions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subscriptions
DescribeNotificationSubscriptionsResponse.Builder subscriptions(Subscription... subscriptions)
The subscriptions.
- Parameters:
subscriptions
- The subscriptions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subscriptions
DescribeNotificationSubscriptionsResponse.Builder subscriptions(Consumer<Subscription.Builder>... subscriptions)
The subscriptions.
This is a convenience method that creates an instance of theSubscription.Builder
avoiding the need to create one manually viaSubscription.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#subscriptions(List
.) - Parameters:
subscriptions
- a consumer that will call methods onSubscription.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#subscriptions(java.util.Collection
)
-
marker
DescribeNotificationSubscriptionsResponse.Builder marker(String marker)
The marker to use when requesting the next set of results. If there are no additional results, the string is empty.
- Parameters:
marker
- The marker to use when requesting the next set of results. If there are no additional results, the string is empty.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-