Interface PutWebhookResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CodePipelineResponse.Builder,CopyableBuilder<PutWebhookResponse.Builder,PutWebhookResponse>,SdkBuilder<PutWebhookResponse.Builder,PutWebhookResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- PutWebhookResponse
public static interface PutWebhookResponse.Builder extends CodePipelineResponse.Builder, SdkPojo, CopyableBuilder<PutWebhookResponse.Builder,PutWebhookResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default PutWebhookResponse.Builderwebhook(Consumer<ListWebhookItem.Builder> webhook)The detail returned from creating the webhook, such as the webhook name, webhook URL, and webhook ARN.PutWebhookResponse.Builderwebhook(ListWebhookItem webhook)The detail returned from creating the webhook, such as the webhook name, webhook URL, and webhook ARN.-
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
-
webhook
PutWebhookResponse.Builder webhook(ListWebhookItem webhook)
The detail returned from creating the webhook, such as the webhook name, webhook URL, and webhook ARN.
- Parameters:
webhook- The detail returned from creating the webhook, such as the webhook name, webhook URL, and webhook ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
webhook
default PutWebhookResponse.Builder webhook(Consumer<ListWebhookItem.Builder> webhook)
The detail returned from creating the webhook, such as the webhook name, webhook URL, and webhook ARN.
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 towebhook(ListWebhookItem).- Parameters:
webhook- 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:
webhook(ListWebhookItem)
-
-