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 |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
UpdateWebhookRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
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.
|
build
overrideConfiguration
copy
applyMutation, build
UpdateWebhookRequest.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.
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.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 overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.UpdateWebhookRequest.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.