Class GetRepositoryPolicyResult

java.lang.Object
com.amazonaws.services.ecr.model.GetRepositoryPolicyResult
All Implemented Interfaces:
Serializable, Cloneable

public class GetRepositoryPolicyResult extends Object implements Serializable, Cloneable
See Also:
  • Constructor Details

    • GetRepositoryPolicyResult

      public GetRepositoryPolicyResult()
  • Method Details

    • setRegistryId

      public void setRegistryId(String registryId)

      The registry ID associated with the request.

      Parameters:
      registryId - The registry ID associated with the request.
    • getRegistryId

      public String getRegistryId()

      The registry ID associated with the request.

      Returns:
      The registry ID associated with the request.
    • withRegistryId

      public GetRepositoryPolicyResult withRegistryId(String registryId)

      The registry ID associated with the request.

      Parameters:
      registryId - The registry ID associated with the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setRepositoryName

      public void setRepositoryName(String repositoryName)

      The repository name associated with the request.

      Parameters:
      repositoryName - The repository name associated with the request.
    • getRepositoryName

      public String getRepositoryName()

      The repository name associated with the request.

      Returns:
      The repository name associated with the request.
    • withRepositoryName

      public GetRepositoryPolicyResult withRepositoryName(String repositoryName)

      The repository name associated with the request.

      Parameters:
      repositoryName - The repository name associated with the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setPolicyText

      public void setPolicyText(String policyText)

      The JSON repository policy text associated with the repository.

      Parameters:
      policyText - The JSON repository policy text associated with the repository.
    • getPolicyText

      public String getPolicyText()

      The JSON repository policy text associated with the repository.

      Returns:
      The JSON repository policy text associated with the repository.
    • withPolicyText

      public GetRepositoryPolicyResult withPolicyText(String policyText)

      The JSON repository policy text associated with the repository.

      Parameters:
      policyText - The JSON repository policy text associated with the repository.
      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:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public GetRepositoryPolicyResult clone()
      Overrides:
      clone in class Object