public static interface CreateWebhookRequest.Builder extends CodeBuildRequest.Builder, SdkPojo, CopyableBuilder<CreateWebhookRequest.Builder,CreateWebhookRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateWebhookRequest.Builder |
branchFilter(String branchFilter)
A regular expression used to determine which repository branches are built when a webhook is triggered.
|
CreateWebhookRequest.Builder |
buildType(String buildType)
Specifies the type of build this webhook will trigger.
|
CreateWebhookRequest.Builder |
buildType(WebhookBuildType buildType)
Specifies the type of build this webhook will trigger.
|
CreateWebhookRequest.Builder |
filterGroups(Collection<? extends Collection<WebhookFilter>> filterGroups)
An array of arrays of
WebhookFilter objects used to determine which webhooks are triggered. |
CreateWebhookRequest.Builder |
filterGroups(Collection<WebhookFilter>... filterGroups)
An array of arrays of
WebhookFilter objects used to determine which webhooks are triggered. |
CreateWebhookRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateWebhookRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateWebhookRequest.Builder |
projectName(String projectName)
The name of the CodeBuild project.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateWebhookRequest.Builder projectName(String projectName)
The name of the CodeBuild project.
projectName - The name of the CodeBuild project.CreateWebhookRequest.Builder branchFilter(String branchFilter)
A regular expression used to determine which repository branches are built when a webhook is triggered. If
the name of a branch matches the regular expression, then it is built. If branchFilter is empty,
then all branches are built.
It is recommended that you use filterGroups instead of branchFilter.
branchFilter - A regular expression used to determine which repository branches are built when a webhook is
triggered. If the name of a branch matches the regular expression, then it is built. If
branchFilter is empty, then all branches are built.
It is recommended that you use filterGroups instead of branchFilter.
CreateWebhookRequest.Builder filterGroups(Collection<? extends Collection<WebhookFilter>> filterGroups)
An array of arrays of WebhookFilter objects used to determine which webhooks are triggered. At
least one WebhookFilter in the array must specify EVENT as its type.
For a build to be triggered, at least one filter group in the filterGroups array must pass. For
a filter group to pass, each of its filters must pass.
filterGroups - An array of arrays of WebhookFilter objects used to determine which webhooks are
triggered. At least one WebhookFilter in the array must specify EVENT as its
type.
For a build to be triggered, at least one filter group in the filterGroups array must
pass. For a filter group to pass, each of its filters must pass.
CreateWebhookRequest.Builder filterGroups(Collection<WebhookFilter>... filterGroups)
An array of arrays of WebhookFilter objects used to determine which webhooks are triggered. At
least one WebhookFilter in the array must specify EVENT as its type.
For a build to be triggered, at least one filter group in the filterGroups array must pass. For
a filter group to pass, each of its filters must pass.
filterGroups - An array of arrays of WebhookFilter objects used to determine which webhooks are
triggered. At least one WebhookFilter in the array must specify EVENT as its
type.
For a build to be triggered, at least one filter group in the filterGroups array must
pass. For a filter group to pass, each of its filters must pass.
CreateWebhookRequest.Builder buildType(String buildType)
Specifies the type of build this webhook will trigger.
buildType - Specifies the type of build this webhook will trigger.WebhookBuildType,
WebhookBuildTypeCreateWebhookRequest.Builder buildType(WebhookBuildType buildType)
Specifies the type of build this webhook will trigger.
buildType - Specifies the type of build this webhook will trigger.WebhookBuildType,
WebhookBuildTypeCreateWebhookRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateWebhookRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.