Class RepositoryArgs.Builder

  • Enclosing class:
    RepositoryArgs

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

      • Builder

        public Builder()
    • Method Detail

      • defaultBranch

        public RepositoryArgs.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 RepositoryArgs.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 RepositoryArgs.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 RepositoryArgs.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 RepositoryArgs.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 RepositoryArgs.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
      • repositoryName

        public RepositoryArgs.Builder repositoryName​(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 RepositoryArgs.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 RepositoryArgs.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 `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public RepositoryArgs.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 `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder