Class RepositoryPolicyState.Builder

  • Enclosing class:
    RepositoryPolicyState

    public static final class RepositoryPolicyState.Builder
    extends java.lang.Object
    • Method Detail

      • policy

        public RepositoryPolicyState.Builder policy​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> policy)
        Parameters:
        policy - The policy document. This is a JSON formatted string.
        Returns:
        builder
      • policy

        public RepositoryPolicyState.Builder policy​(java.lang.String policy)
        Parameters:
        policy - The policy document. This is a JSON formatted string.
        Returns:
        builder
      • registryId

        public RepositoryPolicyState.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 RepositoryPolicyState.Builder registryId​(java.lang.String registryId)
        Parameters:
        registryId - The registry ID where the repository was created.
        Returns:
        builder
      • repositoryName

        public RepositoryPolicyState.Builder repositoryName​(@Nullable
                                                            com.pulumi.core.Output<java.lang.String> repositoryName)
        Parameters:
        repositoryName - Name of the repository to apply the policy.
        Returns:
        builder
      • repositoryName

        public RepositoryPolicyState.Builder repositoryName​(java.lang.String repositoryName)
        Parameters:
        repositoryName - Name of the repository to apply the policy.
        Returns:
        builder