Interface CreateWebhookRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CodeBuildRequest.Builder,CopyableBuilder<CreateWebhookRequest.Builder,CreateWebhookRequest>,SdkBuilder<CreateWebhookRequest.Builder,CreateWebhookRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateWebhookRequest
public static interface CreateWebhookRequest.Builder extends CodeBuildRequest.Builder, SdkPojo, CopyableBuilder<CreateWebhookRequest.Builder,CreateWebhookRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateWebhookRequest.BuilderbranchFilter(String branchFilter)A regular expression used to determine which repository branches are built when a webhook is triggered.CreateWebhookRequest.BuilderbuildType(String buildType)Specifies the type of build this webhook will trigger.CreateWebhookRequest.BuilderbuildType(WebhookBuildType buildType)Specifies the type of build this webhook will trigger.CreateWebhookRequest.BuilderfilterGroups(Collection<? extends Collection<WebhookFilter>> filterGroups)An array of arrays ofWebhookFilterobjects used to determine which webhooks are triggered.CreateWebhookRequest.BuilderfilterGroups(Collection<WebhookFilter>... filterGroups)An array of arrays ofWebhookFilterobjects used to determine which webhooks are triggered.CreateWebhookRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateWebhookRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateWebhookRequest.BuilderprojectName(String projectName)The name of the CodeBuild project.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.codebuild.model.CodeBuildRequest.Builder
build
-
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, sdkFields
-
-
-
-
Method Detail
-
projectName
CreateWebhookRequest.Builder projectName(String projectName)
The name of the CodeBuild project.
- Parameters:
projectName- The name of the CodeBuild project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
branchFilter
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
branchFilteris empty, then all branches are built.It is recommended that you use
filterGroupsinstead ofbranchFilter.- Parameters:
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. IfbranchFilteris empty, then all branches are built.It is recommended that you use
filterGroupsinstead ofbranchFilter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filterGroups
CreateWebhookRequest.Builder filterGroups(Collection<? extends Collection<WebhookFilter>> filterGroups)
An array of arrays of
WebhookFilterobjects used to determine which webhooks are triggered. At least oneWebhookFilterin the array must specifyEVENTas itstype.For a build to be triggered, at least one filter group in the
filterGroupsarray must pass. For a filter group to pass, each of its filters must pass.- Parameters:
filterGroups- An array of arrays ofWebhookFilterobjects used to determine which webhooks are triggered. At least oneWebhookFilterin the array must specifyEVENTas itstype.For a build to be triggered, at least one filter group in the
filterGroupsarray must pass. For a filter group to pass, each of its filters must pass.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filterGroups
CreateWebhookRequest.Builder filterGroups(Collection<WebhookFilter>... filterGroups)
An array of arrays of
WebhookFilterobjects used to determine which webhooks are triggered. At least oneWebhookFilterin the array must specifyEVENTas itstype.For a build to be triggered, at least one filter group in the
filterGroupsarray must pass. For a filter group to pass, each of its filters must pass.- Parameters:
filterGroups- An array of arrays ofWebhookFilterobjects used to determine which webhooks are triggered. At least oneWebhookFilterin the array must specifyEVENTas itstype.For a build to be triggered, at least one filter group in the
filterGroupsarray must pass. For a filter group to pass, each of its filters must pass.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
buildType
CreateWebhookRequest.Builder buildType(String buildType)
Specifies the type of build this webhook will trigger.
- Parameters:
buildType- Specifies the type of build this webhook will trigger.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
WebhookBuildType,WebhookBuildType
-
buildType
CreateWebhookRequest.Builder buildType(WebhookBuildType buildType)
Specifies the type of build this webhook will trigger.
- Parameters:
buildType- Specifies the type of build this webhook will trigger.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
WebhookBuildType,WebhookBuildType
-
overrideConfiguration
CreateWebhookRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateWebhookRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-