public static interface PutWebhookRequest.Builder extends CodePipelineRequest.Builder, SdkPojo, CopyableBuilder<PutWebhookRequest.Builder,PutWebhookRequest>
Modifier and Type | Method and Description |
---|---|
PutWebhookRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
PutWebhookRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
default PutWebhookRequest.Builder |
webhook(Consumer<WebhookDefinition.Builder> webhook)
The detail provided in an input file to create the webhook, such as the webhook name, the pipeline name, and
the action name.
|
PutWebhookRequest.Builder |
webhook(WebhookDefinition webhook)
The detail provided in an input file to create the webhook, such as the webhook name, the pipeline name, and
the action name.
|
build
overrideConfiguration
copy
applyMutation, build
PutWebhookRequest.Builder webhook(WebhookDefinition webhook)
The detail provided in an input file to create the webhook, such as the webhook name, the pipeline name, and the action name. Give the webhook a unique name which identifies the webhook being defined. You may choose to name the webhook after the pipeline and action it targets so that you can easily recognize what it's used for later.
webhook
- The detail provided in an input file to create the webhook, such as the webhook name, the pipeline
name, and the action name. Give the webhook a unique name which identifies the webhook being defined.
You may choose to name the webhook after the pipeline and action it targets so that you can easily
recognize what it's used for later.default PutWebhookRequest.Builder webhook(Consumer<WebhookDefinition.Builder> webhook)
The detail provided in an input file to create the webhook, such as the webhook name, the pipeline name, and the action name. Give the webhook a unique name which identifies the webhook being defined. You may choose to name the webhook after the pipeline and action it targets so that you can easily recognize what it's used for later.
This is a convenience that creates an instance of theWebhookDefinition.Builder
avoiding the need to
create one manually via WebhookDefinition.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to webhook(WebhookDefinition)
.webhook
- a consumer that will call methods on WebhookDefinition.Builder
webhook(WebhookDefinition)
PutWebhookRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.PutWebhookRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.