Interface ListWebhooksResponse.Builder

All Superinterfaces:
AmplifyResponse.Builder, AwsResponse.Builder, Buildable, CopyableBuilder<ListWebhooksResponse.Builder,ListWebhooksResponse>, SdkBuilder<ListWebhooksResponse.Builder,ListWebhooksResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
ListWebhooksResponse

public static interface ListWebhooksResponse.Builder extends AmplifyResponse.Builder, SdkPojo, CopyableBuilder<ListWebhooksResponse.Builder,ListWebhooksResponse>
  • Method Details

    • webhooks

      A list of webhooks.

      Parameters:
      webhooks - A list of webhooks.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • webhooks

      ListWebhooksResponse.Builder webhooks(Webhook... webhooks)

      A list of webhooks.

      Parameters:
      webhooks - A list of webhooks.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • webhooks

      A list of webhooks.

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

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

      Parameters:
      webhooks - a consumer that will call methods on Webhook.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • nextToken

      ListWebhooksResponse.Builder nextToken(String nextToken)

      A pagination token. If non-null, the pagination token is returned in a result. Pass its value in another request to retrieve more entries.

      Parameters:
      nextToken - A pagination token. If non-null, the pagination token is returned in a result. Pass its value in another request to retrieve more entries.
      Returns:
      Returns a reference to this object so that method calls can be chained together.