Interface DescribeEventSubscriptionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeEventSubscriptionsResponse.Builder,,DescribeEventSubscriptionsResponse> RedshiftResponse.Builder,SdkBuilder<DescribeEventSubscriptionsResponse.Builder,,DescribeEventSubscriptionsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeEventSubscriptionsResponse
public static interface DescribeEventSubscriptionsResponse.Builder
extends RedshiftResponse.Builder, SdkPojo, CopyableBuilder<DescribeEventSubscriptionsResponse.Builder,DescribeEventSubscriptionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptioneventSubscriptionsList(Collection<EventSubscription> eventSubscriptionsList) A list of event subscriptions.eventSubscriptionsList(Consumer<EventSubscription.Builder>... eventSubscriptionsList) A list of event subscriptions.eventSubscriptionsList(EventSubscription... eventSubscriptionsList) A list of event subscriptions.A value that indicates the starting point for the next set of response records in a subsequent request.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.redshift.model.RedshiftResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkHttpResponse
-
Method Details
-
marker
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the
Markerparameter and retrying the command. If theMarkerfield is empty, all response records have been retrieved for the request.- Parameters:
marker- A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in theMarkerparameter and retrying the command. If theMarkerfield is empty, all response records have been retrieved for the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventSubscriptionsList
DescribeEventSubscriptionsResponse.Builder eventSubscriptionsList(Collection<EventSubscription> eventSubscriptionsList) A list of event subscriptions.
- Parameters:
eventSubscriptionsList- A list of event subscriptions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventSubscriptionsList
DescribeEventSubscriptionsResponse.Builder eventSubscriptionsList(EventSubscription... eventSubscriptionsList) A list of event subscriptions.
- Parameters:
eventSubscriptionsList- A list of event subscriptions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventSubscriptionsList
DescribeEventSubscriptionsResponse.Builder eventSubscriptionsList(Consumer<EventSubscription.Builder>... eventSubscriptionsList) A list of event subscriptions.
This is a convenience method that creates an instance of theEventSubscription.Builderavoiding the need to create one manually viaEventSubscription.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toeventSubscriptionsList(List<EventSubscription>).- Parameters:
eventSubscriptionsList- a consumer that will call methods onEventSubscription.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-