Interface ListEventSubscriptionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListEventSubscriptionsResponse.Builder,
,ListEventSubscriptionsResponse> InspectorResponse.Builder
,SdkBuilder<ListEventSubscriptionsResponse.Builder,
,ListEventSubscriptionsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListEventSubscriptionsResponse
public static interface ListEventSubscriptionsResponse.Builder
extends InspectorResponse.Builder, SdkPojo, CopyableBuilder<ListEventSubscriptionsResponse.Builder,ListEventSubscriptionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionWhen a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request.subscriptions
(Collection<Subscription> subscriptions) Details of the returned event subscriptions.subscriptions
(Consumer<Subscription.Builder>... subscriptions) Details of the returned event subscriptions.subscriptions
(Subscription... subscriptions) Details of the returned event subscriptions.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.inspector.model.InspectorResponse.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
subscriptions
Details of the returned event subscriptions.
- Parameters:
subscriptions
- Details of the returned event subscriptions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subscriptions
Details of the returned event subscriptions.
- Parameters:
subscriptions
- Details of the returned event subscriptions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subscriptions
ListEventSubscriptionsResponse.Builder subscriptions(Consumer<Subscription.Builder>... subscriptions) Details of the returned event 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 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:
-
nextToken
When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null.
- Parameters:
nextToken
- When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-