Class RepositoryState.Builder

  • Enclosing class:
    RepositoryState

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

      • Builder

        public Builder()
    • Method Detail

      • arn

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

        public RepositoryState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - Full ARN of the repository.
        Returns:
        builder
      • encryptionConfigurations

        public RepositoryState.Builder encryptionConfigurations​(@Nullable
                                                                com.pulumi.core.Output<java.util.List<RepositoryEncryptionConfigurationArgs>> encryptionConfigurations)
        Parameters:
        encryptionConfigurations - Encryption configuration for the repository. See below for schema.
        Returns:
        builder
      • forceDelete

        public RepositoryState.Builder forceDelete​(@Nullable
                                                   com.pulumi.core.Output<java.lang.Boolean> forceDelete)
        Parameters:
        forceDelete - If `true`, will delete the repository even if it contains images. Defaults to `false`.
        Returns:
        builder
      • forceDelete

        public RepositoryState.Builder forceDelete​(java.lang.Boolean forceDelete)
        Parameters:
        forceDelete - If `true`, will delete the repository even if it contains images. Defaults to `false`.
        Returns:
        builder
      • imageScanningConfiguration

        public RepositoryState.Builder imageScanningConfiguration​(@Nullable
                                                                  com.pulumi.core.Output<RepositoryImageScanningConfigurationArgs> imageScanningConfiguration)
        Parameters:
        imageScanningConfiguration - Configuration block that defines image scanning configuration for the repository. By default, image scanning must be manually triggered. See the [ECR User Guide](https://docs.aws.amazon.com/AmazonECR/latest/userguide/image-scanning.html) for more information about image scanning.
        Returns:
        builder
      • imageScanningConfiguration

        public RepositoryState.Builder imageScanningConfiguration​(RepositoryImageScanningConfigurationArgs imageScanningConfiguration)
        Parameters:
        imageScanningConfiguration - Configuration block that defines image scanning configuration for the repository. By default, image scanning must be manually triggered. See the [ECR User Guide](https://docs.aws.amazon.com/AmazonECR/latest/userguide/image-scanning.html) for more information about image scanning.
        Returns:
        builder
      • imageTagMutability

        public RepositoryState.Builder imageTagMutability​(@Nullable
                                                          com.pulumi.core.Output<java.lang.String> imageTagMutability)
        Parameters:
        imageTagMutability - The tag mutability setting for the repository. Must be one of: `MUTABLE` or `IMMUTABLE`. Defaults to `MUTABLE`.
        Returns:
        builder
      • imageTagMutability

        public RepositoryState.Builder imageTagMutability​(java.lang.String imageTagMutability)
        Parameters:
        imageTagMutability - The tag mutability setting for the repository. Must be one of: `MUTABLE` or `IMMUTABLE`. Defaults to `MUTABLE`.
        Returns:
        builder
      • name

        public RepositoryState.Builder name​(@Nullable
                                            com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - Name of the repository.
        Returns:
        builder
      • name

        public RepositoryState.Builder name​(java.lang.String name)
        Parameters:
        name - Name of the repository.
        Returns:
        builder
      • registryId

        public RepositoryState.Builder registryId​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> registryId)
        Parameters:
        registryId - The registry ID where the repository was created.
        Returns:
        builder
      • registryId

        public RepositoryState.Builder registryId​(java.lang.String registryId)
        Parameters:
        registryId - The registry ID where the repository was created.
        Returns:
        builder
      • repositoryUrl

        public RepositoryState.Builder repositoryUrl​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> repositoryUrl)
        Parameters:
        repositoryUrl - The URL of the repository (in the form `aws_account_id.dkr.ecr.region.amazonaws.com/repositoryName`).
        Returns:
        builder
      • repositoryUrl

        public RepositoryState.Builder repositoryUrl​(java.lang.String repositoryUrl)
        Parameters:
        repositoryUrl - The URL of the repository (in the form `aws_account_id.dkr.ecr.region.amazonaws.com/repositoryName`).
        Returns:
        builder
      • tags

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

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

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

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