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
Modifier and TypeMethodDescriptionThe marker to use when requesting the next set of results.subscriptions(Collection<Subscription> subscriptions) The subscriptions.subscriptions(Consumer<Subscription.Builder>... subscriptions) The subscriptions.subscriptions(Subscription... subscriptions) The subscriptions.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.workdocs.model.WorkDocsResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
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
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.Builderavoiding the need to create one manually viaSubscription.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosubscriptions(List<Subscription>).- 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:
-
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.
-