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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListWebhooksResponse.BuildernextToken(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.ListWebhooksResponse.Builderwebhooks(Collection<ListWebhookItem> webhooks)The JSON detail returned for each webhook in the list output for the ListWebhooks call.ListWebhooksResponse.Builderwebhooks(Consumer<ListWebhookItem.Builder>... webhooks)The JSON detail returned for each webhook in the list output for the ListWebhooks call.ListWebhooksResponse.Builderwebhooks(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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
webhooks
ListWebhooksResponse.Builder webhooks(Collection<ListWebhookItem> 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
ListWebhooksResponse.Builder webhooks(ListWebhookItem... 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
ListWebhooksResponse.Builder webhooks(Consumer<ListWebhookItem.Builder>... 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.Builderavoiding the need to create one manually viaListWebhookItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#webhooks(List.) - 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:
#webhooks(java.util.Collection)
-
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.
-
-