public static interface UpdateWebhookRequest.Builder extends CodeBuildRequest.Builder, SdkPojo, CopyableBuilder<UpdateWebhookRequest.Builder,UpdateWebhookRequest>
| Modifier and Type | Method and Description |
|---|---|
UpdateWebhookRequest.Builder |
branchFilter(String branchFilter)
A regular expression used to determine which repository branches are built when a webhook is triggered.
|
UpdateWebhookRequest.Builder |
buildType(String buildType)
Specifies the type of build this webhook will trigger.
|
UpdateWebhookRequest.Builder |
buildType(WebhookBuildType buildType)
Specifies the type of build this webhook will trigger.
|
UpdateWebhookRequest.Builder |
filterGroups(Collection<? extends Collection<WebhookFilter>> filterGroups)
An array of arrays of
WebhookFilter objects used to determine if a webhook event can trigger a
build. |
UpdateWebhookRequest.Builder |
filterGroups(Collection<WebhookFilter>... filterGroups)
An array of arrays of
WebhookFilter objects used to determine if a webhook event can trigger a
build. |
UpdateWebhookRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
UpdateWebhookRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
UpdateWebhookRequest.Builder |
projectName(String projectName)
The name of the AWS CodeBuild project.
|
UpdateWebhookRequest.Builder |
rotateSecret(Boolean rotateSecret)
A boolean value that specifies whether the associated GitHub repository's secret token should be updated.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildUpdateWebhookRequest.Builder projectName(String projectName)
The name of the AWS CodeBuild project.
projectName - The name of the AWS CodeBuild project.UpdateWebhookRequest.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.
UpdateWebhookRequest.Builder rotateSecret(Boolean rotateSecret)
A boolean value that specifies whether the associated GitHub repository's secret token should be updated. If
you use Bitbucket for your repository, rotateSecret is ignored.
rotateSecret - A boolean value that specifies whether the associated GitHub repository's secret token should be
updated. If you use Bitbucket for your repository, rotateSecret is ignored.UpdateWebhookRequest.Builder filterGroups(Collection<? extends Collection<WebhookFilter>> filterGroups)
An array of arrays of WebhookFilter objects used to determine if a webhook event can trigger a
build. A filter group must contain at least one EVENT WebhookFilter.
filterGroups - An array of arrays of WebhookFilter objects used to determine if a webhook event can
trigger a build. A filter group must contain at least one EVENT
WebhookFilter.UpdateWebhookRequest.Builder filterGroups(Collection<WebhookFilter>... filterGroups)
An array of arrays of WebhookFilter objects used to determine if a webhook event can trigger a
build. A filter group must contain at least one EVENT WebhookFilter.
filterGroups - An array of arrays of WebhookFilter objects used to determine if a webhook event can
trigger a build. A filter group must contain at least one EVENT
WebhookFilter.UpdateWebhookRequest.Builder buildType(String buildType)
Specifies the type of build this webhook will trigger.
buildType - Specifies the type of build this webhook will trigger.WebhookBuildType,
WebhookBuildTypeUpdateWebhookRequest.Builder buildType(WebhookBuildType buildType)
Specifies the type of build this webhook will trigger.
buildType - Specifies the type of build this webhook will trigger.WebhookBuildType,
WebhookBuildTypeUpdateWebhookRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderUpdateWebhookRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2021. All rights reserved.