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 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

      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

      Details of the returned event subscriptions.

      This is a convenience method that creates an instance of the Subscription.Builder avoiding the need to create one manually via Subscription.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to subscriptions(List<Subscription>).

      Parameters:
      subscriptions - a consumer that will call methods on Subscription.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.