Class ProjectArgs.Builder

  • Enclosing class:
    ProjectArgs

    public static final class ProjectArgs.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • autoRetryLimit

        public ProjectArgs.Builder autoRetryLimit​(@Nullable
                                                  com.pulumi.core.Output<java.lang.Integer> autoRetryLimit)
        Parameters:
        autoRetryLimit - Specify a maximum number of additional automatic retries after a failed build. The default is 0.
        Returns:
        builder
      • autoRetryLimit

        public ProjectArgs.Builder autoRetryLimit​(java.lang.Integer autoRetryLimit)
        Parameters:
        autoRetryLimit - Specify a maximum number of additional automatic retries after a failed build. The default is 0.
        Returns:
        builder
      • badgeEnabled

        public ProjectArgs.Builder badgeEnabled​(@Nullable
                                                com.pulumi.core.Output<java.lang.Boolean> badgeEnabled)
        Parameters:
        badgeEnabled - Generates a publicly-accessible URL for the projects build badge. Available as `badgeUrl` attribute when enabled.
        Returns:
        builder
      • badgeEnabled

        public ProjectArgs.Builder badgeEnabled​(java.lang.Boolean badgeEnabled)
        Parameters:
        badgeEnabled - Generates a publicly-accessible URL for the projects build badge. Available as `badgeUrl` attribute when enabled.
        Returns:
        builder
      • buildBatchConfig

        public ProjectArgs.Builder buildBatchConfig​(@Nullable
                                                    com.pulumi.core.Output<ProjectBuildBatchConfigArgs> buildBatchConfig)
        Parameters:
        buildBatchConfig - Defines the batch build options for the project.
        Returns:
        builder
      • buildTimeout

        public ProjectArgs.Builder buildTimeout​(@Nullable
                                                com.pulumi.core.Output<java.lang.Integer> buildTimeout)
        Parameters:
        buildTimeout - Number of minutes, from 5 to 2160 (36 hours), for AWS CodeBuild to wait until timing out any related build that does not get marked as completed. The default is 60 minutes. The `buildTimeout` property is not available on the `Lambda` compute type.
        Returns:
        builder
      • buildTimeout

        public ProjectArgs.Builder buildTimeout​(java.lang.Integer buildTimeout)
        Parameters:
        buildTimeout - Number of minutes, from 5 to 2160 (36 hours), for AWS CodeBuild to wait until timing out any related build that does not get marked as completed. The default is 60 minutes. The `buildTimeout` property is not available on the `Lambda` compute type.
        Returns:
        builder
      • cache

        public ProjectArgs.Builder cache​(@Nullable
                                         com.pulumi.core.Output<ProjectCacheArgs> cache)
        Parameters:
        cache - Configuration block. Detailed below.
        Returns:
        builder
      • concurrentBuildLimit

        public ProjectArgs.Builder concurrentBuildLimit​(@Nullable
                                                        com.pulumi.core.Output<java.lang.Integer> concurrentBuildLimit)
        Parameters:
        concurrentBuildLimit - Specify a maximum number of concurrent builds for the project. The value specified must be greater than 0 and less than the account concurrent running builds limit.
        Returns:
        builder
      • concurrentBuildLimit

        public ProjectArgs.Builder concurrentBuildLimit​(java.lang.Integer concurrentBuildLimit)
        Parameters:
        concurrentBuildLimit - Specify a maximum number of concurrent builds for the project. The value specified must be greater than 0 and less than the account concurrent running builds limit.
        Returns:
        builder
      • description

        public ProjectArgs.Builder description​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - Short description of the project.
        Returns:
        builder
      • description

        public ProjectArgs.Builder description​(java.lang.String description)
        Parameters:
        description - Short description of the project.
        Returns:
        builder
      • encryptionKey

        public ProjectArgs.Builder encryptionKey​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> encryptionKey)
        Parameters:
        encryptionKey - KMS customer master key (CMK) to be used for encrypting the build project's build output artifacts.
        Returns:
        builder
      • encryptionKey

        public ProjectArgs.Builder encryptionKey​(java.lang.String encryptionKey)
        Parameters:
        encryptionKey - KMS customer master key (CMK) to be used for encrypting the build project's build output artifacts.
        Returns:
        builder
      • fileSystemLocations

        public ProjectArgs.Builder fileSystemLocations​(@Nullable
                                                       com.pulumi.core.Output<java.util.List<ProjectFileSystemLocationArgs>> fileSystemLocations)
        Parameters:
        fileSystemLocations - A set of file system locations to mount inside the build. File system locations are documented below.
        Returns:
        builder
      • fileSystemLocations

        public ProjectArgs.Builder fileSystemLocations​(java.util.List<ProjectFileSystemLocationArgs> fileSystemLocations)
        Parameters:
        fileSystemLocations - A set of file system locations to mount inside the build. File system locations are documented below.
        Returns:
        builder
      • fileSystemLocations

        public ProjectArgs.Builder fileSystemLocations​(ProjectFileSystemLocationArgs... fileSystemLocations)
        Parameters:
        fileSystemLocations - A set of file system locations to mount inside the build. File system locations are documented below.
        Returns:
        builder
      • logsConfig

        public ProjectArgs.Builder logsConfig​(@Nullable
                                              com.pulumi.core.Output<ProjectLogsConfigArgs> logsConfig)
        Parameters:
        logsConfig - Configuration block. Detailed below.
        Returns:
        builder
      • name

        public ProjectArgs.Builder name​(@Nullable
                                        com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - Project's name.
        Returns:
        builder
      • name

        public ProjectArgs.Builder name​(java.lang.String name)
        Parameters:
        name - Project's name.
        Returns:
        builder
      • projectVisibility

        public ProjectArgs.Builder projectVisibility​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> projectVisibility)
        Parameters:
        projectVisibility - Specifies the visibility of the project's builds. Possible values are: `PUBLIC_READ` and `PRIVATE`. Default value is `PRIVATE`.
        Returns:
        builder
      • projectVisibility

        public ProjectArgs.Builder projectVisibility​(java.lang.String projectVisibility)
        Parameters:
        projectVisibility - Specifies the visibility of the project's builds. Possible values are: `PUBLIC_READ` and `PRIVATE`. Default value is `PRIVATE`.
        Returns:
        builder
      • queuedTimeout

        public ProjectArgs.Builder queuedTimeout​(@Nullable
                                                 com.pulumi.core.Output<java.lang.Integer> queuedTimeout)
        Parameters:
        queuedTimeout - Number of minutes, from 5 to 480 (8 hours), a build is allowed to be queued before it times out. The default is 8 hours. The `queuedTimeout` property is not available on the `Lambda` compute type.
        Returns:
        builder
      • queuedTimeout

        public ProjectArgs.Builder queuedTimeout​(java.lang.Integer queuedTimeout)
        Parameters:
        queuedTimeout - Number of minutes, from 5 to 480 (8 hours), a build is allowed to be queued before it times out. The default is 8 hours. The `queuedTimeout` property is not available on the `Lambda` compute type.
        Returns:
        builder
      • region

        public ProjectArgs.Builder region​(@Nullable
                                          com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • region

        public ProjectArgs.Builder region​(java.lang.String region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • resourceAccessRole

        public ProjectArgs.Builder resourceAccessRole​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> resourceAccessRole)
        Parameters:
        resourceAccessRole - The ARN of the IAM role that enables CodeBuild to access the CloudWatch Logs and Amazon S3 artifacts for the project's builds in order to display them publicly. Only applicable if `projectVisibility` is `PUBLIC_READ`.
        Returns:
        builder
      • resourceAccessRole

        public ProjectArgs.Builder resourceAccessRole​(java.lang.String resourceAccessRole)
        Parameters:
        resourceAccessRole - The ARN of the IAM role that enables CodeBuild to access the CloudWatch Logs and Amazon S3 artifacts for the project's builds in order to display them publicly. Only applicable if `projectVisibility` is `PUBLIC_READ`.
        Returns:
        builder
      • secondaryArtifacts

        public ProjectArgs.Builder secondaryArtifacts​(@Nullable
                                                      com.pulumi.core.Output<java.util.List<ProjectSecondaryArtifactArgs>> secondaryArtifacts)
        Parameters:
        secondaryArtifacts - Configuration block. Detailed below.
        Returns:
        builder
      • secondarySourceVersions

        public ProjectArgs.Builder secondarySourceVersions​(@Nullable
                                                           com.pulumi.core.Output<java.util.List<ProjectSecondarySourceVersionArgs>> secondarySourceVersions)
        Parameters:
        secondarySourceVersions - Configuration block. Detailed below.
        Returns:
        builder
      • secondarySources

        public ProjectArgs.Builder secondarySources​(@Nullable
                                                    com.pulumi.core.Output<java.util.List<ProjectSecondarySourceArgs>> secondarySources)
        Parameters:
        secondarySources - Configuration block. Detailed below.
        Returns:
        builder
      • serviceRole

        public ProjectArgs.Builder serviceRole​(com.pulumi.core.Output<java.lang.String> serviceRole)
        Parameters:
        serviceRole - ARN of the AWS Identity and Access Management (IAM) role that enables AWS CodeBuild to interact with dependent AWS services on behalf of the AWS account.
        Returns:
        builder
      • serviceRole

        public ProjectArgs.Builder serviceRole​(java.lang.String serviceRole)
        Parameters:
        serviceRole - ARN of the AWS Identity and Access Management (IAM) role that enables AWS CodeBuild to interact with dependent AWS services on behalf of the AWS account.
        Returns:
        builder
      • source

        public ProjectArgs.Builder source​(com.pulumi.core.Output<ProjectSourceArgs> source)
        Parameters:
        source - Configuration block. Detailed below. The following arguments are optional:
        Returns:
        builder
      • source

        public ProjectArgs.Builder source​(ProjectSourceArgs source)
        Parameters:
        source - Configuration block. Detailed below. The following arguments are optional:
        Returns:
        builder
      • sourceVersion

        public ProjectArgs.Builder sourceVersion​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> sourceVersion)
        Parameters:
        sourceVersion - Version of the build input to be built for this project. If not specified, the latest version is used.
        Returns:
        builder
      • sourceVersion

        public ProjectArgs.Builder sourceVersion​(java.lang.String sourceVersion)
        Parameters:
        sourceVersion - Version of the build input to be built for this project. If not specified, the latest version is used.
        Returns:
        builder
      • tags

        public ProjectArgs.Builder tags​(@Nullable
                                        com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public ProjectArgs.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • vpcConfig

        public ProjectArgs.Builder vpcConfig​(@Nullable
                                             com.pulumi.core.Output<ProjectVpcConfigArgs> vpcConfig)
        Parameters:
        vpcConfig - Configuration block. Detailed below.
        Returns:
        builder