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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListEventSubscriptionsResponse.BuildernextToken(String 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.ListEventSubscriptionsResponse.Buildersubscriptions(Collection<Subscription> subscriptions)Details of the returned event subscriptions.ListEventSubscriptionsResponse.Buildersubscriptions(Consumer<Subscription.Builder>... subscriptions)Details of the returned event subscriptions.ListEventSubscriptionsResponse.Buildersubscriptions(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 Detail
-
subscriptions
ListEventSubscriptionsResponse.Builder subscriptions(Collection<Subscription> 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(Subscription... 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.Builderavoiding the need to create one manually viaSubscription.builder().When the
Consumercompletes,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)
-
nextToken
ListEventSubscriptionsResponse.Builder nextToken(String 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.
-
-