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 UpdateProjectRequest

    • Constructor Detail

      • UpdateProjectRequest

        public UpdateProjectRequest()
    • Method Detail

      • setName

        public void setName(String name)

        The name of the build project.

        You cannot change a build project's name.

        Parameters:
        name - The name of the build project.

        You cannot change a build project's name.

      • getName

        public String getName()

        The name of the build project.

        You cannot change a build project's name.

        Returns:
        The name of the build project.

        You cannot change a build project's name.

      • withName

        public UpdateProjectRequest withName(String name)

        The name of the build project.

        You cannot change a build project's name.

        Parameters:
        name - The name of the build project.

        You cannot change a build project's name.

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

        public void setDescription(String description)

        A new or replacement description of the build project.

        Parameters:
        description - A new or replacement description of the build project.
      • getDescription

        public String getDescription()

        A new or replacement description of the build project.

        Returns:
        A new or replacement description of the build project.
      • withDescription

        public UpdateProjectRequest withDescription(String description)

        A new or replacement description of the build project.

        Parameters:
        description - A new or replacement description of the build project.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setSource

        public void setSource(ProjectSource source)

        Information to be changed about the build input source code for the build project.

        Parameters:
        source - Information to be changed about the build input source code for the build project.
      • getSource

        public ProjectSource getSource()

        Information to be changed about the build input source code for the build project.

        Returns:
        Information to be changed about the build input source code for the build project.
      • withSource

        public UpdateProjectRequest withSource(ProjectSource source)

        Information to be changed about the build input source code for the build project.

        Parameters:
        source - Information to be changed about the build input source code for the build project.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getSecondarySources

        public List<ProjectSource> getSecondarySources()

        An array of ProjectSource objects.

        Returns:
        An array of ProjectSource objects.
      • setSecondarySources

        public void setSecondarySources(Collection<ProjectSource> secondarySources)

        An array of ProjectSource objects.

        Parameters:
        secondarySources - An array of ProjectSource objects.
      • withSecondarySources

        public UpdateProjectRequest withSecondarySources(Collection<ProjectSource> secondarySources)

        An array of ProjectSource objects.

        Parameters:
        secondarySources - An array of ProjectSource objects.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setSourceVersion

        public void setSourceVersion(String sourceVersion)

        A version of the build input to be built for this project. If not specified, the latest version is used. If specified, it must be one of:

        • For CodeCommit: the commit ID, branch, or Git tag to use.

        • For GitHub: the commit ID, pull request ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a pull request ID is specified, it must use the format pr/pull-request-ID (for example pr/25). If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used.

        • For GitLab: the commit ID, branch, or Git tag to use.

        • For Bitbucket: the commit ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used.

        • For Amazon S3: the version ID of the object that represents the build input ZIP file to use.

        If sourceVersion is specified at the build level, then that version takes precedence over this sourceVersion (at the project level).

        For more information, see Source Version Sample with CodeBuild in the CodeBuild User Guide.

        Parameters:
        sourceVersion - A version of the build input to be built for this project. If not specified, the latest version is used. If specified, it must be one of:

        • For CodeCommit: the commit ID, branch, or Git tag to use.

        • For GitHub: the commit ID, pull request ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a pull request ID is specified, it must use the format pr/pull-request-ID (for example pr/25). If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used.

        • For GitLab: the commit ID, branch, or Git tag to use.

        • For Bitbucket: the commit ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used.

        • For Amazon S3: the version ID of the object that represents the build input ZIP file to use.

        If sourceVersion is specified at the build level, then that version takes precedence over this sourceVersion (at the project level).

        For more information, see Source Version Sample with CodeBuild in the CodeBuild User Guide.

      • getSourceVersion

        public String getSourceVersion()

        A version of the build input to be built for this project. If not specified, the latest version is used. If specified, it must be one of:

        • For CodeCommit: the commit ID, branch, or Git tag to use.

        • For GitHub: the commit ID, pull request ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a pull request ID is specified, it must use the format pr/pull-request-ID (for example pr/25). If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used.

        • For GitLab: the commit ID, branch, or Git tag to use.

        • For Bitbucket: the commit ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used.

        • For Amazon S3: the version ID of the object that represents the build input ZIP file to use.

        If sourceVersion is specified at the build level, then that version takes precedence over this sourceVersion (at the project level).

        For more information, see Source Version Sample with CodeBuild in the CodeBuild User Guide.

        Returns:
        A version of the build input to be built for this project. If not specified, the latest version is used. If specified, it must be one of:

        • For CodeCommit: the commit ID, branch, or Git tag to use.

        • For GitHub: the commit ID, pull request ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a pull request ID is specified, it must use the format pr/pull-request-ID (for example pr/25). If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used.

        • For GitLab: the commit ID, branch, or Git tag to use.

        • For Bitbucket: the commit ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used.

        • For Amazon S3: the version ID of the object that represents the build input ZIP file to use.

        If sourceVersion is specified at the build level, then that version takes precedence over this sourceVersion (at the project level).

        For more information, see Source Version Sample with CodeBuild in the CodeBuild User Guide.

      • withSourceVersion

        public UpdateProjectRequest withSourceVersion(String sourceVersion)

        A version of the build input to be built for this project. If not specified, the latest version is used. If specified, it must be one of:

        • For CodeCommit: the commit ID, branch, or Git tag to use.

        • For GitHub: the commit ID, pull request ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a pull request ID is specified, it must use the format pr/pull-request-ID (for example pr/25). If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used.

        • For GitLab: the commit ID, branch, or Git tag to use.

        • For Bitbucket: the commit ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used.

        • For Amazon S3: the version ID of the object that represents the build input ZIP file to use.

        If sourceVersion is specified at the build level, then that version takes precedence over this sourceVersion (at the project level).

        For more information, see Source Version Sample with CodeBuild in the CodeBuild User Guide.

        Parameters:
        sourceVersion - A version of the build input to be built for this project. If not specified, the latest version is used. If specified, it must be one of:

        • For CodeCommit: the commit ID, branch, or Git tag to use.

        • For GitHub: the commit ID, pull request ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a pull request ID is specified, it must use the format pr/pull-request-ID (for example pr/25). If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used.

        • For GitLab: the commit ID, branch, or Git tag to use.

        • For Bitbucket: the commit ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used.

        • For Amazon S3: the version ID of the object that represents the build input ZIP file to use.

        If sourceVersion is specified at the build level, then that version takes precedence over this sourceVersion (at the project level).

        For more information, see Source Version Sample with CodeBuild in the CodeBuild User Guide.

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

        public List<ProjectSourceVersion> getSecondarySourceVersions()

        An array of ProjectSourceVersion objects. If secondarySourceVersions is specified at the build level, then they take over these secondarySourceVersions (at the project level).

        Returns:
        An array of ProjectSourceVersion objects. If secondarySourceVersions is specified at the build level, then they take over these secondarySourceVersions (at the project level).
      • setSecondarySourceVersions

        public void setSecondarySourceVersions(Collection<ProjectSourceVersion> secondarySourceVersions)

        An array of ProjectSourceVersion objects. If secondarySourceVersions is specified at the build level, then they take over these secondarySourceVersions (at the project level).

        Parameters:
        secondarySourceVersions - An array of ProjectSourceVersion objects. If secondarySourceVersions is specified at the build level, then they take over these secondarySourceVersions (at the project level).
      • withSecondarySourceVersions

        public UpdateProjectRequest withSecondarySourceVersions(ProjectSourceVersion... secondarySourceVersions)

        An array of ProjectSourceVersion objects. If secondarySourceVersions is specified at the build level, then they take over these secondarySourceVersions (at the project level).

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

        Parameters:
        secondarySourceVersions - An array of ProjectSourceVersion objects. If secondarySourceVersions is specified at the build level, then they take over these secondarySourceVersions (at the project level).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withSecondarySourceVersions

        public UpdateProjectRequest withSecondarySourceVersions(Collection<ProjectSourceVersion> secondarySourceVersions)

        An array of ProjectSourceVersion objects. If secondarySourceVersions is specified at the build level, then they take over these secondarySourceVersions (at the project level).

        Parameters:
        secondarySourceVersions - An array of ProjectSourceVersion objects. If secondarySourceVersions is specified at the build level, then they take over these secondarySourceVersions (at the project level).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setArtifacts

        public void setArtifacts(ProjectArtifacts artifacts)

        Information to be changed about the build output artifacts for the build project.

        Parameters:
        artifacts - Information to be changed about the build output artifacts for the build project.
      • getArtifacts

        public ProjectArtifacts getArtifacts()

        Information to be changed about the build output artifacts for the build project.

        Returns:
        Information to be changed about the build output artifacts for the build project.
      • withArtifacts

        public UpdateProjectRequest withArtifacts(ProjectArtifacts artifacts)

        Information to be changed about the build output artifacts for the build project.

        Parameters:
        artifacts - Information to be changed about the build output artifacts for the build project.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getSecondaryArtifacts

        public List<ProjectArtifacts> getSecondaryArtifacts()

        An array of ProjectArtifact objects.

        Returns:
        An array of ProjectArtifact objects.
      • setSecondaryArtifacts

        public void setSecondaryArtifacts(Collection<ProjectArtifacts> secondaryArtifacts)

        An array of ProjectArtifact objects.

        Parameters:
        secondaryArtifacts - An array of ProjectArtifact objects.
      • withSecondaryArtifacts

        public UpdateProjectRequest withSecondaryArtifacts(Collection<ProjectArtifacts> secondaryArtifacts)

        An array of ProjectArtifact objects.

        Parameters:
        secondaryArtifacts - An array of ProjectArtifact objects.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setCache

        public void setCache(ProjectCache cache)

        Stores recently used information so that it can be quickly accessed at a later time.

        Parameters:
        cache - Stores recently used information so that it can be quickly accessed at a later time.
      • getCache

        public ProjectCache getCache()

        Stores recently used information so that it can be quickly accessed at a later time.

        Returns:
        Stores recently used information so that it can be quickly accessed at a later time.
      • withCache

        public UpdateProjectRequest withCache(ProjectCache cache)

        Stores recently used information so that it can be quickly accessed at a later time.

        Parameters:
        cache - Stores recently used information so that it can be quickly accessed at a later time.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setEnvironment

        public void setEnvironment(ProjectEnvironment environment)

        Information to be changed about the build environment for the build project.

        Parameters:
        environment - Information to be changed about the build environment for the build project.
      • getEnvironment

        public ProjectEnvironment getEnvironment()

        Information to be changed about the build environment for the build project.

        Returns:
        Information to be changed about the build environment for the build project.
      • withEnvironment

        public UpdateProjectRequest withEnvironment(ProjectEnvironment environment)

        Information to be changed about the build environment for the build project.

        Parameters:
        environment - Information to be changed about the build environment for the build project.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setServiceRole

        public void setServiceRole(String serviceRole)

        The replacement ARN of the IAM role that enables CodeBuild to interact with dependent Amazon Web Services services on behalf of the Amazon Web Services account.

        Parameters:
        serviceRole - The replacement ARN of the IAM role that enables CodeBuild to interact with dependent Amazon Web Services services on behalf of the Amazon Web Services account.
      • getServiceRole

        public String getServiceRole()

        The replacement ARN of the IAM role that enables CodeBuild to interact with dependent Amazon Web Services services on behalf of the Amazon Web Services account.

        Returns:
        The replacement ARN of the IAM role that enables CodeBuild to interact with dependent Amazon Web Services services on behalf of the Amazon Web Services account.
      • withServiceRole

        public UpdateProjectRequest withServiceRole(String serviceRole)

        The replacement ARN of the IAM role that enables CodeBuild to interact with dependent Amazon Web Services services on behalf of the Amazon Web Services account.

        Parameters:
        serviceRole - The replacement ARN of the IAM role that enables CodeBuild to interact with dependent Amazon Web Services services on behalf of the Amazon Web Services account.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setTimeoutInMinutes

        public void setTimeoutInMinutes(Integer timeoutInMinutes)

        The replacement value in minutes, from 5 to 2160 (36 hours), for CodeBuild to wait before timing out any related build that did not get marked as completed.

        Parameters:
        timeoutInMinutes - The replacement value in minutes, from 5 to 2160 (36 hours), for CodeBuild to wait before timing out any related build that did not get marked as completed.
      • getTimeoutInMinutes

        public Integer getTimeoutInMinutes()

        The replacement value in minutes, from 5 to 2160 (36 hours), for CodeBuild to wait before timing out any related build that did not get marked as completed.

        Returns:
        The replacement value in minutes, from 5 to 2160 (36 hours), for CodeBuild to wait before timing out any related build that did not get marked as completed.
      • withTimeoutInMinutes

        public UpdateProjectRequest withTimeoutInMinutes(Integer timeoutInMinutes)

        The replacement value in minutes, from 5 to 2160 (36 hours), for CodeBuild to wait before timing out any related build that did not get marked as completed.

        Parameters:
        timeoutInMinutes - The replacement value in minutes, from 5 to 2160 (36 hours), for CodeBuild to wait before timing out any related build that did not get marked as completed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setQueuedTimeoutInMinutes

        public void setQueuedTimeoutInMinutes(Integer queuedTimeoutInMinutes)

        The number of minutes a build is allowed to be queued before it times out.

        Parameters:
        queuedTimeoutInMinutes - The number of minutes a build is allowed to be queued before it times out.
      • getQueuedTimeoutInMinutes

        public Integer getQueuedTimeoutInMinutes()

        The number of minutes a build is allowed to be queued before it times out.

        Returns:
        The number of minutes a build is allowed to be queued before it times out.
      • withQueuedTimeoutInMinutes

        public UpdateProjectRequest withQueuedTimeoutInMinutes(Integer queuedTimeoutInMinutes)

        The number of minutes a build is allowed to be queued before it times out.

        Parameters:
        queuedTimeoutInMinutes - The number of minutes a build is allowed to be queued before it times out.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setEncryptionKey

        public void setEncryptionKey(String encryptionKey)

        The Key Management Service customer master key (CMK) to be used for encrypting the build output artifacts.

        You can use a cross-account KMS key to encrypt the build output artifacts if your service role has permission to that key.

        You can specify either the Amazon Resource Name (ARN) of the CMK or, if available, the CMK's alias (using the format alias/<alias-name>).

        Parameters:
        encryptionKey - The Key Management Service customer master key (CMK) to be used for encrypting the build output artifacts.

        You can use a cross-account KMS key to encrypt the build output artifacts if your service role has permission to that key.

        You can specify either the Amazon Resource Name (ARN) of the CMK or, if available, the CMK's alias (using the format alias/<alias-name>).

      • getEncryptionKey

        public String getEncryptionKey()

        The Key Management Service customer master key (CMK) to be used for encrypting the build output artifacts.

        You can use a cross-account KMS key to encrypt the build output artifacts if your service role has permission to that key.

        You can specify either the Amazon Resource Name (ARN) of the CMK or, if available, the CMK's alias (using the format alias/<alias-name>).

        Returns:
        The Key Management Service customer master key (CMK) to be used for encrypting the build output artifacts.

        You can use a cross-account KMS key to encrypt the build output artifacts if your service role has permission to that key.

        You can specify either the Amazon Resource Name (ARN) of the CMK or, if available, the CMK's alias (using the format alias/<alias-name>).

      • withEncryptionKey

        public UpdateProjectRequest withEncryptionKey(String encryptionKey)

        The Key Management Service customer master key (CMK) to be used for encrypting the build output artifacts.

        You can use a cross-account KMS key to encrypt the build output artifacts if your service role has permission to that key.

        You can specify either the Amazon Resource Name (ARN) of the CMK or, if available, the CMK's alias (using the format alias/<alias-name>).

        Parameters:
        encryptionKey - The Key Management Service customer master key (CMK) to be used for encrypting the build output artifacts.

        You can use a cross-account KMS key to encrypt the build output artifacts if your service role has permission to that key.

        You can specify either the Amazon Resource Name (ARN) of the CMK or, if available, the CMK's alias (using the format alias/<alias-name>).

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

        public List<Tag> getTags()

        An updated list of tag key and value pairs associated with this build project.

        These tags are available for use by Amazon Web Services services that support CodeBuild build project tags.

        Returns:
        An updated list of tag key and value pairs associated with this build project.

        These tags are available for use by Amazon Web Services services that support CodeBuild build project tags.

      • setTags

        public void setTags(Collection<Tag> tags)

        An updated list of tag key and value pairs associated with this build project.

        These tags are available for use by Amazon Web Services services that support CodeBuild build project tags.

        Parameters:
        tags - An updated list of tag key and value pairs associated with this build project.

        These tags are available for use by Amazon Web Services services that support CodeBuild build project tags.

      • withTags

        public UpdateProjectRequest withTags(Tag... tags)

        An updated list of tag key and value pairs associated with this build project.

        These tags are available for use by Amazon Web Services services that support CodeBuild build project tags.

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

        Parameters:
        tags - An updated list of tag key and value pairs associated with this build project.

        These tags are available for use by Amazon Web Services services that support CodeBuild build project tags.

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

        public UpdateProjectRequest withTags(Collection<Tag> tags)

        An updated list of tag key and value pairs associated with this build project.

        These tags are available for use by Amazon Web Services services that support CodeBuild build project tags.

        Parameters:
        tags - An updated list of tag key and value pairs associated with this build project.

        These tags are available for use by Amazon Web Services services that support CodeBuild build project tags.

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

        public void setVpcConfig(VpcConfig vpcConfig)

        VpcConfig enables CodeBuild to access resources in an Amazon VPC.

        Parameters:
        vpcConfig - VpcConfig enables CodeBuild to access resources in an Amazon VPC.
      • getVpcConfig

        public VpcConfig getVpcConfig()

        VpcConfig enables CodeBuild to access resources in an Amazon VPC.

        Returns:
        VpcConfig enables CodeBuild to access resources in an Amazon VPC.
      • withVpcConfig

        public UpdateProjectRequest withVpcConfig(VpcConfig vpcConfig)

        VpcConfig enables CodeBuild to access resources in an Amazon VPC.

        Parameters:
        vpcConfig - VpcConfig enables CodeBuild to access resources in an Amazon VPC.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setBadgeEnabled

        public void setBadgeEnabled(Boolean badgeEnabled)

        Set this to true to generate a publicly accessible URL for your project's build badge.

        Parameters:
        badgeEnabled - Set this to true to generate a publicly accessible URL for your project's build badge.
      • getBadgeEnabled

        public Boolean getBadgeEnabled()

        Set this to true to generate a publicly accessible URL for your project's build badge.

        Returns:
        Set this to true to generate a publicly accessible URL for your project's build badge.
      • withBadgeEnabled

        public UpdateProjectRequest withBadgeEnabled(Boolean badgeEnabled)

        Set this to true to generate a publicly accessible URL for your project's build badge.

        Parameters:
        badgeEnabled - Set this to true to generate a publicly accessible URL for your project's build badge.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isBadgeEnabled

        public Boolean isBadgeEnabled()

        Set this to true to generate a publicly accessible URL for your project's build badge.

        Returns:
        Set this to true to generate a publicly accessible URL for your project's build badge.
      • setLogsConfig

        public void setLogsConfig(LogsConfig logsConfig)

        Information about logs for the build project. A project can create logs in CloudWatch Logs, logs in an S3 bucket, or both.

        Parameters:
        logsConfig - Information about logs for the build project. A project can create logs in CloudWatch Logs, logs in an S3 bucket, or both.
      • getLogsConfig

        public LogsConfig getLogsConfig()

        Information about logs for the build project. A project can create logs in CloudWatch Logs, logs in an S3 bucket, or both.

        Returns:
        Information about logs for the build project. A project can create logs in CloudWatch Logs, logs in an S3 bucket, or both.
      • withLogsConfig

        public UpdateProjectRequest withLogsConfig(LogsConfig logsConfig)

        Information about logs for the build project. A project can create logs in CloudWatch Logs, logs in an S3 bucket, or both.

        Parameters:
        logsConfig - Information about logs for the build project. A project can create logs in CloudWatch Logs, logs in an S3 bucket, or both.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getFileSystemLocations

        public List<ProjectFileSystemLocation> getFileSystemLocations()

        An array of ProjectFileSystemLocation objects for a CodeBuild build project. A ProjectFileSystemLocation object specifies the identifier, location, mountOptions, mountPoint, and type of a file system created using Amazon Elastic File System.

        Returns:
        An array of ProjectFileSystemLocation objects for a CodeBuild build project. A ProjectFileSystemLocation object specifies the identifier, location, mountOptions, mountPoint, and type of a file system created using Amazon Elastic File System.
      • setFileSystemLocations

        public void setFileSystemLocations(Collection<ProjectFileSystemLocation> fileSystemLocations)

        An array of ProjectFileSystemLocation objects for a CodeBuild build project. A ProjectFileSystemLocation object specifies the identifier, location, mountOptions, mountPoint, and type of a file system created using Amazon Elastic File System.

        Parameters:
        fileSystemLocations - An array of ProjectFileSystemLocation objects for a CodeBuild build project. A ProjectFileSystemLocation object specifies the identifier, location , mountOptions, mountPoint, and type of a file system created using Amazon Elastic File System.
      • withFileSystemLocations

        public UpdateProjectRequest withFileSystemLocations(ProjectFileSystemLocation... fileSystemLocations)

        An array of ProjectFileSystemLocation objects for a CodeBuild build project. A ProjectFileSystemLocation object specifies the identifier, location, mountOptions, mountPoint, and type of a file system created using Amazon Elastic File System.

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

        Parameters:
        fileSystemLocations - An array of ProjectFileSystemLocation objects for a CodeBuild build project. A ProjectFileSystemLocation object specifies the identifier, location , mountOptions, mountPoint, and type of a file system created using Amazon Elastic File System.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withFileSystemLocations

        public UpdateProjectRequest withFileSystemLocations(Collection<ProjectFileSystemLocation> fileSystemLocations)

        An array of ProjectFileSystemLocation objects for a CodeBuild build project. A ProjectFileSystemLocation object specifies the identifier, location, mountOptions, mountPoint, and type of a file system created using Amazon Elastic File System.

        Parameters:
        fileSystemLocations - An array of ProjectFileSystemLocation objects for a CodeBuild build project. A ProjectFileSystemLocation object specifies the identifier, location , mountOptions, mountPoint, and type of a file system created using Amazon Elastic File System.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setBuildBatchConfig

        public void setBuildBatchConfig(ProjectBuildBatchConfig buildBatchConfig)
        Parameters:
        buildBatchConfig -
      • withBuildBatchConfig

        public UpdateProjectRequest withBuildBatchConfig(ProjectBuildBatchConfig buildBatchConfig)
        Parameters:
        buildBatchConfig -
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setConcurrentBuildLimit

        public void setConcurrentBuildLimit(Integer concurrentBuildLimit)

        The maximum number of concurrent builds that are allowed for this project.

        New builds are only started if the current number of builds is less than or equal to this limit. If the current build count meets this limit, new builds are throttled and are not run.

        To remove this limit, set this value to -1.

        Parameters:
        concurrentBuildLimit - The maximum number of concurrent builds that are allowed for this project.

        New builds are only started if the current number of builds is less than or equal to this limit. If the current build count meets this limit, new builds are throttled and are not run.

        To remove this limit, set this value to -1.

      • getConcurrentBuildLimit

        public Integer getConcurrentBuildLimit()

        The maximum number of concurrent builds that are allowed for this project.

        New builds are only started if the current number of builds is less than or equal to this limit. If the current build count meets this limit, new builds are throttled and are not run.

        To remove this limit, set this value to -1.

        Returns:
        The maximum number of concurrent builds that are allowed for this project.

        New builds are only started if the current number of builds is less than or equal to this limit. If the current build count meets this limit, new builds are throttled and are not run.

        To remove this limit, set this value to -1.

      • withConcurrentBuildLimit

        public UpdateProjectRequest withConcurrentBuildLimit(Integer concurrentBuildLimit)

        The maximum number of concurrent builds that are allowed for this project.

        New builds are only started if the current number of builds is less than or equal to this limit. If the current build count meets this limit, new builds are throttled and are not run.

        To remove this limit, set this value to -1.

        Parameters:
        concurrentBuildLimit - The maximum number of concurrent builds that are allowed for this project.

        New builds are only started if the current number of builds is less than or equal to this limit. If the current build count meets this limit, new builds are throttled and are not run.

        To remove this limit, set this value to -1.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • 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 によって変換されたページ (->オリジナル) /