JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.codebuild.model

Class UpdateWebhookRequest

    • Constructor Detail

      • UpdateWebhookRequest

        public UpdateWebhookRequest()
    • Method Detail

      • setProjectName

        public void setProjectName(String projectName)

        The name of the CodeBuild project.

        Parameters:
        projectName - The name of the CodeBuild project.
      • getProjectName

        public String getProjectName()

        The name of the CodeBuild project.

        Returns:
        The name of the CodeBuild project.
      • withProjectName

        public UpdateWebhookRequest withProjectName(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.
      • setBranchFilter

        public void setBranchFilter(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.

        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. If branchFilter is empty, then all branches are built.

        It is recommended that you use filterGroups instead of branchFilter.

      • getBranchFilter

        public String getBranchFilter()

        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.

        Returns:
        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.

      • withBranchFilter

        public UpdateWebhookRequest withBranchFilter(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.

        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. If branchFilter is empty, then all branches are built.

        It is recommended that you use filterGroups instead of branchFilter.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setRotateSecret

        public void setRotateSecret(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.

        Parameters:
        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.
      • getRotateSecret

        public Boolean getRotateSecret()

        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.

        Returns:
        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.
      • withRotateSecret

        public UpdateWebhookRequest withRotateSecret(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.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isRotateSecret

        public Boolean isRotateSecret()

        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.

        Returns:
        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.
      • getFilterGroups

        public List<List<WebhookFilter>> getFilterGroups()

        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.

        Returns:
        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.
      • setFilterGroups

        public void setFilterGroups(Collection<List<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.

        Parameters:
        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.
      • withFilterGroups

        public UpdateWebhookRequest withFilterGroups(List<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.

        NOTE: This method appends the values to the existing list (if any). Use setFilterGroups(java.util.Collection) or withFilterGroups(java.util.Collection) if you want to override the existing values.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withFilterGroups

        public UpdateWebhookRequest withFilterGroups(Collection<List<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.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setBuildType

        public void setBuildType(String buildType)

        Specifies the type of build this webhook will trigger.

        Parameters:
        buildType - Specifies the type of build this webhook will trigger.
        See Also:
        WebhookBuildType
      • getBuildType

        public String getBuildType()

        Specifies the type of build this webhook will trigger.

        Returns:
        Specifies the type of build this webhook will trigger.
        See Also:
        WebhookBuildType
      • withBuildType

        public UpdateWebhookRequest withBuildType(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
      • withBuildType

        public UpdateWebhookRequest withBuildType(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
      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /