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 Summary
Modifier and TypeMethodDescriptionIf 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.webhooks
(Collection<ListWebhookItem> webhooks) The JSON detail returned for each webhook in the list output for the ListWebhooks call.webhooks
(Consumer<ListWebhookItem.Builder>... webhooks) The JSON detail returned for each webhook in the list output for the ListWebhooks call.webhooks
(ListWebhookItem... webhooks) The JSON detail returned for each webhook in the list output for the ListWebhooks call.Methods inherited from interface software.amazon.awssdk.services.codepipeline.model.CodePipelineResponse.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
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 theListWebhookItem.Builder
avoiding the need to create one manually viaListWebhookItem.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed towebhooks(List<ListWebhookItem>)
.- Parameters:
webhooks
- a consumer that will call methods onListWebhookItem.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-