Class ProjectState.Builder

  • Enclosing class:
    ProjectState

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

      • Builder

        public Builder()
    • Method Detail

      • arn

        public ProjectState.Builder arn​(@Nullable
                                        com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - ARN of the CodeBuild project.
        Returns:
        builder
      • arn

        public ProjectState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - ARN of the CodeBuild project.
        Returns:
        builder
      • autoRetryLimit

        public ProjectState.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 ProjectState.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 ProjectState.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 ProjectState.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
      • badgeUrl

        public ProjectState.Builder badgeUrl​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> badgeUrl)
        Parameters:
        badgeUrl - URL of the build badge when `badgeEnabled` is enabled.
        Returns:
        builder
      • badgeUrl

        public ProjectState.Builder badgeUrl​(java.lang.String badgeUrl)
        Parameters:
        badgeUrl - URL of the build badge when `badgeEnabled` is enabled.
        Returns:
        builder
      • buildBatchConfig

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

        public ProjectState.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 ProjectState.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
      • concurrentBuildLimit

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

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

        public ProjectState.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 ProjectState.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 ProjectState.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 ProjectState.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 ProjectState.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
      • name

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

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

        public ProjectState.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 ProjectState.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
      • publicProjectAlias

        public ProjectState.Builder publicProjectAlias​(@Nullable
                                                       com.pulumi.core.Output<java.lang.String> publicProjectAlias)
        Parameters:
        publicProjectAlias - The project identifier used with the public build APIs.
        Returns:
        builder
      • publicProjectAlias

        public ProjectState.Builder publicProjectAlias​(java.lang.String publicProjectAlias)
        Parameters:
        publicProjectAlias - The project identifier used with the public build APIs.
        Returns:
        builder
      • queuedTimeout

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

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

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

        public ProjectState.Builder serviceRole​(@Nullable
                                                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 ProjectState.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 ProjectState.Builder source​(@Nullable
                                           com.pulumi.core.Output<ProjectSourceArgs> source)
        Parameters:
        source - Configuration block. Detailed below. The following arguments are optional:
        Returns:
        builder
      • source

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

        public ProjectState.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 ProjectState.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 ProjectState.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 ProjectState.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
      • tagsAll

        public ProjectState.Builder tagsAll​(@Nullable
                                            com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tagsAll)
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder
      • tagsAll

        public ProjectState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder