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 Summary
Modifier and TypeMethodDescriptionA pagination token.webhooks
(Collection<Webhook> webhooks) A list of webhooks.webhooks
(Consumer<Webhook.Builder>... webhooks) A list of webhooks.A list of webhooks.Methods inherited from interface software.amazon.awssdk.services.amplify.model.AmplifyResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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 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
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 theWebhook.Builder
avoiding the need to create one manually viaWebhook.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed towebhooks(List<Webhook>)
.- Parameters:
webhooks
- a consumer that will call methods onWebhook.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-