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 - The ARN of the repository
        Returns:
        builder
      • arn

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

        public RepositoryState.Builder cloneUrlHttp​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> cloneUrlHttp)
        Parameters:
        cloneUrlHttp - The URL to use for cloning the repository over HTTPS.
        Returns:
        builder
      • cloneUrlHttp

        public RepositoryState.Builder cloneUrlHttp​(java.lang.String cloneUrlHttp)
        Parameters:
        cloneUrlHttp - The URL to use for cloning the repository over HTTPS.
        Returns:
        builder
      • cloneUrlSsh

        public RepositoryState.Builder cloneUrlSsh​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> cloneUrlSsh)
        Parameters:
        cloneUrlSsh - The URL to use for cloning the repository over SSH.
        Returns:
        builder
      • cloneUrlSsh

        public RepositoryState.Builder cloneUrlSsh​(java.lang.String cloneUrlSsh)
        Parameters:
        cloneUrlSsh - The URL to use for cloning the repository over SSH.
        Returns:
        builder
      • defaultBranch

        public RepositoryState.Builder defaultBranch​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> defaultBranch)
        Parameters:
        defaultBranch - The default branch of the repository. The branch specified here needs to exist.
        Returns:
        builder
      • defaultBranch

        public RepositoryState.Builder defaultBranch​(java.lang.String defaultBranch)
        Parameters:
        defaultBranch - The default branch of the repository. The branch specified here needs to exist.
        Returns:
        builder
      • description

        public RepositoryState.Builder description​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - The description of the repository. This needs to be less than 1000 characters
        Returns:
        builder
      • description

        public RepositoryState.Builder description​(java.lang.String description)
        Parameters:
        description - The description of the repository. This needs to be less than 1000 characters
        Returns:
        builder
      • kmsKeyId

        public RepositoryState.Builder kmsKeyId​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> kmsKeyId)
        Parameters:
        kmsKeyId - The ARN of the encryption key. If no key is specified, the default `aws/codecommit` Amazon Web Services managed key is used.
        Returns:
        builder
      • kmsKeyId

        public RepositoryState.Builder kmsKeyId​(java.lang.String kmsKeyId)
        Parameters:
        kmsKeyId - The ARN of the encryption key. If no key is specified, the default `aws/codecommit` Amazon Web Services managed key is used.
        Returns:
        builder
      • region

        public RepositoryState.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 RepositoryState.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
      • repositoryId

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

        public RepositoryState.Builder repositoryId​(java.lang.String repositoryId)
        Parameters:
        repositoryId - The ID of the repository
        Returns:
        builder
      • repositoryName

        public RepositoryState.Builder repositoryName​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> repositoryName)
        Parameters:
        repositoryName - The name for the repository. This needs to be less than 100 characters.
        Returns:
        builder
      • repositoryName

        public RepositoryState.Builder repositoryName​(java.lang.String repositoryName)
        Parameters:
        repositoryName - The name for the repository. This needs to be less than 100 characters.
        Returns:
        builder
      • tags

        public RepositoryState.Builder tags​(@Nullable
                                            com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - Key-value map of resource tags. .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 RepositoryState.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Key-value map of resource tags. .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 RepositoryState.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 RepositoryState.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