Interface ListWebhooksResponse.Builder

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

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

    • webhooks

      The JSON detail returned for each webhook in the list output for the ListWebhooks call.

      Parameters:
      webhooks - The JSON detail returned for each webhook in the list output for the ListWebhooks call.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • webhooks

      The JSON detail returned for each webhook in the list output for the ListWebhooks call.

      Parameters:
      webhooks - The JSON detail returned for each webhook in the list output for the ListWebhooks call.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • webhooks

      The JSON detail returned for each webhook in the list output for the ListWebhooks call.

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

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

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

      ListWebhooksResponse.Builder nextToken(String nextToken)

      If the amount of returned information is significantly large, an identifier is also returned and can be used in a subsequent ListWebhooks call to return the next set of webhooks in the list.

      Parameters:
      nextToken - If the amount of returned information is significantly large, an identifier is also returned and can be used in a subsequent ListWebhooks call to return the next set of webhooks in the list.
      Returns:
      Returns a reference to this object so that method calls can be chained together.