Class GetRepositoryPolicyRequest

    • Constructor Detail

      • GetRepositoryPolicyRequest

        public GetRepositoryPolicyRequest()
    • Method Detail

      • setRegistryId

        public void setRegistryId​(String registryId)

        The AWS account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed.

        Parameters:
        registryId - The AWS account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed.
      • getRegistryId

        public String getRegistryId()

        The AWS account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed.

        Returns:
        The AWS account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed.
      • withRegistryId

        public GetRepositoryPolicyRequest withRegistryId​(String registryId)

        The AWS account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed.

        Parameters:
        registryId - The AWS account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setRepositoryName

        public void setRepositoryName​(String repositoryName)

        The name of the repository whose policy you want to retrieve.

        Parameters:
        repositoryName - The name of the repository whose policy you want to retrieve.
      • getRepositoryName

        public String getRepositoryName()

        The name of the repository whose policy you want to retrieve.

        Returns:
        The name of the repository whose policy you want to retrieve.
      • withRepositoryName

        public GetRepositoryPolicyRequest withRepositoryName​(String repositoryName)

        The name of the repository whose policy you want to retrieve.

        Parameters:
        repositoryName - The name of the repository whose policy you want to retrieve.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object